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

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.0.1 to 2.1.0

14

CHANGELOG.md

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

## [2.1.0](https://github.com/webpack-contrib/schema-utils/compare/v2.0.1...v2.1.0) (2019-08-07)
### Bug Fixes
* throw error on sparse arrays ([#47](https://github.com/webpack-contrib/schema-utils/issues/47)) ([b85ac38](https://github.com/webpack-contrib/schema-utils/commit/b85ac38))
### Features
* export `ValidateError` ([#46](https://github.com/webpack-contrib/schema-utils/issues/46)) ([ff781d7](https://github.com/webpack-contrib/schema-utils/commit/ff781d7))
### [2.0.1](https://github.com/webpack-contrib/schema-utils/compare/v2.0.0...v2.0.1) (2019-07-18)

@@ -7,0 +21,0 @@

5

dist/index.js

@@ -5,2 +5,5 @@ "use strict";

module.exports = validate.default;
const validateError = require('./ValidationError');
module.exports = validate.default;
module.exports.ValidateError = validateError.default;

2

dist/validate.js

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

if (Array.isArray(options)) {
errors = options.map(nestedOptions => validateObject(schema, nestedOptions));
errors = Array.from(options).map(nestedOptions => validateObject(schema, nestedOptions));
errors.forEach((list, idx) => {

@@ -33,0 +33,0 @@ const applyPrefix = error => {

{
"name": "schema-utils",
"version": "2.0.1",
"version": "2.1.0",
"description": "webpack Validation Utils",

@@ -5,0 +5,0 @@ "license": "MIT",

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