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

@graphcms/validation

Package Overview
Dependencies
Maintainers
8
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphcms/validation - npm Package Compare versions

Comparing version 1.3.16 to 1.3.17

.rpt2_cache/74e67f0c574bf0563822f7d5660130d04baf12f4/code/cache/058eb7fdce7f9ab481c9b70ea7e747c46d53e9c1

2

dist/validation.js

@@ -264,3 +264,3 @@ var yup = require('yup');

exclusive: false
}).matches(/^[a-zA-Z][a-zA-Z0-9_]+$/, 'Start with a letter, and use only alphanumeric characters or underscores.');
}).matches(/^[a-zA-Z][a-zA-Z0-9_]*$/, 'Start with a letter, and use only alphanumeric characters or underscores.');
var displayName$4 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').min(1, 'Enter a Display Name.').trim('The display name may not have leading or trailing whitespaces.');

@@ -267,0 +267,0 @@

@@ -267,7 +267,7 @@ import { string, boolean, array, object } from 'yup';

exclusive: false
}).matches(/^[a-zA-Z][a-zA-Z0-9_]+$/, 'Start with a letter, and use only alphanumeric characters or underscores.');
}).matches(/^[a-zA-Z][a-zA-Z0-9_]*$/, 'Start with a letter, and use only alphanumeric characters or underscores.');
var displayName$4 = string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').min(1, 'Enter a Display Name.').trim('The display name may not have leading or trailing whitespaces.');
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImxvY2FsZS50cyhvcmlnaW5hbCkiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsWUFBWSxTQUFTO0FBQ3JCLFFBQVMsdUJBQXdCO0FBQ2pDLE9BQU8sR0FBQSxDQUFJLFFBQVEsR0FBQSxDQUNkLE1BRGMsRUFBQSxDQUVkLFNBRmMsQ0FFSix3RkFGSSxDQUdkLEdBSGMsQ0FHV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HJpbSgnVGhlIGRpc3BsYXkgbmFtZSBtYXkgbm90IGhhdmUgbGVhZGluZyBvciB0cmFpbGluZyB3aGl0ZXNwYWNlcy4nKTtcclxuIl19

@@ -274,0 +274,0 @@

@@ -271,7 +271,7 @@ (function (global, factory) {

exclusive: false
}).matches(/^[a-zA-Z][a-zA-Z0-9_]+$/, 'Start with a letter, and use only alphanumeric characters or underscores.');
}).matches(/^[a-zA-Z][a-zA-Z0-9_]*$/, 'Start with a letter, and use only alphanumeric characters or underscores.');
var displayName$4 = yup.string().typeError('The supplied value "${value}" of type "${type}" is not compatible with type "string"!').min(1, 'Enter a Display Name.').trim('The display name may not have leading or trailing whitespaces.');
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImxvY2FsZS50cyhvcmlnaW5hbCkiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsWUFBWSxTQUFTO0FBQ3JCLFFBQVMsdUJBQXdCO0FBQ2pDLE9BQU8sR0FBQSxDQUFJLFFBQVEsR0FBQSxDQUNkLE1BRGMsRUFBQSxDQUVkLFNBRmMsQ0FFSix3RkFGSSxDQUdkLEdBSGMsQ0FHVixHQUFHLG1CQUhPLENBSWQsR0FKYyxDQUlWLElBQUksb0RBSk0sQ0FLZCxJQUxjLENBS1Q7SUFDTixNQUFNLGlCQURBLENBQUE7SUFFTixNQUFNLFVBQVUsT0FBTztRQUNuQixPQUFPLENBQUMsZ0JBQUEsQ0FBaUIsSUFBakIsQ0FBc0IsVUFBVSxjQUFjO1lBQUUsT0FBUSxLQUFBLEdBQVEsWUFBQSxDQUFBLEdBQUEsQ0FBaUIsS0FBQSxDQUFNLFdBQU4sS0FBc0I7UUFBdkg7SUFDQSxDQUpVLENBQUE7SUFLTixTQUFTLDBEQUxILENBQUE7SUFNTixXQUFXO0VBWEksQ0FhZCxPQWJjLENBYU4sMkJBQTJCO0FBQ3hDLE9BQU8sR0FBQSxDQUFJLGNBQ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ZWRXb3JkID09PSB2YWx1ZS50b0xvd2VyQ2FzZSgpIDogZmFsc2UpOyB9KTtcclxuICAgIH0sXHJcbiAgICBtZXNzYWdlOiAnXCIke3ZhbHVlfVwiIGlzIGEgcmVzdHJpY3RlZCB3b3JkIGFuZCBjYW5ub3QgYmUgdXNlZCBoZXJlLicsXHJcbiAgICBleGNsdXNpdmU6IGZhbHNlLFxyXG59KVxyXG4gICAgLm1hdGNoZXMoL15bYS16QS1aXVthLXpBLVowLTlfXSokLywgJ1N0YXJ0IHdpdGggYSBsZXR0ZXIsIGFuZCB1c2Ugb25seSBhbHBoYW51bWVyaWMgY2hhcmFjdGVycyBvciB1bmRlcnNjb3Jlcy4nKTtcclxuZXhwb3J0IHZhciBkaXNwbGF5TmFtZSA9IHl1cFxyXG4gICAgLnN0cmluZygpXHJcbiAgICAudHlwZUVycm9yKCdUaGUgc3VwcGxpZWQgdmFsdWUgXCIke3ZhbHVlfVwiIG9mIHR5cGUgXCIke3R5cGV9XCIgaXMgbm90IGNvbXBhdGlibGUgd2l0aCB0eXBlIFwic3RyaW5nXCIhJylcclxuICAgIC5taW4oMSwgJ0VudGVyIGEgRGlzcGxheSBOYW1lLicpXHJcbiAgICAudHJpbSgnVGhlIGRpc3BsYXkgbmFtZSBtYXkgbm90IGhhdmUgbGVhZGluZyBvciB0cmFpbGluZyB3aGl0ZXNwYWNlcy4nKTtcclxuIl19

@@ -278,0 +278,0 @@

{
"name": "@graphcms/validation",
"version": "1.3.16",
"version": "1.3.17",
"main": "dist/validation.js",

@@ -5,0 +5,0 @@ "types": "dist/index.d.ts",

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