@ephox/katamari
Advanced tools
Comparing version 2.1.8 to 2.1.9
@@ -220,3 +220,3 @@ import { Option } from './Option'; | ||
var last = function (xs) { return xs.length === 0 ? Option.none() : Option.some(xs[xs.length - 1]); }; | ||
var from = Type.isFunction(Array.from) ? Array.from : function (x) { return Array.prototype.slice.call(null, x); }; | ||
var from = Type.isFunction(Array.from) ? Array.from : function (x) { return slice.call(x); }; | ||
export default { | ||
@@ -223,0 +223,0 @@ map: map, |
{ | ||
"name": "@ephox/katamari", | ||
"version": "2.1.8", | ||
"version": "2.1.9", | ||
"description": "Basic data type library", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -261,3 +261,3 @@ import { Option } from './Option'; | ||
const from: <T = any>(x: ArrayLike<T>) => T[] = Type.isFunction(Array.from) ? Array.from : (x) => Array.prototype.slice.call(null, x) | ||
const from: <T = any>(x: ArrayLike<T>) => T[] = Type.isFunction(Array.from) ? Array.from : (x) => slice.call(x) | ||
@@ -264,0 +264,0 @@ export default { |
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
760618