json-schema-faker
Advanced tools
Comparing version 0.5.1 to 0.5.2
{ | ||
"name": "json-schema-faker", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"description": "JSON-Schema + fake data generators", | ||
@@ -19,7 +19,7 @@ "homepage": "http://json-schema-faker.js.org", | ||
"require": "./dist/main.cjs", | ||
"browser": "./dist/main.iife.js" | ||
"browser": "./dist/bundle.js" | ||
}, | ||
"./esm": { | ||
"./src": { | ||
"types": "./index.d.ts", | ||
"import": "./index.js" | ||
"import": "./index.mjs" | ||
} | ||
@@ -47,8 +47,9 @@ }, | ||
"watch": "npm run mortero -- --platform browser -dw", | ||
"build": "NODE_ENV=production npm run mortero -- -S --no-minify", | ||
"build": "NODE_ENV=production npm run mortero -- -fS --no-minify", | ||
"pretest": "npm run lint && npm run build -- -ymain", | ||
"copy:bundle": "concat -o dist/bundle.js dist/main.iife.js", | ||
"copy:vendor": "concat -o dist/vendor.js node_modules/json-schema-ref-parser/dist/ref-parser.min.js node_modules/jsonpath-plus/dist/index-browser-umd.min.cjs", | ||
"copy:bundle": "concat -o dist/bundle.js dist/vendor.js dist/main.iife.js", | ||
"copy:wargs": "concat -o dist/wargs.cjs node_modules/wargs/dist/wargs.cjs", | ||
"entry:cjs": "node patch.js", | ||
"postbuild": "npm run copy:bundle && npm run entry:cjs", | ||
"postbuild": "npm run copy:vendor && npm run entry:cjs && npm run copy:bundle", | ||
"prebuild": "mkdir -p dist && npm run copy:wargs", | ||
@@ -68,2 +69,6 @@ "codecov": "codecov -e TRAVIS_NODE_VERSION" | ||
], | ||
"external": [ | ||
"json-schema-ref-parser", | ||
"jsonpath-plus" | ||
], | ||
"options": { | ||
@@ -95,7 +100,11 @@ "less": { | ||
"files": [ | ||
"dist/*.*js", | ||
"dist/*.*", | ||
"index.mjs", | ||
"index.d.ts" | ||
], | ||
"dependencies": { | ||
"json-schema-ref-parser": "^6.1.0", | ||
"jsonpath-plus": "^7.2.0" | ||
}, | ||
"devDependencies": { | ||
"@apidevtools/json-schema-ref-parser": "^10.1.0", | ||
"@faker-js/faker": "^7.6.0", | ||
@@ -121,3 +130,2 @@ "@types/json-schema": "^7.0.9", | ||
"is-my-json-valid": "^2.19.0", | ||
"jsonpath-plus": "^7.2.0", | ||
"less": "^4.1.1", | ||
@@ -124,0 +132,0 @@ "less-plugin-autoprefix": "^2.0.0", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
43
15
1366624
2
26126
2
17
10
+ Addedjsonpath-plus@^7.2.0
+ Addedargparse@1.0.10(transitive)
+ Addedcall-me-maybe@1.0.2(transitive)
+ Addedesprima@4.0.1(transitive)
+ Addedformat-util@1.0.5(transitive)
+ Addedjs-yaml@3.14.1(transitive)
+ Addedjson-schema-ref-parser@6.1.0(transitive)
+ Addedjsonpath-plus@7.2.0(transitive)
+ Addedono@4.0.11(transitive)
+ Addedsprintf-js@1.0.3(transitive)