Comparing version 4.2.0 to 4.2.1
@@ -1516,3 +1516,3 @@ /*! | ||
} | ||
return output.length > splitLimit ? strSlice(output, 0, splitLimit) : output; | ||
return output.length > splitLimit ? arraySlice(output, 0, splitLimit) : output; | ||
}; | ||
@@ -1519,0 +1519,0 @@ }()); |
{ | ||
"name": "es5-shim", | ||
"version": "4.2.0", | ||
"version": "4.2.1", | ||
"description": "ECMAScript 5 compatibility shims for legacy JavaScript engines", | ||
@@ -5,0 +5,0 @@ "homepage": "http://github.com/es-shims/es5-shim/", |
@@ -231,2 +231,6 @@ /* global describe, it, expect */ | ||
}); | ||
it('works with the second argument', function () { | ||
expect('a b'.split(/ /, 1)).toEqual(['a']); | ||
}); | ||
}); | ||
@@ -233,0 +237,0 @@ |
Sorry, the diff of this file is not supported yet
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
386997
7435