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

@briza/wegood

Package Overview
Dependencies
Maintainers
4
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@briza/wegood - npm Package Compare versions

Comparing version 1.0.9 to 1.0.10

20

lib/wegood.esm.js

@@ -72,5 +72,5 @@ function _typeof(obj) {

function _createForOfIteratorHelper(o, allowArrayLike) {
var it;
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
if (!it) {
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {

@@ -108,3 +108,3 @@ if (it) o = it;

s: function () {
it = o[Symbol.iterator]();
it = it.call(o);
},

@@ -805,4 +805,6 @@ n: function () {

_createClass(Validator, [{
key: "validate",
key: "rules",
get: function get() {
return this._rules;
}
/**

@@ -818,2 +820,5 @@ * Validate against the value.

*/
}, {
key: "validate",
value: function validate(value) {

@@ -919,7 +924,2 @@ var firstErrorOnly = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;

}
}, {
key: "rules",
get: function get() {
return this._rules;
}
}]);

@@ -926,0 +926,0 @@

@@ -76,5 +76,5 @@ 'use strict';

function _createForOfIteratorHelper(o, allowArrayLike) {
var it;
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
if (!it) {
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {

@@ -112,3 +112,3 @@ if (it) o = it;

s: function () {
it = o[Symbol.iterator]();
it = it.call(o);
},

@@ -809,4 +809,6 @@ n: function () {

_createClass(Validator, [{
key: "validate",
key: "rules",
get: function get() {
return this._rules;
}
/**

@@ -822,2 +824,5 @@ * Validate against the value.

*/
}, {
key: "validate",
value: function validate(value) {

@@ -923,7 +928,2 @@ var firstErrorOnly = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;

}
}, {
key: "rules",
get: function get() {
return this._rules;
}
}]);

@@ -930,0 +930,0 @@

{
"name": "@briza/wegood",
"version": "1.0.9",
"version": "1.0.10",
"description": "Tiny validation library, so wegood with data.",

@@ -27,4 +27,4 @@ "main": "lib/wegood.js",

"lint:fix": "eslint --max-warnings 0 \"src/**/*.{ts,js}\" --fix",
"prepublishOnly": "npm run build",
"check-licenses": "license-checker --summary --excludePrivatePackages --onlyAllow 'MIT;MIT OR X11;Apache-2.0;ISC;BSD-3-Clause;BSD-2-Clause;CC-BY-4.0;Public Domain;BSD;CC-BY-3.0;CC0-1.0;Unlicense'"
"prepublishOnly": "npm run test && npm run build",
"check-licenses": "license-checker --summary --excludePrivatePackages --onlyAllow \"MIT;MIT OR X11;Apache-2.0;ISC;BSD-3-Clause;BSD-2-Clause;CC-BY-4.0;Public Domain;BSD;CC-BY-3.0;CC0-1.0;Unlicense\""
},

@@ -44,29 +44,28 @@ "repository": {

"devDependencies": {
"@babel/core": "^7.12.3",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@babel/preset-typescript": "^7.12.1",
"@rollup/plugin-babel": "^5.2.1",
"@rollup/plugin-commonjs": "^16.0.0",
"@rollup/plugin-node-resolve": "^10.0.0",
"@types/jest": "^26.0.15",
"@typescript-eslint/eslint-plugin": "^4.6.1",
"@typescript-eslint/parser": "^4.6.1",
"eslint": "^7.12.1",
"@babel/core": "^7.14.8",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/preset-env": "^7.14.8",
"@babel/preset-typescript": "^7.14.5",
"@rollup/plugin-babel": "^5.2.3",
"@rollup/plugin-commonjs": "^19.0.1",
"@rollup/plugin-node-resolve": "^13.0.2",
"@types/jest": "^26.0.24",
"@typescript-eslint/eslint-plugin": "^4.28.4",
"@typescript-eslint/parser": "^4.28.4",
"eslint": "^7.31.0",
"eslint-config-standard": "^14.1.1",
"eslint-import-resolver-typescript": "^2.3.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-simple-import-sort": "^5.0.2",
"eslint-plugin-standard": "^4.0.2",
"jest": "^26.6.3",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-standard": "^5.0.0",
"jest": "^27.0.6",
"license-checker": "^25.0.1",
"rollup": "^2.33.1",
"rollup": "^2.53.3",
"rollup-plugin-eslint": "^7.0.0",
"ts-jest": "^26.4.3",
"typedoc": "^0.19.2",
"typescript": "^4.0.5"
},
"dependencies": {}
"ts-jest": "^27.0.4",
"typedoc": "^0.21.4",
"typescript": "^4.3.5"
}
}

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ import { ValidationRule } from './rule';

@@ -0,0 +0,0 @@ import { ValidationRule } from '.';

@@ -0,0 +0,0 @@ import { ValidationRule } from '.';

@@ -0,0 +0,0 @@ import { ValidationRule } from '.';

@@ -0,0 +0,0 @@ import { ValidationRule } from '.';

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ import { ValidationRule } from '.';

@@ -0,0 +0,0 @@ import { ValidationRule } from '.';

@@ -0,0 +0,0 @@ import { ValidationRule } from '.';

@@ -0,0 +0,0 @@ import { ValidationRule } from '.';

@@ -0,0 +0,0 @@ import { ValidationRule } from '.';

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