Comparing version 0.1.0 to 1.0.0
@@ -74,3 +74,6 @@ 'use strict'; | ||
if (x1 <= min && y1 <= min && max <= x2 && max <= y2) { | ||
return this.keys.slice(); | ||
// We use `Array#slice` because `this.keys` may be a `Int32Array` and | ||
// some browsers (Safari and IE) do not support `TypedArray#slice` | ||
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/slice#Browser_compatibility | ||
return Array.prototype.slice.call(this.keys); | ||
@@ -77,0 +80,0 @@ } else { |
{ | ||
"name": "grid-index", | ||
"version": "0.1.0", | ||
"version": "1.0.0", | ||
"description": "A 2D spatial index for axis-aligned boxes", | ||
@@ -5,0 +5,0 @@ "main": "grid-index.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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
11023
5
182
1