@zwave-js/host 14.1.0 → 14.2.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.
@@ -1,4 +1,3 @@
1
- export * from "./FileSystem.js";
2
1
  export * from "./ZWaveHost.js";
3
2
  export * from "./ZWaveHostOptions.js";
4
3
  export * from "./mocks.js";
@@ -15,13 +15,11 @@ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "defau
15
15
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
16
  var esm_exports = {};
17
17
  module.exports = __toCommonJS(esm_exports);
18
- __reExport(esm_exports, require("./FileSystem.js"), module.exports);
19
18
  __reExport(esm_exports, require("./ZWaveHost.js"), module.exports);
20
19
  __reExport(esm_exports, require("./ZWaveHostOptions.js"), module.exports);
21
20
  __reExport(esm_exports, require("./mocks.js"), module.exports);
22
21
  // Annotate the CommonJS export names for ESM import in node:
23
22
  0 && (module.exports = {
24
- ...require("./FileSystem.js"),
25
23
  ...require("./ZWaveHost.js"),
26
24
  ...require("./ZWaveHostOptions.js"),
27
25
  ...require("./mocks.js")
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.ts"],
4
- "sourcesContent": ["/* eslint-disable @typescript-eslint/consistent-type-exports */\nexport * from \"./FileSystem.js\";\nexport * from \"./ZWaveHost.js\";\nexport * from \"./ZWaveHostOptions.js\";\nexport * from \"./mocks.js\";\n"],
5
- "mappings": ";;;;;;;;;;;;;;;AAAA;;AACA,wBAAc,4BADd;AAEA,wBAAc,2BAFd;AAGA,wBAAc,kCAHd;AAIA,wBAAc,uBAJd;",
4
+ "sourcesContent": ["/* eslint-disable @typescript-eslint/consistent-type-exports */\nexport * from \"./ZWaveHost.js\";\nexport * from \"./ZWaveHostOptions.js\";\nexport * from \"./mocks.js\";\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;AAAA;;AACA,wBAAc,2BADd;AAEA,wBAAc,kCAFd;AAGA,wBAAc,uBAHd;",
6
6
  "names": []
7
7
  }
@@ -1,4 +1,3 @@
1
- export * from "./FileSystem.js";
2
1
  export * from "./ZWaveHost.js";
3
2
  export * from "./ZWaveHostOptions.js";
4
3
  //# sourceMappingURL=index_safe.d.ts.map
@@ -15,12 +15,10 @@ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "defau
15
15
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
16
  var index_safe_exports = {};
17
17
  module.exports = __toCommonJS(index_safe_exports);
18
- __reExport(index_safe_exports, require("./FileSystem.js"), module.exports);
19
18
  __reExport(index_safe_exports, require("./ZWaveHost.js"), module.exports);
20
19
  __reExport(index_safe_exports, require("./ZWaveHostOptions.js"), module.exports);
21
20
  // Annotate the CommonJS export names for ESM import in node:
22
21
  0 && (module.exports = {
23
- ...require("./FileSystem.js"),
24
22
  ...require("./ZWaveHost.js"),
25
23
  ...require("./ZWaveHostOptions.js")
26
24
  });
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/index_safe.ts"],
4
- "sourcesContent": ["/* eslint-disable @typescript-eslint/consistent-type-exports */\n/* @forbiddenImports external */\n\nexport * from \"./FileSystem.js\";\nexport * from \"./ZWaveHost.js\";\nexport * from \"./ZWaveHostOptions.js\";\n"],
5
- "mappings": ";;;;;;;;;;;;;;;AAAA;;AAGA,+BAAc,4BAHd;AAIA,+BAAc,2BAJd;AAKA,+BAAc,kCALd;",
4
+ "sourcesContent": ["/* eslint-disable @typescript-eslint/consistent-type-exports */\n/* @forbiddenImports external */\n\nexport * from \"./ZWaveHost.js\";\nexport * from \"./ZWaveHostOptions.js\";\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;AAAA;;AAGA,+BAAc,2BAHd;AAIA,+BAAc,kCAJd;",
6
6
  "names": []
7
7
  }
@@ -1,4 +1,3 @@
1
- export * from "./FileSystem.js";
2
1
  export * from "./ZWaveHost.js";
3
2
  export * from "./ZWaveHostOptions.js";
4
3
  export * from "./mocks.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC"}
@@ -1,5 +1,4 @@
1
1
  /* eslint-disable @typescript-eslint/consistent-type-exports */
2
- export * from "./FileSystem.js";
3
2
  export * from "./ZWaveHost.js";
4
3
  export * from "./ZWaveHostOptions.js";
5
4
  export * from "./mocks.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC"}
