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.34.0 to 2.35.0

2

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

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

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

exports.test_recentsViewPreference_open_valid = () => {
assert(ajv.validate(User, { recentsViewPreference: 'open' }));
};
exports.test_recentsViewPreference_closed_valid = () => {
assert(ajv.validate(User, { recentsViewPreference: 'closed' }));
};
exports.test_recentsViewPreference_null_valid = () => {
assert(ajv.validate(User, { recentsViewPreference: null }));
};
exports.test_recentsViewPreference_invalid_value = () => {
const isValid = ajv.validate(User, {
recentsViewPreference: 'test'
});
assert.equal(isValid, false);
};
exports.test_recentsViewPreference_number_invalid = () => {
const isValid = ajv.validate(User, {
recentsViewPreference: 10
});
assert.equal(isValid, false);
};
exports.test_remoteCaching_valid = () => {

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

@@ -85,3 +85,3 @@ const Username = {

const FavoritesViewPreference = {
const ToggleViewPreference = {
oneOf: [

@@ -272,3 +272,4 @@ {

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

@@ -295,4 +296,4 @@ dismissedToasts: DismissedToasts,

ViewPreference,
FavoritesViewPreference,
ToggleViewPreference,
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