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

type-of-is

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

type-of-is - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

9

index.js

@@ -18,6 +18,5 @@ function ofs(obj) {

module.exports = {
of: of,
ofs: ofs,
is: is
};
module.exports = of;
module.exports.of = of;
module.exports.ofs = ofs;
module.exports.is = is;
{
"name": "type-of-is",
"version": "1.0.0",
"version": "1.1.0",
"description": "Determine and test types using constructor or {}.toString",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -24,2 +24,3 @@ var Path = require('path');

of_expectations.forEach(function(expectation) {
Assert.strictEqual(Type(expectation[0]), expectation[1], "testing of(" + expectation[0] + ")");
Assert.strictEqual(Type.of(expectation[0]), expectation[1], "testing of(" + expectation[0] + ")");

@@ -26,0 +27,0 @@ Assert.strictEqual(Type.ofs(expectation[0]), expectation[2], "testing ofs(" + expectation[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