@ifc-lite/encoding 2.2.0 → 2.3.0
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/dist/ifc-string.d.ts +4 -4
- package/dist/ifc-string.js +4 -4
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/uuid-v5.d.ts +7 -0
- package/dist/uuid-v5.d.ts.map +1 -0
- package/dist/uuid-v5.js +82 -0
- package/dist/uuid-v5.js.map +1 -0
- package/package.json +2 -2
package/dist/ifc-string.d.ts
CHANGED
|
@@ -40,15 +40,15 @@ export declare function decodeIfcString(str: string): string;
|
|
|
40
40
|
* a file no conformant reader parses as intended (e.g. a name like
|
|
41
41
|
* `O'Brien`). A caller writing into a literal must double `'` itself, or use
|
|
42
42
|
* `escapeStepString` from `@ifc-lite/data`, which handles the full
|
|
43
|
-
* literal-context contract: doubling `'` and `\`,
|
|
44
|
-
*
|
|
43
|
+
* literal-context contract: doubling `'` and `\`, and encoding control
|
|
44
|
+
* characters and non-ASCII as directives —
|
|
45
45
|
* per ISO 10303-21 6.3.3.4. The two functions do not produce the same output
|
|
46
46
|
* for the same input; do not assume they agree. Sweeping U+0000..U+02FF, they
|
|
47
47
|
* disagree on exactly two of the 95 printable ASCII characters: the
|
|
48
48
|
* apostrophe (U+0027; doubled there, passed through here) and the reverse
|
|
49
49
|
* solidus (U+005C; doubled there, `\X\5C` here). They also disagree on all 32
|
|
50
|
-
* C0 controls AND on DEL (U+007F) --
|
|
51
|
-
*
|
|
50
|
+
* C0 controls AND on DEL (U+007F) -- `\X2\00HH\X0\` there, `\X\HH` here --
|
|
51
|
+
* and on all
|
|
52
52
|
* 128 of U+0080..U+00FF (`\X2\HHHH\X0\` there, `\X\HH` here). That is 163
|
|
53
53
|
* disagreements in all. Above U+00FF they agree on all 512.
|
|
54
54
|
*
|
package/dist/ifc-string.js
CHANGED
|
@@ -255,15 +255,15 @@ export function decodeIfcString(str) {
|
|
|
255
255
|
* a file no conformant reader parses as intended (e.g. a name like
|
|
256
256
|
* `O'Brien`). A caller writing into a literal must double `'` itself, or use
|
|
257
257
|
* `escapeStepString` from `@ifc-lite/data`, which handles the full
|
|
258
|
-
* literal-context contract: doubling `'` and `\`,
|
|
259
|
-
*
|
|
258
|
+
* literal-context contract: doubling `'` and `\`, and encoding control
|
|
259
|
+
* characters and non-ASCII as directives —
|
|
260
260
|
* per ISO 10303-21 6.3.3.4. The two functions do not produce the same output
|
|
261
261
|
* for the same input; do not assume they agree. Sweeping U+0000..U+02FF, they
|
|
262
262
|
* disagree on exactly two of the 95 printable ASCII characters: the
|
|
263
263
|
* apostrophe (U+0027; doubled there, passed through here) and the reverse
|
|
264
264
|
* solidus (U+005C; doubled there, `\X\5C` here). They also disagree on all 32
|
|
265
|
-
* C0 controls AND on DEL (U+007F) --
|
|
266
|
-
*
|
|
265
|
+
* C0 controls AND on DEL (U+007F) -- `\X2\00HH\X0\` there, `\X\HH` here --
|
|
266
|
+
* and on all
|
|
267
267
|
* 128 of U+0080..U+00FF (`\X2\HHHH\X0\` there, `\X\HH` here). That is 163
|
|
268
268
|
* disagreements in all. Above U+00FF they agree on all 512.
|
|
269
269
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export { decodeStepStringLiteral } from './step-string-literal.js';
|
|
|
3
3
|
export { uuidToIfcGuid, ifcGuidToUuid, generateIfcGuid, generateUuid, isValidIfcGuid, isValidUuid, } from './guid.js';
|
|
4
4
|
export type { RandomSource } from './guid.js';
|
|
5
5
|
export { uuidFromSeed } from './deterministic-uuid.js';
|
|
6
|
+
export { uuidV5 } from './uuid-v5.js';
|
|
6
7
|
export { isWhollyNumeric } from './numeric-literal.js';
|
|
7
8
|
export { parsePropertyValue } from './property-value.js';
|
|
8
9
|
export type { ParsedPropertyValue } from './property-value.js';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,EACL,aAAa,EACb,aAAa,EACb,eAAe,EACf,YAAY,EACZ,cAAc,EACd,WAAW,GACZ,MAAM,WAAW,CAAC;AACnB,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACzD,YAAY,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,EACL,aAAa,EACb,aAAa,EACb,eAAe,EACf,YAAY,EACZ,cAAc,EACd,WAAW,GACZ,MAAM,WAAW,CAAC;AACnB,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACzD,YAAY,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -5,6 +5,7 @@ export { decodeIfcString, encodeIfcString } from './ifc-string.js';
|
|
|
5
5
|
export { decodeStepStringLiteral } from './step-string-literal.js';
|
|
6
6
|
export { uuidToIfcGuid, ifcGuidToUuid, generateIfcGuid, generateUuid, isValidIfcGuid, isValidUuid, } from './guid.js';
|
|
7
7
|
export { uuidFromSeed } from './deterministic-uuid.js';
|
|
8
|
+
export { uuidV5 } from './uuid-v5.js';
|
|
8
9
|
export { isWhollyNumeric } from './numeric-literal.js';
|
|
9
10
|
export { parsePropertyValue } from './property-value.js';
|
|
10
11
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;+DAE+D;AAE/D,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,EACL,aAAa,EACb,aAAa,EACb,eAAe,EACf,YAAY,EACZ,cAAc,EACd,WAAW,GACZ,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;+DAE+D;AAE/D,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,EACL,aAAa,EACb,aAAa,EACb,eAAe,EACf,YAAY,EACZ,cAAc,EACd,WAAW,GACZ,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Name-based UUID, version 5: the same `namespace` + `name` always yields the
|
|
3
|
+
* same lowercase 8-4-4-4-12 UUID. Compose with `uuidToIfcGuid` for a
|
|
4
|
+
* deterministic IFC GlobalId.
|
|
5
|
+
*/
|
|
6
|
+
export declare function uuidV5(namespace: string, name: string): string;
|
|
7
|
+
//# sourceMappingURL=uuid-v5.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uuid-v5.d.ts","sourceRoot":"","sources":["../src/uuid-v5.ts"],"names":[],"mappings":"AAuDA;;;;GAIG;AACH,wBAAgB,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAa9D"}
|
package/dist/uuid-v5.js
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
2
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
3
|
+
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
|
4
|
+
/**
|
|
5
|
+
* Name-based UUIDs, version 5 (RFC 9562 §5.5).
|
|
6
|
+
*
|
|
7
|
+
* Unlike {@link uuidFromSeed} (an ifc-lite-internal hash scheme), a v5 UUID is
|
|
8
|
+
* the standard, interoperable way to derive an identifier from a namespace +
|
|
9
|
+
* name: any conforming implementation, in any language, computes the same
|
|
10
|
+
* UUID. The viewer derives the GlobalId of the new piece of a split element
|
|
11
|
+
* this way (#6233), so the same split yields the same id everywhere.
|
|
12
|
+
*/
|
|
13
|
+
import { isValidUuid } from './guid.js';
|
|
14
|
+
/**
|
|
15
|
+
* SHA-1 of `bytes`, synchronously. Only for name-based UUIDs, which fix SHA-1
|
|
16
|
+
* as their hash; it is NOT a security primitive here. Web Crypto's digest is
|
|
17
|
+
* async, and {@link uuidV5} is called inside synchronous edits.
|
|
18
|
+
*/
|
|
19
|
+
function sha1(bytes) {
|
|
20
|
+
const bitLength = bytes.length * 8;
|
|
21
|
+
const padded = new Uint8Array(((bytes.length + 9 + 63) >> 6) << 6);
|
|
22
|
+
padded.set(bytes);
|
|
23
|
+
padded[bytes.length] = 0x80;
|
|
24
|
+
const view = new DataView(padded.buffer);
|
|
25
|
+
view.setUint32(padded.length - 8, Math.floor(bitLength / 0x100000000));
|
|
26
|
+
view.setUint32(padded.length - 4, bitLength >>> 0);
|
|
27
|
+
let h0 = 0x67452301, h1 = 0xefcdab89, h2 = 0x98badcfe, h3 = 0x10325476, h4 = 0xc3d2e1f0;
|
|
28
|
+
const w = new Uint32Array(80);
|
|
29
|
+
for (let block = 0; block < padded.length; block += 64) {
|
|
30
|
+
for (let i = 0; i < 16; i++)
|
|
31
|
+
w[i] = view.getUint32(block + i * 4);
|
|
32
|
+
for (let i = 16; i < 80; i++) {
|
|
33
|
+
const x = w[i - 3] ^ w[i - 8] ^ w[i - 14] ^ w[i - 16];
|
|
34
|
+
w[i] = (x << 1) | (x >>> 31);
|
|
35
|
+
}
|
|
36
|
+
let a = h0, b = h1, c = h2, d = h3, e = h4;
|
|
37
|
+
for (let i = 0; i < 80; i++) {
|
|
38
|
+
const [f, k] = i < 20 ? [(b & c) | (~b & d), 0x5a827999]
|
|
39
|
+
: i < 40 ? [b ^ c ^ d, 0x6ed9eba1]
|
|
40
|
+
: i < 60 ? [(b & c) | (b & d) | (c & d), 0x8f1bbcdc]
|
|
41
|
+
: [b ^ c ^ d, 0xca62c1d6];
|
|
42
|
+
const t = (((a << 5) | (a >>> 27)) + f + e + k + w[i]) >>> 0;
|
|
43
|
+
e = d;
|
|
44
|
+
d = c;
|
|
45
|
+
c = (b << 30) | (b >>> 2);
|
|
46
|
+
b = a;
|
|
47
|
+
a = t;
|
|
48
|
+
}
|
|
49
|
+
h0 = (h0 + a) >>> 0;
|
|
50
|
+
h1 = (h1 + b) >>> 0;
|
|
51
|
+
h2 = (h2 + c) >>> 0;
|
|
52
|
+
h3 = (h3 + d) >>> 0;
|
|
53
|
+
h4 = (h4 + e) >>> 0;
|
|
54
|
+
}
|
|
55
|
+
const out = new Uint8Array(20);
|
|
56
|
+
const outView = new DataView(out.buffer);
|
|
57
|
+
[h0, h1, h2, h3, h4].forEach((h, i) => outView.setUint32(i * 4, h));
|
|
58
|
+
return out;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Name-based UUID, version 5: the same `namespace` + `name` always yields the
|
|
62
|
+
* same lowercase 8-4-4-4-12 UUID. Compose with `uuidToIfcGuid` for a
|
|
63
|
+
* deterministic IFC GlobalId.
|
|
64
|
+
*/
|
|
65
|
+
export function uuidV5(namespace, name) {
|
|
66
|
+
if (!isValidUuid(namespace))
|
|
67
|
+
throw new Error(`Invalid namespace UUID: ${namespace}`);
|
|
68
|
+
const ns = namespace.replace(/-/g, '');
|
|
69
|
+
const nameBytes = new TextEncoder().encode(name);
|
|
70
|
+
const input = new Uint8Array(16 + nameBytes.length);
|
|
71
|
+
for (let i = 0; i < 16; i++)
|
|
72
|
+
input[i] = parseInt(ns.substring(i * 2, i * 2 + 2), 16);
|
|
73
|
+
input.set(nameBytes, 16);
|
|
74
|
+
const bytes = sha1(input).subarray(0, 16);
|
|
75
|
+
bytes[6] = (bytes[6] & 0x0f) | 0x50;
|
|
76
|
+
bytes[8] = (bytes[8] & 0x3f) | 0x80;
|
|
77
|
+
let hex = '';
|
|
78
|
+
for (const byte of bytes)
|
|
79
|
+
hex += byte.toString(16).padStart(2, '0');
|
|
80
|
+
return `${hex.substring(0, 8)}-${hex.substring(8, 12)}-${hex.substring(12, 16)}-${hex.substring(16, 20)}-${hex.substring(20, 32)}`;
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=uuid-v5.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uuid-v5.js","sourceRoot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EAAE,CAAC,IAAI,GAAG,CAAC,SAAS,CAAC,EAAE,EAAE,EAAE,CAAC,IAAI,GAAG,CAAC,SAAS,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC;AACrI,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ifc-lite/encoding",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"description": "IFC string encoding/decoding and property value parsing for IFC-Lite",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"typescript": "^6.0.3",
|
|
17
|
-
"vitest": "^
|
|
17
|
+
"vitest": "^5.0.2",
|
|
18
18
|
"@ifc-lite/timing-ladder": "^0.1.0"
|
|
19
19
|
},
|
|
20
20
|
"license": "MPL-2.0",
|