@nx.js/runtime 0.0.60 → 0.0.61

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +22 -4
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -3563,6 +3563,22 @@ declare class DOMException extends Error {
3563
3563
  code: number;
3564
3564
  constructor(message?: string, name?: string);
3565
3565
  }
3566
+ /**
3567
+ * Compression formats supported by {@link CompressionStream | `CompressionStream`} and {@link DecompressionStream | `DecompressionStream`}.
3568
+ */
3569
+ type CompressionFormat = "deflate" | "deflate-raw" | "gzip" | "zstd";
3570
+ /**
3571
+ * @see https://developer.mozilla.org/docs/Web/API/CompressionStream
3572
+ */
3573
+ declare class CompressionStream extends TransformStream<Uint8Array, Uint8Array> {
3574
+ constructor(format: CompressionFormat);
3575
+ }
3576
+ /**
3577
+ * @see https://developer.mozilla.org/docs/Web/API/DecompressionStream
3578
+ */
3579
+ declare class DecompressionStream extends TransformStream<Uint8Array, Uint8Array> {
3580
+ constructor(format: CompressionFormat);
3581
+ }
3566
3582
  /**
3567
3583
  * The `import.meta` meta-property exposes context-specific metadata to a JavaScript module.
3568
3584
  * It contains information about the module, such as the module's URL.
@@ -4381,7 +4397,7 @@ declare namespace Switch {
4381
4397
  targetSession?: number;
4382
4398
  context?: number;
4383
4399
  bufferAttrs?: number[];
4384
- buffers?: (ArrayBuffer | ArrayBufferView)[];
4400
+ buffers?: BufferSource[];
4385
4401
  inSendPid?: boolean;
4386
4402
  inObjects?: Service[];
4387
4403
  inHandles?: number[];
@@ -4395,9 +4411,9 @@ declare namespace Switch {
4395
4411
  isDomain(): void;
4396
4412
  isOverride(): void;
4397
4413
  dispatch(rid: number, params?: ServiceDispatchParams): void;
4398
- dispatchIn(rid: number, inData: ArrayBuffer | ArrayBufferView, parmas?: ServiceDispatchParams): void;
4399
- dispatchOut(rid: number, outData: ArrayBuffer | ArrayBufferView, params?: ServiceDispatchParams): void;
4400
- dispatchInOut(rid: number, inData?: ArrayBuffer | ArrayBufferView, outData?: ArrayBuffer | ArrayBufferView, params?: ServiceDispatchParams): void;
4414
+ dispatchIn(rid: number, inData: BufferSource, parmas?: ServiceDispatchParams): void;
4415
+ dispatchOut(rid: number, outData: BufferSource, params?: ServiceDispatchParams): void;
4416
+ dispatchInOut(rid: number, inData?: BufferSource, outData?: BufferSource, params?: ServiceDispatchParams): void;
4401
4417
  }
4402
4418
  type PathLike = string | URL;
4403
4419
  interface Versions {
@@ -4423,6 +4439,8 @@ declare namespace Switch {
4423
4439
  readonly turbojpeg: string;
4424
4440
  readonly wasm3: string;
4425
4441
  readonly webp: string;
4442
+ readonly zlib: string;
4443
+ readonly zstd: string;
4426
4444
  }
4427
4445
  interface Stats {
4428
4446
  size: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx.js/runtime",
3
- "version": "0.0.60",
3
+ "version": "0.0.61",
4
4
  "description": "nx.js runtime",
5
5
  "repository": {
6
6
  "type": "git",