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

@zeit/schemas

Package Overview
Dependencies
Maintainers
5
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.33.0 to 2.34.0

2

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

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

@@ -323,2 +323,28 @@ /* eslint camelcase: 0 */

exports.test_favoritesViewPreference_open_valid = () => {
assert(ajv.validate(User, { favoritesViewPreference: 'open' }));
};
exports.test_favoritesViewPreference_closed_valid = () => {
assert(ajv.validate(User, { favoritesViewPreference: 'closed' }));
};
exports.test_favoritesViewPreference_null_valid = () => {
assert(ajv.validate(User, { favoritesViewPreference: null }));
};
exports.test_favoritesViewPreference_invalid_value = () => {
const isValid = ajv.validate(User, {
favoritesViewPreference: 'test'
});
assert.equal(isValid, false);
};
exports.test_favoritesViewPreference_number_invalid = () => {
const isValid = ajv.validate(User, {
favoritesViewPreference: 10
});
assert.equal(isValid, false);
};
exports.test_remoteCaching_valid = () => {

@@ -325,0 +351,0 @@ assert(ajv.validate(User, { remoteCaching: { enabled: true } }));

@@ -85,2 +85,13 @@ const Username = {

const FavoritesViewPreference = {
oneOf: [
{
'enum': ['open', 'closed']
},
{
type: 'null'
}
]
};
const PlatformVersion = {

@@ -261,2 +272,3 @@ oneOf: [

viewPreference: ViewPreference,
favoritesViewPreference: FavoritesViewPreference,
remoteCaching: RemoteCaching,

@@ -283,3 +295,4 @@ dismissedToasts: DismissedToasts,

ViewPreference,
FavoritesViewPreference,
DismissedToasts
};
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