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

@bitty/nullish

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bitty/nullish - npm Package Compare versions

Comparing version 0.0.0 to 0.0.1

README.md

4

dist/main.esm.js

@@ -7,6 +7,6 @@ /**

function isNullish(value) {
return value === null || value === undefined;
return value == null;
}
export { isNullish };
export default isNullish;
//# sourceMappingURL=main.esm.js.map

@@ -11,6 +11,6 @@ 'use strict';

function isNullish(value) {
return value === null || value === undefined;
return value == null;
}
exports.isNullish = isNullish;
exports.default = isNullish;
//# sourceMappingURL=main.js.map

@@ -13,6 +13,6 @@ (function (global, factory) {

function isNullish(value) {
return value === null || value === undefined;
return value == null;
}
exports.isNullish = isNullish;
exports.default = isNullish;

@@ -19,0 +19,0 @@ Object.defineProperty(exports, '__esModule', { value: true });

@@ -1,2 +0,2 @@

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).Either={})}(this,(function(e){"use strict";e.isNullish=function(e){return null==e},Object.defineProperty(e,"__esModule",{value:!0})}));
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).Either={})}(this,(function(e){"use strict";e.default=function(e){return null==e},Object.defineProperty(e,"__esModule",{value:!0})}));
//# sourceMappingURL=main.umd.min.js.map
{
"name": "@bitty/nullish",
"version": "0.0.0",
"description": "Nullish type and function helpers.",
"sideEffects": false,
"cdn": "dist/main.umd.js",
"main": "dist/main.js",
"types": "types/main.d.ts",
"unpkg": "dist/main.umd.js",
"module": "dist/main.esm.js",
"jsdelivr": "dist/main.umd.js",
"umd:main": "dist/main.umd.js",
"files": [
"dist/",
"types/"
],
"keywords": [
"fp",
"functional programming",
"function",
"functional"
],
"scripts": {
"test": "pnpm run test:code-style && pnpm run test:unit",
"test:transpile": "tsc --project ./tsconfig.test.json",
"test:unit": "pnpm run test:transpile && ava",
"test:code-style": "prettier --check \"./src/**/*.ts\"",
"build": "pnpm run build:transpile && pnpm run build:bundle",
"build:transpile": "tsc --project ./tsconfig.build.json",
"build:bundle": "rollup --config rollup.config.js",
"prepublishOnly": "pnpm run test && pnpm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/VitorLuizC/bitty.git"
},
"author": {
"url": "https://vitorluizc.github.io/",
"name": "Vitor Luiz Cavalcanti",
"email": "vitorluizc@outlook.com"
},
"bugs": {
"url": "https://github.com/VitorLuizC/bitty/issues"
},
"homepage": "https://github.com/VitorLuizC/bitty/tree/master/packages/pipe",
"license": "MIT",
"devDependencies": {
"ava": "^3.8.2",
"prettier": "^2.0.5",
"rollup": "^2.13.1",
"rollup-plugin-terser": "^6.1.0",
"typescript": "^3.9.3"
}
"name": "@bitty/nullish",
"version": "0.0.1",
"description": "Nullish helper functions and types for TypeScript.",
"sideEffects": false,
"cdn": "dist/main.umd.js",
"main": "dist/main.js",
"types": "types/main.d.ts",
"unpkg": "dist/main.umd.js",
"module": "dist/main.esm.js",
"jsdelivr": "dist/main.umd.js",
"umd:main": "dist/main.umd.js",
"files": [
"dist/",
"types/"
],
"keywords": [
"null",
"undefined",
"nully",
"nullable",
"non-nullable",
"typescript",
"typescript-types",
"fp",
"functional programming",
"function",
"functional"
],
"scripts": {
"test": "pnpm run test:code-style && pnpm run test:unit",
"test:transpile": "tsc --project ./tsconfig.test.json",
"test:unit": "pnpm run test:transpile && ava",
"test:code-style": "prettier --check \"./src/**/*.ts\"",
"build": "pnpm run build:transpile && pnpm run build:bundle",
"build:transpile": "tsc --project ./tsconfig.build.json",
"build:bundle": "rollup --config rollup.config.js",
"prepublishOnly": "pnpm run test && pnpm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/VitorLuizC/bitty.git"
},
"author": {
"url": "https://vitorluizc.github.io/",
"name": "Vitor Luiz Cavalcanti",
"email": "vitorluizc@outlook.com"
},
"bugs": {
"url": "https://github.com/VitorLuizC/bitty/issues"
},
"homepage": "https://github.com/VitorLuizC/bitty/tree/master/packages/pipe",
"license": "MIT",
"devDependencies": {
"ava": "^3.8.2",
"prettier": "^2.0.5",
"rollup": "^2.13.1",
"rollup-plugin-terser": "^6.1.0",
"typescript": "^3.9.3"
}
}

@@ -14,3 +14,3 @@ /**

*/
export declare function isNullish(value?: unknown): value is Nullish;
export default function isNullish(value?: unknown): value is Nullish;
//# sourceMappingURL=main.d.ts.map

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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