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

schematized

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

schematized - npm Package Compare versions

Comparing version 1.7.1 to 1.7.2

CHANGELOG.md

2

dist/strategies/object/max-properties.js

@@ -27,3 +27,3 @@ "use strict";

toSchema() {
if (this.maxProperties === 0)
if (!this.maxProperties)
return undefined;

@@ -30,0 +30,0 @@ return { maxProperties: Math.round(this.maxProperties) };

@@ -27,3 +27,3 @@ "use strict";

toSchema() {
if (this.minProperties === 0)
if (!this.minProperties)
return undefined;

@@ -30,0 +30,0 @@ return { minProperties: Math.round(this.minProperties) };

{
"name": "schematized",
"description": "Turn objects into JSON schemas! The more examples you provide, the better your schema will be.",
"version": "1.7.1",
"version": "1.7.2",
"files": [
"dist/"
"dist"
],
"main": "dist/index",
"main": "dist",
"types": "dist/index.d.ts",
"repository": "https://github.com/ryparker/Schematized.git",
"repository": "https://github.com/ryparker/schematized.git",
"author": "Ryan Parker",

@@ -17,3 +17,3 @@ "license": "MIT",

"fix": "xo src --fix",
"test": "yarn build && yarn nyc ava --verbose",
"test": "yarn build && yarn nyc ava",
"clean": "rimraf ./dist"

@@ -45,2 +45,23 @@ },

},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn test"
}
},
"lint-staged": {
"./src/**/*": [
"xo src --fix"
]
},
"release": {
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git",
"@semantic-release/github"
]
},
"config": {

@@ -59,9 +80,14 @@ "commitizen": {

"@ava/typescript": "^1.1.1",
"@types/lodash": "^4.14.157",
"@types/node": "^14.0.22",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/git": "^9.0.0",
"@types/lodash": "^4.14.159",
"@types/node": "^14.0.27",
"ajv": "^6.12.3",
"ava": "^3.10.1",
"ava": "^3.11.1",
"commitizen": "^4.1.2",
"cz-conventional-changelog": "3.2.0",
"eslint-config-xo-typescript": "^0.31.0",
"eslint-plugin-prettier": "^3.1.4",
"husky": "^4.2.5",
"lint-staged": "^10.2.11",
"nyc": "^15.1.0",

@@ -72,3 +98,3 @@ "prettier": "^2.0.5",

"ts-node": "^8.10.2",
"typescript": "^3.9.6",
"typescript": "^3.9.7",
"xo": "^0.32.1"

@@ -75,0 +101,0 @@ },

Sorry, the diff of this file is not supported yet

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