@jscad/io-utils 2.0.12 → 2.0.13

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/BinaryReader.js CHANGED
@@ -80,7 +80,7 @@ class BinaryReader {
80
80
 
81
81
  return exponent === (bias << 1) + 1 ? significand ? NaN : signal ? -Infinity : +Infinity
82
82
  : (1 + signal * -2) * (exponent || significand ? !exponent ? Math.pow(2, -bias + 1) * significand
83
- : Math.pow(2, exponent - bias) * (1 + significand) : 0)
83
+ : Math.pow(2, exponent - bias) * (1 + significand) : 0)
84
84
  }
85
85
 
86
86
  _decodeInt (bits, signed) {
package/Blob.js CHANGED
@@ -72,8 +72,7 @@ class Blob {
72
72
  break
73
73
  case 'object':
74
74
  object = contents[index] // this should be a reference to an object
75
- if (Buffer.isBuffer(object)) {
76
- }
75
+ // FIXME if (Buffer.isBuffer(object)) { }
77
76
  if (object instanceof ArrayBuffer) {
78
77
  const view = new DataView(object)
79
78
  for (let bindex = 0; bindex < object.byteLength; bindex++) {
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.0.13](https://github.com/jscad/OpenJSCAD.org/compare/@jscad/io-utils@2.0.12...@jscad/io-utils@2.0.13) (2022-02-19)
7
+
8
+ **Note:** Version bump only for package @jscad/io-utils
9
+
10
+
11
+
12
+
13
+
6
14
  ## [2.0.12](https://github.com/jscad/OpenJSCAD.org/compare/@jscad/io-utils@2.0.11...@jscad/io-utils@2.0.12) (2021-12-26)
7
15
 
8
16
  **Note:** Version bump only for package @jscad/io-utils
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jscad/io-utils",
3
- "version": "2.0.12",
3
+ "version": "2.0.13",
4
4
  "description": "Utilities for JSCAD IO Packages",
5
5
  "repository": "https://github.com/jscad/OpenJSCAD.org",
6
6
  "main": "index.js",
@@ -32,9 +32,9 @@
32
32
  ],
33
33
  "license": "MIT",
34
34
  "devDependencies": {
35
- "@jscad/modeling": "2.7.1",
35
+ "@jscad/modeling": "2.7.2",
36
36
  "ava": "3.15.0",
37
37
  "nyc": "15.1.0"
38
38
  },
39
- "gitHead": "c8ac21281a7acf5a5575b940c18353c598ffa1a4"
39
+ "gitHead": "b6c5675d2d9a292e0ba24896bf22d0e9dc5d4270"
40
40
  }