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

@unction/ispresent

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@unction/ispresent - npm Package Compare versions

Comparing version 3.0.0 to 4.0.0

browser.js

67

package.json
{
"name": "@unction/ispresent",
"version": "3.0.0",
"version": "4.0.0",
"description": "Determines if the object is non-nil",

@@ -20,39 +20,38 @@ "keywords": [

"bugs": "https://github.com/unctionjs/isPresent/issues",
"main": "transpiled/index.js",
"main": "main.js",
"scripts": {
"prepublishOnly": "npm run build",
"test": "NODE_ENV=test tap --100 './test.js'",
"build": "babel './index.js' -d './transpiled/'",
"build": "npm run build:browser && npm run build:main",
"build:main": "babel --source-type module --source-maps true --out-file './main.js' './index.js'",
"build:browser": "babel --source-type module --source-maps true --out-file './browser.js' './index.js'",
"lint": "eslint './index.js'",
"check": "flow-typed install && flow check",
"ci": "npm run test",
"watch": "chokidar './index.js' './test.js' --command 'npm run ci --silent'"
"ci": "npm run test"
},
"devDependencies": {
"babel-cli": "6.26.0",
"babel-core": "6.26.0",
"babel-eslint": "8.0.3",
"babel-plugin-istanbul": "4.1.5",
"babel-plugin-module-resolver": "3.0.0",
"babel-plugin-pipe-operator-curry": "1.0.2",
"babel-plugin-transform-object-rest-spread": "6.26.0",
"babel-preset-env": "1.6.1",
"babel-preset-flow": "6.23.0",
"chokidar-cli": "1.2.0",
"eslint": "4.13.1",
"eslint-import-resolver-babel-module": "4.0.0",
"eslint-plugin-babel": "4.1.2",
"eslint-plugin-flowtype": "2.40.1",
"eslint-plugin-immutable": "1.0.0",
"eslint-plugin-import": "2.8.0",
"eslint-plugin-promise": "3.6.0",
"flow": "0.2.3",
"flow-bin": "0.61.0",
"flow-typed": "2.2.3",
"nyc": "11.3.0",
"tap": "11.0.0"
"@babel/cli": "7.2.3",
"@babel/core": "7.3.4",
"@babel/plugin-proposal-object-rest-spread": "7.3.4",
"@babel/plugin-syntax-dynamic-import": "7.2.0",
"@babel/preset-env": "7.3.4",
"@babel/preset-typescript": "7.3.3",
"@babel/register": "7.4.0",
"babel-eslint": "10.0.1",
"babel-jest": "23.0.0",
"babel-plugin-annotate-console-log": "1.0.0",
"babel-plugin-istanbul": "5.1.1",
"babel-plugin-module-resolver": "3.2.0",
"babel-plugin-transform-imports": "1.5.1",
"babel-preset-minify": "0.5.0",
"eslint": "5.16.0",
"eslint-import-resolver-babel-module": "5.0.1",
"eslint-plugin-babel": "5.3.0",
"eslint-plugin-promise": "4.1.1",
"jest": "23.0.0",
"nyc": "13.3.0",
"tap": "12.6.1"
},
"nyc": {
"require": [
"babel-register"
"@babel/register"
],

@@ -63,5 +62,11 @@ "sourceMap": false,

"files": [
"transpiled/index.js"
"index.js",
"main.js",
"main.js.map",
"browser.js",
"browser.js.map"
],
"dependencies": null
"dependencies": null,
"module": "index.js",
"browser": "browser.js"
}

@@ -8,3 +8,3 @@ # @unction/isPresent

> mixed -> boolean
> mixed => boolean

@@ -11,0 +11,0 @@ This lets you know if it's a non-null, non-undefined value.

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