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

@aofl/form-validate

Package Overview
Dependencies
Maintainers
2
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aofl/form-validate - npm Package Compare versions

Comparing version 3.0.0-beta.5 to 3.0.0-beta.6

.aofl.js

2

modules/validation-function.js

@@ -119,3 +119,3 @@ /**

for (const key in this) {
if (!this.hasOwnProperty(key)) continue;
if (!Object.prototype.hasOwnProperty.call(this, key)) continue;
keys.push(key);

@@ -122,0 +122,0 @@ }

@@ -35,5 +35,5 @@ /**

/* istanbul ignore next */
if (!validators.hasOwnProperty(key)) continue;
if (!Object.prototype.hasOwnProperty.call(validators, key)) continue;
/* istanbul ignore next */
if (this.hasOwnProperty(key)) {
if (Object.prototype.hasOwnProperty.call(this, key)) {
throw new Error(`${key} is a reserved keyword and cannot be used as a validator name.`);

@@ -70,3 +70,3 @@ }

/* istanbul ignore next */
if (!this.hasOwnProperty(key) ||
if (!Object.prototype.hasOwnProperty.call(this, key) ||
!(this[key] instanceof ValidationProperty || this[key] instanceof ValidationFunction)) continue;

@@ -85,3 +85,3 @@

/* istanbul ignore next */
if (!this.hasOwnProperty(key) ||
if (!Object.prototype.hasOwnProperty.call(this, key) ||
!(this[key] instanceof ValidationProperty || this[key] instanceof ValidationFunction)) continue;

@@ -103,3 +103,3 @@

/* istanbul ignore next */
if (!this.hasOwnProperty(key) ||
if (!Object.prototype.hasOwnProperty.call(this, key) ||
!(this[key] instanceof ValidationProperty || this[key] instanceof ValidationFunction)) continue;

@@ -121,3 +121,3 @@

/* istanbul ignore next */
if (!this.hasOwnProperty(key) ||
if (!Object.prototype.hasOwnProperty.call(this, key) ||
!(this[key] instanceof ValidationProperty || this[key] instanceof ValidationFunction)) continue;

@@ -139,3 +139,3 @@

/* istanbul ignore next */
if (!this.hasOwnProperty(key) ||
if (!Object.prototype.hasOwnProperty.call(this, key) ||
!(this[key] instanceof ValidationProperty || this[key] instanceof ValidationFunction)) continue;

@@ -185,3 +185,3 @@

/* istanbul ignore next */
if (!this.hasOwnProperty(key)) continue;
if (!Object.prototype.hasOwnProperty.call(this, key)) continue;
keys.push(key);

@@ -188,0 +188,0 @@ keys.push(...this[key].getKeys());

{
"name": "@aofl/form-validate",
"version": "3.0.0-beta.5",
"version": "3.0.0-beta.6",
"description": "Form validation mixin for AoflElement",
"main": "index.js",
"main": "dist/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"build": "cross-env NODE_ENV=production npx aofl build",
"build:dev": "cross-env NODE_ENV=development npx aofl build",
"prepublishOnly": "npm run build"
},

@@ -32,3 +35,7 @@ "repository": {

"license": "MIT",
"gitHead": "6eab96d111f1ebe9e5c5cff00cf108d46ac4ee19"
"devDependencies": {
"@aofl/cli": "^3.0.0-beta.6",
"cross-env": "^6.0.3"
},
"gitHead": "23e8e9dd00e515c9305baf320436e43f51d7edd3"
}
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