should-type-adaptors
Advanced tools
Comparing version 1.0.1 to 1.1.0
@@ -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) { |
{ | ||
"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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15188
463