{"size": 479, "ext": "js", "max_stars_repo_path": "Projekt/src/ProgramistaNorthwind/wwwroot/jspm_packages/npm/aurelia-templating-resources@1.0.0/html-sanitizer.js", "max_stars_repo_name": "krzysztofkolek/au-northwind", "max_stars_repo_stars_event_min_datetime": "2016-06-25T19:29:47.000Z", "max_stars_repo_stars_event_max_datetime": "2017-07-27T14:43:56.000Z", "max_issues_repo_path": "Projekt/src/ProgramistaNorthwind/wwwroot/jspm_packages/npm/aurelia-templating-resources@1.0.0/html-sanitizer.js", "max_issues_repo_name": "krzysztofkolek/au-northwind", "max_issues_repo_issues_event_min_datetime": "2021-02-02T16:31:26.000Z", "max_issues_repo_issues_event_max_datetime": "2021-02-02T16:31:26.000Z", "max_forks_repo_path": "Projekt/src/ProgramistaNorthwind/wwwroot/jspm_packages/npm/aurelia-templating-resources@1.0.0/html-sanitizer.js", "max_forks_repo_name": "krzysztofkolek/au-northwind", "max_forks_repo_forks_event_min_datetime": "2018-12-08T16:57:13.000Z", "max_forks_repo_forks_event_max_datetime": "2018-12-08T16:57:13.000Z"}
{"max_stars_count": 2, "max_issues_count": 1, "max_forks_count": 1, "avg_line_length": 19.9583333333, "max_line_length": 75, "alphanum_fraction": 0.5929018789}
/* */ 
define(['exports'], function (exports) {
  'use strict';

  Object.defineProperty(exports, "__esModule", {
    value: true
  });

  

  var SCRIPT_REGEX = /<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi;

  var HTMLSanitizer = exports.HTMLSanitizer = function () {
    function HTMLSanitizer() {
      
    }

    HTMLSanitizer.prototype.sanitize = function sanitize(input) {
      return input.replace(SCRIPT_REGEX, '');
    };

    return HTMLSanitizer;
  }();
});