@mocktomata/io-remote 7.0.0 → 7.0.1
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/cjs/getServerInfo.d.ts +2 -2
- package/cjs/getServerInfo.d.ts.map +1 -1
- package/cjs/platform.js +2 -1
- package/cjs/platform.js.map +1 -1
- package/cjs/types.internal.d.ts +1 -1
- package/cjs/types.internal.d.ts.map +1 -1
- package/esm/getServerInfo.d.ts +2 -2
- package/esm/getServerInfo.d.ts.map +1 -1
- package/esm/types.internal.d.ts +1 -1
- package/esm/types.internal.d.ts.map +1 -1
- package/package.json +8 -7
package/cjs/getServerInfo.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { CreateIOOptions } from './types.js';
|
|
2
|
-
export
|
|
2
|
+
export type ServerInfo = {
|
|
3
3
|
name: string;
|
|
4
4
|
version: string;
|
|
5
5
|
url: string;
|
|
6
6
|
plugins?: string[];
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export type Context = {
|
|
9
9
|
fetch: (url: RequestInfo, init?: RequestInit) => Promise<Response>;
|
|
10
10
|
location: {
|
|
11
11
|
protocol: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getServerInfo.d.ts","sourceRoot":"","sources":["../ts/getServerInfo.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAEjD,
|
|
1
|
+
{"version":3,"file":"getServerInfo.d.ts","sourceRoot":"","sources":["../ts/getServerInfo.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAEjD,MAAM,MAAM,UAAU,GAAG;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;IAEZ,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,OAAO,GAAG;IACpB,KAAK,EAAE,CAAC,GAAG,EAAE,WAAW,EAAE,IAAI,CAAC,EAAE,WAAW,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAC;IACnE,QAAQ,EAAE;QACR,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAA;KACjB,CAAA;CACF,CAAA;AAED,wBAAsB,aAAa,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,OAAO,CAAC,UAAU,CAAC,CAEpG"}
|
package/cjs/platform.js
CHANGED
|
@@ -22,10 +22,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
22
22
|
__setModuleDefault(result, mod);
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
|
+
var _a;
|
|
25
26
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
27
|
exports.importModule = void 0;
|
|
27
28
|
function importModule(moduleSpecifier) {
|
|
28
|
-
return Promise.resolve().then(() => __importStar(require(
|
|
29
|
+
return _a = moduleSpecifier, Promise.resolve().then(() => __importStar(require(_a)));
|
|
29
30
|
}
|
|
30
31
|
exports.importModule = importModule;
|
|
31
32
|
//# sourceMappingURL=platform.js.map
|
package/cjs/platform.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform.js","sourceRoot":"","sources":["../ts/platform.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"platform.js","sourceRoot":"","sources":["../ts/platform.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,SAAgB,YAAY,CAAC,eAAuB;IAClD,YAAc,eAAe,0DAAC;AAChC,CAAC;AAFD,oCAEC"}
|
package/cjs/types.internal.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.internal.d.ts","sourceRoot":"","sources":["../ts/types.internal.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"types.internal.d.ts","sourceRoot":"","sources":["../ts/types.internal.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,OAAO,GAAG;IACpB,KAAK,EAAE,CAAC,GAAG,EAAE,WAAW,EAAE,IAAI,CAAC,EAAE,WAAW,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAC;IACnE,QAAQ,EAAE;QACR,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAA;KACjB,CAAC;IACF,YAAY,CAAC,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,CAAA;CACpD,CAAA"}
|
package/esm/getServerInfo.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { CreateIOOptions } from './types.js';
|
|
2
|
-
export
|
|
2
|
+
export type ServerInfo = {
|
|
3
3
|
name: string;
|
|
4
4
|
version: string;
|
|
5
5
|
url: string;
|
|
6
6
|
plugins?: string[];
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export type Context = {
|
|
9
9
|
fetch: (url: RequestInfo, init?: RequestInit) => Promise<Response>;
|
|
10
10
|
location: {
|
|
11
11
|
protocol: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getServerInfo.d.ts","sourceRoot":"","sources":["../ts/getServerInfo.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAEjD,
|
|
1
|
+
{"version":3,"file":"getServerInfo.d.ts","sourceRoot":"","sources":["../ts/getServerInfo.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAEjD,MAAM,MAAM,UAAU,GAAG;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;IAEZ,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,OAAO,GAAG;IACpB,KAAK,EAAE,CAAC,GAAG,EAAE,WAAW,EAAE,IAAI,CAAC,EAAE,WAAW,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAC;IACnE,QAAQ,EAAE;QACR,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAA;KACjB,CAAA;CACF,CAAA;AAED,wBAAsB,aAAa,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,OAAO,CAAC,UAAU,CAAC,CAEpG"}
|
package/esm/types.internal.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.internal.d.ts","sourceRoot":"","sources":["../ts/types.internal.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"types.internal.d.ts","sourceRoot":"","sources":["../ts/types.internal.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,OAAO,GAAG;IACpB,KAAK,EAAE,CAAC,GAAG,EAAE,WAAW,EAAE,IAAI,CAAC,EAAE,WAAW,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAC;IACnE,QAAQ,EAAE;QACR,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAA;KACjB,CAAC;IACF,YAAY,CAAC,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,CAAA;CACpD,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mocktomata/io-remote",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.1",
|
|
4
4
|
"description": "mocktomata remote IO",
|
|
5
5
|
"homepage": "https://github.com/mocktomata/mocktomata/tree/main/packages/io-remote",
|
|
6
6
|
"bugs": {
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
},
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "https://github.com/mocktomata/mocktomata.git"
|
|
11
|
+
"url": "https://github.com/mocktomata/mocktomata.git",
|
|
12
|
+
"directory": "packages/io-remote"
|
|
12
13
|
},
|
|
13
14
|
"license": "MIT",
|
|
14
15
|
"author": {
|
|
@@ -30,14 +31,13 @@
|
|
|
30
31
|
"!**/test-util"
|
|
31
32
|
],
|
|
32
33
|
"dependencies": {
|
|
33
|
-
"@mocktomata/framework": "^7.0.0",
|
|
34
34
|
"cross-fetch": "^3.1.4",
|
|
35
|
-
"iso-error": "^
|
|
35
|
+
"iso-error": "^5.0.0",
|
|
36
|
+
"@mocktomata/framework": "^7.0.1"
|
|
36
37
|
},
|
|
37
38
|
"devDependencies": {
|
|
38
39
|
"@kayahr/jest-electron-runner": "^29.0.0",
|
|
39
|
-
"
|
|
40
|
-
"assertron": "^10.0.0",
|
|
40
|
+
"assertron": "^11.0.0",
|
|
41
41
|
"cross-env": "^7.0.3",
|
|
42
42
|
"depcheck": "^1.4.3",
|
|
43
43
|
"jest": "^29.2.1",
|
|
@@ -49,7 +49,8 @@
|
|
|
49
49
|
"npm-run-all": "^4.1.5",
|
|
50
50
|
"rimraf": "^3.0.2",
|
|
51
51
|
"ts-jest": "^29.0.3",
|
|
52
|
-
"typescript": "~4.
|
|
52
|
+
"typescript": "~4.9.0",
|
|
53
|
+
"@mocktomata/plugin-fixture-dummy": "^1.1.10"
|
|
53
54
|
},
|
|
54
55
|
"engines": {
|
|
55
56
|
"node": ">= 14.16"
|