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

escss-estest

Package Overview
Dependencies
Maintainers
0
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

escss-estest - npm Package Compare versions

Comparing version 1.4.2 to 1.4.3

2

package.json
{
"name": "escss-estest",
"version": "1.4.2",
"version": "1.4.3",
"author": {

@@ -5,0 +5,0 @@ "name": "Mike Lee"

@@ -87,2 +87,22 @@ // true: visible data and log detail

/**
*
* @param {*} input
* @param { "undefined" | "null" | "array" | "object" | "boolean" | "NaN" | "number" | "bigint" | "string" | "symbol" | "function" } type
* @param {String} errMsg
* @example
* ESTest(NaN, 'NaN')
* ESTest([], 'array')
* ESTest(null, 'null')
* ESTest(undefined, 'undefined')
* ESTest(1, 'number')
* ESTest('foo', 'string')
* ESTest(true, 'boolean')
* ESTest({}, 'object')
* ESTest(1n, 'bigint')
* ESTest(Symbol(), 'symbol')
* ESTest(function () {}, 'function')
* ESTest(1, 'object') // error
* ESTest(1, 'object', 'foo') // error & message "foo"
*/
function ESTest(input, type, errMsg = customErrMsg) {

@@ -89,0 +109,0 @@ if (!types.includes(type)) {

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