chance-generators
Advanced tools
Comparing version 3.5.1 to 3.5.2
@@ -0,1 +1,5 @@ | ||
### v3.5.2 (2019-09-27) | ||
- [#32](https://github.com/sunesimonsen/chance-generators/pull/32) unwrap: Let non-plain objects through ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) | ||
### v3.5.1 (2018-12-02) | ||
@@ -2,0 +6,0 @@ |
@@ -14,3 +14,3 @@ "use strict"; | ||
return shape.generate(chance, context); | ||
} else if ((typeof shape === "undefined" ? "undefined" : _typeof(shape)) === "object") { | ||
} else if ((typeof shape === "undefined" ? "undefined" : _typeof(shape)) === "object" && shape.constructor === Object) { | ||
return Object.keys(shape).reduce(function (result, key) { | ||
@@ -17,0 +17,0 @@ result[key] = unwrap(shape[key], chance, context); |
@@ -6,3 +6,3 @@ { | ||
"license": "MIT", | ||
"version": "3.5.1", | ||
"version": "3.5.2", | ||
"main": "lib/index.js", | ||
@@ -29,24 +29,24 @@ "files": [ | ||
"devDependencies": { | ||
"babel-cli": "6.26.0", | ||
"babel-core": "6.26.0", | ||
"babel-eslint": "8.2.1", | ||
"babel-preset-es2015": "6.24.1", | ||
"babel-preset-stage-2": "6.24.1", | ||
"es6-set": "0.1.5", | ||
"eslint": "3.19.0", | ||
"eslint-config-pretty-standard": "0.2.2", | ||
"imocha": "0.3.0", | ||
"istanbul": "0.4.2", | ||
"javascript-state-machine": "2.3.5", | ||
"lint-staged": "4.0.3", | ||
"mocha": "3.5.3", | ||
"offline-github-changelog": "1.2.0", | ||
"pre-commit": "1.2.2", | ||
"prettier": "1.10.1", | ||
"prettier-package-json": "1.4.0", | ||
"serve": "9.4.2", | ||
"unexpected": "10.37.1", | ||
"unexpected-documentation-site-generator": "4.6.1", | ||
"unexpected-generator": "0.1.1", | ||
"unexpected-markdown": "1.7.4" | ||
"babel-cli": "^6.26.0", | ||
"babel-core": "^6.26.0", | ||
"babel-eslint": "^8.2.1", | ||
"babel-preset-es2015": "^6.24.1", | ||
"babel-preset-stage-2": "^6.24.1", | ||
"es6-set": "^0.1.5", | ||
"eslint": "^3.19.0", | ||
"eslint-config-pretty-standard": "^0.2.2", | ||
"imocha": "^0.3.0", | ||
"istanbul": "^0.4.2", | ||
"javascript-state-machine": "^2.3.5", | ||
"lint-staged": "^4.0.3", | ||
"mocha": "^3.5.3", | ||
"offline-github-changelog": "^1.2.0", | ||
"pre-commit": "^1.2.2", | ||
"prettier": "~1.15.3", | ||
"prettier-package-json": "^1.4.0", | ||
"serve": "^9.4.2", | ||
"unexpected": "^10.37.1", | ||
"unexpected-documentation-site-generator": "^4.6.1", | ||
"unexpected-generator": "^0.1.1", | ||
"unexpected-markdown": "^1.7.4" | ||
}, | ||
@@ -53,0 +53,0 @@ "keywords": [ |
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
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
191075
64
3712
1