@@ -1,4 +1,3 @@
1
- export * from "./FileSystem.js";
2
1
  export * from "./ZWaveHost.js";
3
2
  export * from "./ZWaveHostOptions.js";
4
3
  //# sourceMappingURL=index_safe.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index_safe.d.ts","sourceRoot":"","sources":["../../src/index_safe.ts"],"names":[],"mappings":"AAGA,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index_safe.d.ts","sourceRoot":"","sources":["../../src/index_safe.ts"],"names":[],"mappings":"AAGA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC"}
@@ -1,6 +1,5 @@
1
1
  /* eslint-disable @typescript-eslint/consistent-type-exports */
2
2
  /* @forbiddenImports external */
3
- export * from "./FileSystem.js";
4
3
  export * from "./ZWaveHost.js";
5
4
  export * from "./ZWaveHostOptions.js";
6
5
  //# sourceMappingURL=index_safe.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index_safe.js","sourceRoot":"","sources":["../../src/index_safe.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,gCAAgC;AAEhC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index_safe.js","sourceRoot":"","sources":["../../src/index_safe.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,gCAAgC;AAEhC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zwave-js/host",
3
- "version": "14.1.0",
3
+ "version": "14.2.0",
4
4
  "description": "zwave-js: Host abstractions",
5
5
  "keywords": [],
6
6
  "publishConfig": {
@@ -52,8 +52,8 @@
52
52
  "lint:ts:fix": "yarn run lint:ts --fix"
53
53
  },
54
54
  "dependencies": {
55
- "@zwave-js/config": "14.1.0",
56
- "@zwave-js/core": "14.1.0",
55
+ "@zwave-js/config": "14.2.0",
56
+ "@zwave-js/core": "14.2.0",
57
57
  "@zwave-js/shared": "14.1.0",
58
58
  "alcalzone-shared": "^5.0.0"
59
59
  },
@@ -1,10 +0,0 @@
1
- /** Defines which methods must be supported by a replacement filesystem */
2
- export interface FileSystem {
3
- ensureDir(path: string): Promise<void>;
4
- writeFile(file: string, data: string | Uint8Array, options?: {
5
- encoding: BufferEncoding;
6
- } | BufferEncoding): Promise<void>;
7
- readFile(file: string, encoding: BufferEncoding): Promise<string>;
8
- pathExists(path: string): Promise<boolean>;
9
- }
10
- //# sourceMappingURL=FileSystem.d.ts.map
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __copyProps = (to, from, except, desc) => {
7
- if (from && typeof from === "object" || typeof from === "function") {
8
- for (let key of __getOwnPropNames(from))
9
- if (!__hasOwnProp.call(to, key) && key !== except)
10
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
- }
12
- return to;
13
- };
14
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
- var FileSystem_exports = {};
16
- module.exports = __toCommonJS(FileSystem_exports);
17
- //# sourceMappingURL=FileSystem.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../esm/FileSystem.js"],
4
- "sourcesContent": ["export {};\n//# sourceMappingURL=FileSystem.js.map"],
5
- "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;",
6
- "names": []
7
- }
@@ -1,10 +0,0 @@
1
- /** Defines which methods must be supported by a replacement filesystem */
2
- export interface FileSystem {
3
- ensureDir(path: string): Promise<void>;
4
- writeFile(file: string, data: string | Uint8Array, options?: {
5
- encoding: BufferEncoding;
6
- } | BufferEncoding): Promise<void>;
7
- readFile(file: string, encoding: BufferEncoding): Promise<string>;
8
- pathExists(path: string): Promise<boolean>;
9
- }
10
- //# sourceMappingURL=FileSystem.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FileSystem.d.ts","sourceRoot":"","sources":["../../src/FileSystem.ts"],"names":[],"mappings":"AAAA,0EAA0E;AAC1E,MAAM,WAAW,UAAU;IAC1B,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACvC,SAAS,CACR,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,GAAG,UAAU,EACzB,OAAO,CAAC,EACL;QACD,QAAQ,EAAE,cAAc,CAAC;KACzB,GACC,cAAc,GACf,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAClE,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;CAC3C"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=FileSystem.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FileSystem.js","sourceRoot":"","sources":["../../src/FileSystem.ts"],"names":[],"mappings":""}