Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

json-schema-faker

Package Overview
Dependencies
Maintainers
2
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-schema-faker - npm Package Compare versions

Comparing version 0.5.0-rcv.46 to 0.5.0

2

index.d.ts

@@ -31,2 +31,4 @@ import type { JsonValue, JsonObject } from 'type-fest';

random?: () => number | number;
minDateTime?: Date | string | number;
maxDateTime?: Date | string | number;
renderTitle?: boolean;

@@ -33,0 +35,0 @@ renderDescription?: boolean;

39

package.json
{
"name": "json-schema-faker",
"version": "0.5.0-rcv.46",
"version": "0.5.0",
"description": "JSON-Schema + fake data generators",

@@ -13,8 +13,13 @@ "homepage": "http://json-schema-faker.js.org",

"module": "dist/main.mjs",
"browser": "dist/main.iife.js",
"unpkg": "dist/bundle.cjs",
"unpkg": "dist/bundle.js",
"exports": {
".": {
"types": "./index.d.ts",
"import": "./dist/main.mjs",
"require": "./dist/main.cjs"
"require": "./dist/main.cjs",
"browser": "./dist/main.iife.js"
},
"./esm": {
"types": "./index.d.ts",
"import": "./index.js"
}

@@ -26,6 +31,7 @@ },

"test:ci": "npm run coverage:unit && npm run report -- -r lcov",
"test:all": "npm run coverage:all && npm run report -- -r html",
"test:all": "npm run test:unit && npm run test:schema",
"test:run": "_mocha --exit --colors --recursive --parallel --loader=testdouble --watch-files 'tests/**' --watch-files 'src/**' --watch-extensions js,json -bR spec",
"test:unit": "npm run test:run tests/unit --",
"test:schema": "npm run test:run tests/schema --",
"test:coverage": "npm run coverage:all && npm run report -- -r html",
"test:integration": "npm run test:run tests/integration --",

@@ -44,9 +50,7 @@ "coverage": "c8 --reporter=lcov -x '**/tests/**' -x '**/*.spec.mjs'",

"pretest": "npm run lint && npm run build -- -ymain",
"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.js",
"copy:bundle": "concat -o dist/bundle.js dist/vendor.js dist/main.iife.js",
"copy:bundle": "concat -o dist/bundle.js dist/main.iife.js",
"copy:wargs": "concat -o dist/wargs.cjs node_modules/wargs/dist/wargs.cjs",
"entry:cjs": "echo 'module.exports = require(\"./main.cjs\").default;' > dist/index.cjs",
"_prepublishOnly": "npm run build -- -f",
"entry:cjs": "node patch.js",
"postbuild": "npm run copy:bundle && npm run entry:cjs",
"prebuild": "mkdir -p dist && npm run copy:vendor && npm run copy:wargs",
"prebuild": "mkdir -p dist && npm run copy:wargs",
"codecov": "codecov -e TRAVIS_NODE_VERSION"

@@ -61,9 +65,6 @@ },

"bundle": [
"**/main*.js",
"**/main.*.js",
"**/shared.js",
"**/app.js"
],
"external": [
"json-schema-ref-parser",
"jsonpath-plus"
],
"options": {

@@ -99,3 +100,4 @@ "less": {

"devDependencies": {
"@faker-js/faker": "^5.5.3",
"@apidevtools/json-schema-ref-parser": "^10.1.0",
"@faker-js/faker": "^7.6.0",
"@types/json-schema": "^7.0.9",

@@ -120,2 +122,3 @@ "ajv": "^6.12.6",

"is-my-json-valid": "^2.19.0",
"jsonpath-plus": "^7.2.0",
"less": "^4.1.1",

@@ -144,7 +147,3 @@ "less-plugin-autoprefix": "^2.0.0",

"z-schema": "^5.0.4"
},
"dependencies": {
"json-schema-ref-parser": "^6.1.0",
"jsonpath-plus": "^5.1.0"
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc