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

@unction/type

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@unction/type - npm Package Compare versions

Comparing version 4.0.0 to 4.1.0

4

browser.js

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

"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=type;/* eslint-disable no-undefined */function type(a){return null===a?"null":void 0===a?"undefined":a.constructor.name}
//# sourceMappingURL=browser.js.map
"use strict";require("core-js/modules/es.function.name"),require("core-js/modules/es.object.define-property"),Object.defineProperty(exports,"__esModule",{value:!0}),exports["default"]=type;/* eslint-disable no-undefined */function type(a){return null===a?"null":void 0===a?"undefined":a.constructor.name}
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=type;/* eslint-disable no-undefined */function type(a){return null===a?"null":void 0===a?"undefined":a.constructor.name}
//# sourceMappingURL=main.js.map
{
"name": "@unction/type",
"version": "4.0.0",
"version": "4.1.0",
"description": "Returns the type name of the value provided.",

@@ -25,4 +25,4 @@ "keywords": [

"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'",
"build:main": "babel --env-name main --out-file './main.js' './index.js'",
"build:browser": "babel --env-name browser --out-file './browser.js' './index.js'",
"lint": "eslint './index.js'",

@@ -36,3 +36,3 @@ "ci": "npm run test"

"@babel/plugin-syntax-dynamic-import": "7.2.0",
"@babel/preset-env": "7.3.4",
"@babel/preset-env": "7.4.4",
"@babel/preset-typescript": "7.3.3",

@@ -69,5 +69,7 @@ "@babel/register": "7.4.0",

],
"dependencies": null,
"dependencies": {
"core-js": "3.0.1"
},
"module": "index.js",
"browser": "browser.js"
}
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