New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@benev/slate

Package Overview
Dependencies
Maintainers
0
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@benev/slate - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

4

package.json
{
"name": "@benev/slate",
"version": "0.2.0",
"version": "0.2.1",
"description": "frontend web stuff",

@@ -38,3 +38,3 @@ "license": "MIT",

"npm-run-all": "^4.1.5",
"rollup": "^4.21.1",
"rollup": "^4.21.2",
"terser": "^5.31.6",

@@ -41,0 +41,0 @@ "typescript": "^5.5.4"

export const is = {
available: <X>(x: X): x is NonNullable<X> =>
x !== undefined && x !== null,
unavailable: (x: any): x is (undefined | null) =>
x === undefined || x === null,
/** @deprecated use `unavailable` instead */
void: (x: any): x is (undefined | null) =>
x === undefined || x === null,
/** @deprecated use `available` instead */
defined: <X>(x: X): x is NonNullable<X> =>

@@ -7,0 +15,0 @@ x !== undefined && x !== null,

export declare const is: {
available: <X>(x: X) => x is NonNullable<X>;
unavailable: (x: any) => x is (undefined | null);
/** @deprecated use `unavailable` instead */
void: (x: any) => x is (undefined | null);
/** @deprecated use `available` instead */
defined: <X>(x: X) => x is NonNullable<X>;

@@ -4,0 +8,0 @@ boolean: (x: any) => x is boolean;

export const is = {
available: (x) => x !== undefined && x !== null,
unavailable: (x) => x === undefined || x === null,
/** @deprecated use `unavailable` instead */
void: (x) => x === undefined || x === null,
/** @deprecated use `available` instead */
defined: (x) => x !== undefined && x !== null,

@@ -4,0 +8,0 @@ boolean: (x) => typeof x === "boolean",

Sorry, the diff of this file is not supported yet

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