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

logical-not

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

logical-not - npm Package Compare versions

Comparing version 1.0.3 to 1.0.5

3

index.d.ts

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

declare function not(value: any): boolean;
export declare function not(value: any): boolean;
export default not;

@@ -11,3 +11,4 @@ /**

default: { value: not },
not: { value: not },
__esModule: { value: true },
});
{
"name": "logical-not",
"version": "1.0.3",
"description": "Logical NOT Function",
"main": "index.js",
"scripts": {
"prepublishOnly": "npm run test",
"test": "node test.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/PavelDymkov/logical-not.git"
},
"keywords": [
"logical", "not", "inverse"
],
"author": {
"name": "Pavel Dymkov",
"email": "dymkov86@gmail.com"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/PavelDymkov/logical-not/issues"
},
"homepage": "https://github.com/PavelDymkov/logical-not#readme"
"name": "logical-not",
"version": "1.0.5",
"description": "Logical NOT Function",
"main": "index.js",
"scripts": {
"prepublishOnly": "npm run test",
"test": "node test.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/PavelDymkov/logical-not.git"
},
"keywords": [
"logical",
"not",
"inverse"
],
"author": {
"name": "Pavel Dymkov",
"email": "dymkov86@gmail.com"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/PavelDymkov/logical-not/issues"
},
"homepage": "https://github.com/PavelDymkov/logical-not#readme"
}

@@ -10,4 +10,5 @@ # Logical NOT Function

import not from "logical-not";
// or import { not } from "logical-not";
if(not("foo".includes("bar"))) {
if (not("foo".includes("bar"))) {
console.log("baz");

@@ -14,0 +15,0 @@ }

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