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

@zeit/schemas

Package Overview
Dependencies
Maintainers
15
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zeit/schemas - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

14

deployment/config-env.js

@@ -17,2 +17,6 @@ const maxEnvLength = 100;

const allowedEnvKey = [
'NOW_NPM_TOKEN'
];
const EnvKey = {

@@ -30,4 +34,10 @@ type: 'string',

{
not: {
pattern: '^NOW_.*$'
'if': {
'enum': allowedEnvKey
},
'then': {},
'else': {
not: {
pattern: '^NOW_.*$'
}
}

@@ -34,0 +44,0 @@ }

2

package.json
{
"name": "@zeit/schemas",
"version": "2.0.0",
"version": "2.0.1",
"description": "All schemas used for validation that are shared between our projects",

@@ -5,0 +5,0 @@ "scripts": {

@@ -116,1 +116,9 @@ /* eslint camelcase: 0 */

};
exports.test_env_keys_npm_token = () => {
const isValid = ajv.validate(EnvKeys, [
'NOW_NPM_TOKEN'
]);
assert.equal(isValid, true);
};
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