fast-boolean-array 1.3.2 → 1.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.gitattributes ADDED
@@ -0,0 +1,5 @@
1
+ * text=auto
2
+
3
+ *.ts linguist-language=TypeScript
4
+ *.js linguist-vendored=true
5
+ *.md linguist-vendored=true
package/README.md CHANGED
@@ -43,8 +43,10 @@ booleans.set(1, false);
43
43
  console.log(booleans.get(0)); // Output: true
44
44
  console.log(booleans.get(1)); // Output: false
45
45
 
46
- booleans.set(3, false); // will throw as the array is only 3 in size
47
- console.log(booleans.get(1)); // Output: false
46
+ booleans.set(3, true); // will not throw, but returns false as the boolean is not found
47
+ console.log(booleans.get(3)); // Output: false
48
+
49
+ booleans.setSafe(3, true); // will throw RangeError
48
50
  ```
49
51
 
50
52
  ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fast-boolean-array",
3
- "version": "1.3.2",
3
+ "version": "1.3.4",
4
4
  "homepage": "https://github.com/UltraCakeBakery/FastBooleanArray",
5
5
  "repository": {
6
6
  "type": "git",