@unyt/datex 0.0.1 → 0.0.3
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/README.md +5 -1
- package/esm/_dnt.polyfills.d.ts +101 -0
- package/esm/_dnt.polyfills.d.ts.map +1 -0
- package/esm/_dnt.polyfills.js +127 -0
- package/esm/_dnt.shims.d.ts +1 -1
- package/esm/_dnt.test_polyfills.d.ts.map +1 -0
- package/esm/deno.json +29 -5
- package/esm/deps/jsr.io/@std/assert/1.0.13/almost_equals.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.13/array_includes.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.13/assert.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.13/assertion_error.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.13/equal.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.13/equals.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.13/exists.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.13/fail.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.13/false.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.13/greater.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.13/greater_or_equal.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.13/instance_of.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.13/is_error.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.13/less.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.13/less_or_equal.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.13/match.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.13/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.13/not_equals.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.13/not_instance_of.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.13/not_match.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.13/not_strict_equals.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.13/object_match.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.13/rejects.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.13/strict_equals.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.13/string_includes.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.13/throws.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.13/unimplemented.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.13/unreachable.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/crypto/1.0.5/_wasm/lib/deno_std_wasm_crypto.d.ts +2 -0
- package/esm/deps/jsr.io/@std/crypto/1.0.5/_wasm/lib/deno_std_wasm_crypto.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/crypto/1.0.5/_wasm/lib/deno_std_wasm_crypto.internal.d.ts +69 -0
- package/esm/deps/jsr.io/@std/crypto/1.0.5/_wasm/lib/deno_std_wasm_crypto.internal.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/crypto/1.0.5/_wasm/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/crypto/1.0.5/crypto.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/internal/{1.0.5 → 1.0.9}/build_message.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.5 → 1.0.9}/diff.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.5 → 1.0.9}/diff_str.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.5 → 1.0.9}/format.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.5 → 1.0.9}/styles.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/internal/{1.0.5 → 1.0.9}/types.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/uuid/1.0.9/_common.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/uuid/1.0.9/common.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/uuid/1.0.9/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/uuid/1.0.9/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/uuid/1.0.9/v1.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/uuid/1.0.9/v3.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/uuid/1.0.9/v4.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/uuid/1.0.9/v5.d.ts.map +1 -0
- package/esm/rs-lib/datex-core/Cargo.toml +149 -14
- package/esm/src/datex-core/datex_core_js.d.ts +2 -0
- package/esm/src/datex-core/datex_core_js.d.ts.map +1 -0
- package/esm/src/datex-core/datex_core_js.internal.d.ts +469 -0
- package/esm/src/datex-core/datex_core_js.internal.d.ts.map +1 -0
- package/esm/src/datex-core/datex_core_js.internal.js +1661 -0
- package/esm/src/datex-core/datex_core_js.js +15 -0
- package/esm/src/datex-core/datex_core_js.wasm +0 -0
- package/esm/src/datex-core.d.ts +1 -1
- package/esm/src/datex-core.d.ts.map +1 -1
- package/esm/src/datex-core.js +2 -3
- package/esm/src/mod.d.ts +1 -0
- package/esm/src/mod.d.ts.map +1 -1
- package/esm/src/mod.js +2 -1
- package/esm/src/runtime/runtime.d.ts +11 -2
- package/esm/src/runtime/runtime.d.ts.map +1 -1
- package/esm/src/runtime/runtime.js +35 -25
- package/esm/test/compiler/execute.test.d.ts.map +1 -0
- package/esm/test/crypto.test.d.ts.map +1 -0
- package/esm/test/init.test.d.ts.map +1 -1
- package/esm/test/is-node.d.ts.map +1 -0
- package/esm/test/network/BaseInterface.test.d.ts.map +1 -0
- package/esm/test/network/ComHub.test.d.ts.map +1 -0
- package/esm/test/network/WebsocketClientInterface.test.d.ts.map +1 -0
- package/esm/test/network/WebsocketMockupServer.d.ts.map +1 -0
- package/esm/test/network/WebsocketServerInterface.test.d.ts.map +1 -0
- package/esm/test/utils.d.ts.map +1 -0
- package/package.json +1 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/almost_equals.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/array_includes.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/assert.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/assertion_error.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/equal.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/equals.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/exists.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/fail.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/false.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/greater.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/greater_or_equal.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/instance_of.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/is_error.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/less.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/less_or_equal.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/match.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/mod.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/not_equals.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/not_instance_of.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/not_match.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/not_strict_equals.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/object_match.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/rejects.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/strict_equals.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/string_includes.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/throws.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/unimplemented.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/assert/1.0.6/unreachable.d.ts.map +0 -1
- package/esm/src/datex-core/datex_core_js.generated.d.ts +0 -78
- package/esm/src/datex-core/datex_core_js.generated.d.ts.map +0 -1
- package/esm/src/datex-core/datex_core_js.generated.js +0 -611
- package/esm/src/datex-core/datex_core_js_bg.wasm +0 -0
- package/esm/src/utils/js-runtime-compat/js-runtime-interface.d.ts +0 -7
- package/esm/src/utils/js-runtime-compat/js-runtime-interface.d.ts.map +0 -1
- package/esm/src/utils/js-runtime-compat/js-runtime-interface.js +0 -1
- package/esm/src/utils/js-runtime-compat/runtime.d.ts +0 -3
- package/esm/src/utils/js-runtime-compat/runtime.d.ts.map +0 -1
- package/esm/src/utils/js-runtime-compat/runtime.js +0 -34
- package/esm/src/utils/js-runtime-compat/runtimes/browser.d.ts +0 -7
- package/esm/src/utils/js-runtime-compat/runtimes/browser.d.ts.map +0 -1
- package/esm/src/utils/js-runtime-compat/runtimes/browser.js +0 -20
- package/esm/src/utils/js-runtime-compat/runtimes/deno.d.ts +0 -7
- package/esm/src/utils/js-runtime-compat/runtimes/deno.d.ts.map +0 -1
- package/esm/src/utils/js-runtime-compat/runtimes/deno.js +0 -17
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import * as dntShim from "../../../../_dnt.shims.js";
|
|
2
|
-
export class BrowserRuntimeInterface {
|
|
3
|
-
constructor() {
|
|
4
|
-
Object.defineProperty(this, "type", {
|
|
5
|
-
enumerable: true,
|
|
6
|
-
configurable: true,
|
|
7
|
-
writable: true,
|
|
8
|
-
value: "browser"
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
async readTextFile(path) {
|
|
12
|
-
const response = await dntShim.fetch(path.toString());
|
|
13
|
-
return await response.text();
|
|
14
|
-
}
|
|
15
|
-
async readFile(path) {
|
|
16
|
-
const response = await dntShim.fetch(path.toString());
|
|
17
|
-
const buffer = await response.arrayBuffer();
|
|
18
|
-
return new Uint8Array(buffer);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { JsRuntimeInterface } from "../js-runtime-interface.js";
|
|
2
|
-
export declare class DenoRuntimeInterface implements JsRuntimeInterface {
|
|
3
|
-
readonly type = "deno";
|
|
4
|
-
readTextFile(path: string | URL): Promise<string>;
|
|
5
|
-
readFile(path: string | URL): Promise<Uint8Array>;
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=deno.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deno.d.ts","sourceRoot":"","sources":["../../../../../src/src/utils/js-runtime-compat/runtimes/deno.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAErE,qBAAa,oBAAqB,YAAW,kBAAkB;IAC3D,QAAQ,CAAC,IAAI,UAAU;IAEvB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,GAAG,OAAO,CAAC,MAAM,CAAC;IAIjD,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,GAAG,OAAO,CAAC,UAAU,CAAC;CAGpD"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as dntShim from "../../../../_dnt.shims.js";
|
|
2
|
-
export class DenoRuntimeInterface {
|
|
3
|
-
constructor() {
|
|
4
|
-
Object.defineProperty(this, "type", {
|
|
5
|
-
enumerable: true,
|
|
6
|
-
configurable: true,
|
|
7
|
-
writable: true,
|
|
8
|
-
value: "deno"
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
readTextFile(path) {
|
|
12
|
-
return dntShim.Deno.readTextFile(path);
|
|
13
|
-
}
|
|
14
|
-
readFile(path) {
|
|
15
|
-
return dntShim.Deno.readFile(path);
|
|
16
|
-
}
|
|
17
|
-
}
|