Comparing version 1.4.0 to 1.4.1
1.4.1 / 2021-04-27 | ||
================== | ||
* Fix XSS via prototype pollution (#48) | ||
* Setup CI (#49) | ||
* add MIT license file | ||
1.4.0 / 2015-07-15 | ||
@@ -3,0 +10,0 @@ ================== |
@@ -92,3 +92,3 @@ | ||
// wrap map | ||
var wrap = map[tag] || map._default; | ||
var wrap = Object.prototype.hasOwnProperty.call(map, tag) ? map[tag] : map._default; | ||
var depth = wrap[0]; | ||
@@ -95,0 +95,0 @@ var prefix = wrap[1]; |
{ | ||
"name": "domify", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "turn HTML into DOM elements", | ||
@@ -14,2 +14,5 @@ "keywords": [ | ||
"dependencies": {}, | ||
"scripts": { | ||
"test": "mocha -r jsdom-global/register" | ||
}, | ||
"component": { | ||
@@ -28,3 +31,8 @@ "scripts": { | ||
"index.js" | ||
] | ||
], | ||
"devDependencies": { | ||
"jsdom": "^16.5.3", | ||
"jsdom-global": "^3.0.2", | ||
"mocha": "^8.3.2" | ||
} | ||
} |
@@ -29,5 +29,3 @@ # domify | ||
``` | ||
$ npm i -g component-test | ||
$ make | ||
$ component-test browser | ||
$ npm test | ||
``` | ||
@@ -34,0 +32,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
5974
0
3
35