array-fixed
Advanced tools
Comparing version 0.3.0 to 0.4.0
@@ -2053,2 +2053,7 @@ (function (global, factory) { | ||
} | ||
}, { | ||
key: 'direction', | ||
get: function get() { | ||
return this._direction; | ||
} | ||
}], [{ | ||
@@ -2055,0 +2060,0 @@ key: 'fromArray', |
@@ -393,2 +393,6 @@ 'use strict'; | ||
get direction() { | ||
return this._direction; | ||
} | ||
switchDirection(direction) { | ||
@@ -395,0 +399,0 @@ if (direction !== this._direction) { |
@@ -387,2 +387,6 @@ import _slicedToArray from 'babel-runtime/helpers/slicedToArray'; | ||
get direction() { | ||
return this._direction; | ||
} | ||
switchDirection(direction) { | ||
@@ -389,0 +393,0 @@ if (direction !== this._direction) { |
@@ -51,2 +51,6 @@ // @flow | ||
get direction (): boolean { | ||
return this._direction; | ||
} | ||
switchDirection (direction: boolean) { | ||
@@ -53,0 +57,0 @@ if (direction !== this._direction) { |
{ | ||
"name": "array-fixed", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"description": "Array with a Fixed Preallocated Length", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
# ArrayFixed | ||
`ArrayFixed` is a fixed length sparse JavaScript array. The main advantage of a fixed length sparse array, is that we maintain a count along with the array length. Extending on the fixed length sparse array, we create a fixed length sparse array that is dense in one direction (left or right). The `ArrayFixedDense` ensures that the array is kept dense in one particular direction. |
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
129120
3435
4