🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

fake-schema-cli

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fake-schema-cli - npm Package Compare versions

Comparing version
0.0.4
to
0.1.0
+4
fixtures/StringLength.yaml
samples:
type: string
minLength: 100
maxLength: 10
+7
-0

@@ -64,2 +64,9 @@ /* eslint-env mocha */

});
it('should generate overriding max items', () => {
const generate = generator.configure({ maxItems: 1 }, 'en', filename => generator.readFile(filename));
return expect(generate(path.resolve(__dirname, '../fixtures/N-timesRepeated.json'), undefined, undefined))
.to.eventually.have.length(1);
});
});
+2
-0

@@ -7,2 +7,3 @@ #!/usr/bin/env node

cli
.version('0.0.4')
.usage('json-schema.yaml -y -l es_MX -r user')

@@ -26,2 +27,3 @@ .option('-r, --rootSchema <value>', 'Set root schema from definitions')

settings.maxLength = cli.maxLength;
settings.minLength = cli.maxLength;
}

@@ -28,0 +30,0 @@ if (cli.optionalsProbability) {

+13
-12
{
"name": "fake-schema-cli",
"version": "0.0.4",
"version": "0.1.0",
"description": "JSON-Schema-Faker CLI",

@@ -28,19 +28,20 @@ "main": "index.js",

"dependencies": {
"commander": "^2.17.1",
"commander": "^4.1.0",
"faker": "^4.1.0",
"get-stdin": "^6.0.0",
"json-schema-faker": "^0.5.0-rc16",
"get-stdin": "^7.0.0",
"json-schema-faker": "^0.5.0-rc23",
"yamljs": "^0.3.0"
},
"devDependencies": {
"chai": "^4.1.2",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"eslint": "^5.4.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-react": "^7.11.1",
"mocha": "^5.2.0",
"nyc": "^13.0.1"
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-plugin-import": "^2.20.0",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.18.0",
"eslint-plugin-react-hooks": "^1.7.0",
"mocha": "^7.0.0",
"nyc": "^15.0.0"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display