Socket
Socket
Sign inDemoInstall

schema-utils

Package Overview
Dependencies
Maintainers
4
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

schema-utils - npm Package Compare versions

Comparing version 2.2.0 to 2.3.0

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

## [2.3.0](https://github.com/webpack/schema-utils/compare/v2.2.0...v2.3.0) (2019-09-26)
### Features
* support `not` keyword ([#53](https://github.com/webpack/schema-utils/issues/53)) ([765f458](https://github.com/webpack/schema-utils/commit/765f458))
## [2.2.0](https://github.com/webpack/schema-utils/compare/v2.1.0...v2.2.0) (2019-09-02)

@@ -7,0 +14,0 @@

9

dist/ValidationError.js

@@ -224,5 +224,9 @@ "use strict";

return this.formatSchema(innerSchema, prevSchemas.concat(schema));
}; // eslint-disable-next-line default-case
};
if (schema.not && !likeObject(schema)) {
return `non ${formatInnerSchema(schema.not)}`;
} // eslint-disable-next-line default-case
switch (schema.instanceof) {

@@ -617,2 +621,5 @@ case 'Function':

case 'not':
return `${dataPath} should not be ${this.getSchemaPartText(error.schema)}${likeObject(error.parentSchema) ? `\n${this.getSchemaPartText(error.parentSchema)}` : ''}`;
case 'oneOf':

@@ -619,0 +626,0 @@ case 'anyOf':

22

package.json
{
"name": "schema-utils",
"version": "2.2.0",
"version": "2.3.0",
"description": "webpack Validation Utils",

@@ -41,7 +41,7 @@ "license": "MIT",

"devDependencies": {
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@commitlint/cli": "^8.0.0",
"@commitlint/config-conventional": "^8.0.0",
"@babel/cli": "^7.6.2",
"@babel/core": "^7.6.2",
"@babel/preset-env": "^7.6.2",
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"@webpack-contrib/defaults": "^5.0.2",

@@ -51,7 +51,7 @@ "@webpack-contrib/eslint-config-webpack": "^3.0.0",

"commitlint-azure-pipelines-cli": "^1.0.2",
"cross-env": "^5.2.1",
"cross-env": "^6.0.0",
"del": "^5.1.0",
"del-cli": "^2.0.0",
"eslint": "^6.3.0",
"eslint-config-prettier": "^6.1.0",
"del-cli": "^3.0.0",
"eslint": "^6.4.0",
"eslint-config-prettier": "^6.3.0",
"eslint-plugin-import": "^2.18.2",

@@ -61,3 +61,3 @@ "husky": "^3.0.5",

"jest-junit": "^8.0.0",
"lint-staged": "^9.2.5",
"lint-staged": "^9.4.0",
"npm-run-all": "^4.1.5",

@@ -64,0 +64,0 @@ "prettier": "^1.18.2",

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