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

should-type-adaptors

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

should-type-adaptors - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

4

cjs/should-type-adaptors.js

@@ -155,2 +155,5 @@ 'use strict';

};
setAdaptor.iterator = function(obj) {
return obj.values();
};

@@ -174,2 +177,3 @@ defaultTypeAdaptorStorage.addType(new t.Type(t.OBJECT, t.MAP), mapAdaptor);

defaultTypeAdaptorStorage.addIterableType(new t.Type(t.OBJECT, t.ARGUMENTS));
defaultTypeAdaptorStorage.addIterableType(new t.Type(t.OBJECT, t.SET));

@@ -176,0 +180,0 @@ function forEach(obj, f, context) {

@@ -149,2 +149,5 @@ import { hasOwnProperty, propertyIsEnumerable, merge, isIterator, isGeneratorFunction } from 'should-util';

};
setAdaptor.iterator = function(obj) {
return obj.values();
};

@@ -168,2 +171,3 @@ defaultTypeAdaptorStorage.addType(new t.Type(t.OBJECT, t.MAP), mapAdaptor);

defaultTypeAdaptorStorage.addIterableType(new t.Type(t.OBJECT, t.ARGUMENTS));
defaultTypeAdaptorStorage.addIterableType(new t.Type(t.OBJECT, t.SET));

@@ -170,0 +174,0 @@ function forEach(obj, f, context) {

2

package.json
{
"name": "should-type-adaptors",
"version": "1.0.1",
"version": "1.1.0",
"description": "Small utility functions to use the same traversing etc code on different types",

@@ -5,0 +5,0 @@ "main": "cjs/should-type-adaptors.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