@mfdj/tsc-as-build-tool 2.12.0 → 2.14.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/Beacon.js +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist-cjs/{Beacon.js → Beacon.cjs} +2 -2
- package/dist-cjs/{Client.js → Client.cjs} +2 -2
- package/dist-cjs/{EntryPoint.js → EntryPoint.cjs} +3 -3
- package/dist-cjs/{ExperimentationRoot.js → ExperimentationRoot.cjs} +2 -2
- package/dist-cjs/http/{ScopedServiceClient.js → ScopedServiceClient.cjs} +6 -6
- package/dist-cjs/http/{createEndpoint.js → createEndpoint.cjs} +2 -2
- package/dist-cjs/http/{globalFetch.js → globalFetch.cjs} +1 -1
- package/dist-cjs/http/{response-parsers.js → response-parsers.cjs} +2 -2
- package/dist-cjs/http/{serialize.js → serialize.cjs} +1 -1
- package/dist-cjs/http/{serviceFetch.js → serviceFetch.cjs} +3 -3
- package/dist-cjs/{index.js → index.cjs} +9 -7
- package/dist-cjs/index.cjs.map +1 -0
- package/dist-cjs/index.d.ts +2 -1
- package/dist-cjs/index.d.ts.map +1 -1
- package/dist-cjs/{logging.js → logging.cjs} +1 -1
- package/dist-cjs/misc/{arbitrary.js → arbitrary.cjs} +1 -1
- package/dist-cjs/misc/{throwAnError.js → throwAnError.cjs} +1 -1
- package/dist-cjs/misc/{toLowercase.js → toLowercase.cjs} +1 -1
- package/dist-cjs/persistent-storage/{DefaultStore.js → DefaultStore.cjs} +1 -1
- package/dist-cjs/{types.js → types.cjs} +1 -1
- package/package.json +4 -4
- package/dist-cjs/index.js.map +0 -1
- /package/dist-cjs/{Beacon.js.map → Beacon.cjs.map} +0 -0
- /package/dist-cjs/{Client.js.map → Client.cjs.map} +0 -0
- /package/dist-cjs/{EntryPoint.js.map → EntryPoint.cjs.map} +0 -0
- /package/dist-cjs/{ExperimentationRoot.js.map → ExperimentationRoot.cjs.map} +0 -0
- /package/dist-cjs/http/{ScopedServiceClient.js.map → ScopedServiceClient.cjs.map} +0 -0
- /package/dist-cjs/http/{createEndpoint.js.map → createEndpoint.cjs.map} +0 -0
- /package/dist-cjs/http/{globalFetch.js.map → globalFetch.cjs.map} +0 -0
- /package/dist-cjs/http/{response-parsers.js.map → response-parsers.cjs.map} +0 -0
- /package/dist-cjs/http/{serialize.js.map → serialize.cjs.map} +0 -0
- /package/dist-cjs/http/{serviceFetch.js.map → serviceFetch.cjs.map} +0 -0
- /package/dist-cjs/{logging.js.map → logging.cjs.map} +0 -0
- /package/dist-cjs/misc/{arbitrary.js.map → arbitrary.cjs.map} +0 -0
- /package/dist-cjs/misc/{throwAnError.js.map → throwAnError.cjs.map} +0 -0
- /package/dist-cjs/misc/{toLowercase.js.map → toLowercase.cjs.map} +0 -0
- /package/dist-cjs/persistent-storage/{DefaultStore.js.map → DefaultStore.cjs.map} +0 -0
- /package/dist-cjs/{types.js.map → types.cjs.map} +0 -0
package/dist/Beacon.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { EntryPoint } from "./EntryPoint.tsx";
|
|
2
2
|
import { enableLogging } from "./logging.ts";
|
|
3
3
|
import { Client } from "./Client.ts";
|
|
4
|
-
|
|
4
|
+
import { beacon } from "./Beacon.tsx";
|
|
5
|
+
export { Client, EntryPoint, enableLogging, beacon };
|
|
5
6
|
export declare function usesCodeThatThrowsAnError({ rethrow }?: {
|
|
6
7
|
rethrow: boolean;
|
|
7
8
|
}): void | Error;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAErC,OAAO,EACL,MAAM,EACN,UAAU,EACV,aAAa,EACb,MAAM,EACP,CAAC;AAEF,wBAAgB,yBAAyB,CACvC,EAAE,OAAO,EAAE,GAAE;IAAE,OAAO,EAAE,OAAO,CAAA;CAAuB,GACrD,IAAI,GAAG,KAAK,CAkBd;AAED,qBAAa,WAAW;IAEtB,MAAM,CAAC,OAAO,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAIrC,MAAM,CAAC,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;CAG1C"}
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,8 @@ import { toLowercase } from "./misc/toLowercase.js";
|
|
|
3
3
|
import { EntryPoint } from "./EntryPoint.js";
|
|
4
4
|
import { enableLogging } from "./logging.js";
|
|
5
5
|
import { Client } from "./Client.js";
|
|
6
|
-
|
|
6
|
+
import { beacon } from "./Beacon.js";
|
|
7
|
+
export { Client, EntryPoint, enableLogging, beacon };
|
|
7
8
|
export function usesCodeThatThrowsAnError({ rethrow } = { rethrow: false }) {
|
|
8
9
|
try {
|
|
9
10
|
throwAnError();
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAkB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAkB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAc,CAAA;AAErC,OAAO,EACL,MAAM,EACN,UAAU,EACV,aAAa,EACb,MAAM,EACP,CAAC;AAEF,MAAM,UAAU,yBAAyB,CACvC,EAAE,OAAO,KAA2B,EAAE,OAAO,EAAE,KAAK,EAAE;IAEtD,IAAI,CAAC;QACH,YAAY,EAAE,CAAC;IACjB,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,MAAM,KAAK,GAAY,CAAC,CAAC;QACzB,sEAAsE;QACtE,MAAM,SAAS,GAAG,IAAI,KAAK,CAAC,0CAA0C,EAAE;YACtE,KAAK;SACN,CAAC,CAAC;QAEH,IAAI,OAAO,EAAE,CAAC;YACZ,MAAM,SAAS,CAAC;QAClB,CAAC;QAED,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO;AACT,CAAC;AAED,MAAM,OAAO,WAAW;IACtB,sCAAsC;IACtC,MAAM,CAAC,OAAO,CAAC,KAAa;QAC1B,OAAO,WAAW,CAAC,KAAK,CAAC,CAAC;IAC5B,CAAC;IAED,MAAM,CAAC,WAAW,CAAC,KAAa;QAC9B,OAAO,WAAW,CAAC,KAAK,CAAC,CAAC;IAC5B,CAAC;CACF"}
|
|
@@ -7,6 +7,6 @@ function BeaconComponent() {
|
|
|
7
7
|
return (0, jsx_runtime_1.jsx)("h1", { children: beacon() });
|
|
8
8
|
}
|
|
9
9
|
function beacon() {
|
|
10
|
-
return 'Beacon: 👨🏻🔬
|
|
10
|
+
return 'Beacon: 👨🏻🔬 CommonJS 🧐';
|
|
11
11
|
}
|
|
12
|
-
//# sourceMappingURL=Beacon.
|
|
12
|
+
//# sourceMappingURL=Beacon.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Client = void 0;
|
|
4
|
-
const ScopedServiceClient_ts_1 = require("./http/ScopedServiceClient.
|
|
4
|
+
const ScopedServiceClient_ts_1 = require("./http/ScopedServiceClient.cjs");
|
|
5
5
|
class Client {
|
|
6
6
|
accountClient;
|
|
7
7
|
userClient;
|
|
@@ -17,4 +17,4 @@ class Client {
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
exports.Client = Client;
|
|
20
|
-
//# sourceMappingURL=Client.
|
|
20
|
+
//# sourceMappingURL=Client.cjs.map
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.EntryPoint = EntryPoint;
|
|
4
4
|
exports.entryPointParser = entryPointParser;
|
|
5
5
|
const react_1 = require("react");
|
|
6
|
-
const logging_ts_1 = require("./logging.
|
|
7
|
-
const Client_ts_1 = require("./Client.
|
|
6
|
+
const logging_ts_1 = require("./logging.cjs");
|
|
7
|
+
const Client_ts_1 = require("./Client.cjs");
|
|
8
8
|
const serviceClient = new Client_ts_1.Client(); // TODO: fetch from container/store
|
|
9
9
|
function EntryPoint({ children, ...props }) {
|
|
10
10
|
const configs = entryPointParser(props);
|
|
@@ -73,4 +73,4 @@ function entryPointParser(props) {
|
|
|
73
73
|
}
|
|
74
74
|
return configs;
|
|
75
75
|
}
|
|
76
|
-
//# sourceMappingURL=EntryPoint.
|
|
76
|
+
//# sourceMappingURL=EntryPoint.cjs.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ExperimentationRoot = ExperimentationRoot;
|
|
4
4
|
const react_1 = require("react");
|
|
5
|
-
const logging_ts_1 = require("./logging.
|
|
5
|
+
const logging_ts_1 = require("./logging.cjs");
|
|
6
6
|
function ExperimentationRoot({ children, ...props }) {
|
|
7
7
|
const { disableHydration = false, hasVerboseLogs = false, applicationName, } = props;
|
|
8
8
|
const hasVerboseLogsRef = (0, react_1.useRef)(hasVerboseLogs);
|
|
@@ -24,4 +24,4 @@ function initialize(a) {
|
|
|
24
24
|
function hydrate(a) {
|
|
25
25
|
(0, logging_ts_1.debug)(`TODO: hydrate - ${a}`);
|
|
26
26
|
}
|
|
27
|
-
//# sourceMappingURL=ExperimentationRoot.
|
|
27
|
+
//# sourceMappingURL=ExperimentationRoot.cjs.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ScopedServiceClient = void 0;
|
|
4
|
-
const logging_ts_1 = require("../logging.
|
|
5
|
-
const createEndpoint_ts_1 = require("./createEndpoint.
|
|
6
|
-
const response_parsers_ts_1 = require("./response-parsers.
|
|
7
|
-
const serviceFetch_ts_1 = require("./serviceFetch.
|
|
8
|
-
const serialize_ts_1 = require("./serialize.
|
|
4
|
+
const logging_ts_1 = require("../logging.cjs");
|
|
5
|
+
const createEndpoint_ts_1 = require("./createEndpoint.cjs");
|
|
6
|
+
const response_parsers_ts_1 = require("./response-parsers.cjs");
|
|
7
|
+
const serviceFetch_ts_1 = require("./serviceFetch.cjs");
|
|
8
|
+
const serialize_ts_1 = require("./serialize.cjs");
|
|
9
9
|
class ScopedServiceClient {
|
|
10
10
|
scope;
|
|
11
11
|
host;
|
|
@@ -61,4 +61,4 @@ class ScopedServiceClient {
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
exports.ScopedServiceClient = ScopedServiceClient;
|
|
64
|
-
//# sourceMappingURL=ScopedServiceClient.
|
|
64
|
+
//# sourceMappingURL=ScopedServiceClient.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.createEndpoint = createEndpoint;
|
|
4
|
-
const logging_ts_1 = require("../logging.
|
|
4
|
+
const logging_ts_1 = require("../logging.cjs");
|
|
5
5
|
function createEndpoint(type, resource, options) {
|
|
6
6
|
const { host, experiment } = options || {};
|
|
7
7
|
const url = host ? new URL(host) : null;
|
|
@@ -12,4 +12,4 @@ function createEndpoint(type, resource, options) {
|
|
|
12
12
|
}
|
|
13
13
|
return `${finalHost}/api/services/experiments/${type}/experiments/${resource}`;
|
|
14
14
|
}
|
|
15
|
-
//# sourceMappingURL=createEndpoint.
|
|
15
|
+
//# sourceMappingURL=createEndpoint.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.parseParticipation = parseParticipation;
|
|
4
|
-
const logging_ts_1 = require("../logging.
|
|
4
|
+
const logging_ts_1 = require("../logging.cjs");
|
|
5
5
|
function parseParticipation(experimentName, result) {
|
|
6
6
|
if (!result || result instanceof Response || result.inactive) {
|
|
7
7
|
(0, logging_ts_1.debug)("result parsed as inactive", result);
|
|
@@ -24,4 +24,4 @@ function parseParticipation(experimentName, result) {
|
|
|
24
24
|
variation: result.variation,
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
|
-
//# sourceMappingURL=response-parsers.
|
|
27
|
+
//# sourceMappingURL=response-parsers.cjs.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.serviceFetch = serviceFetch;
|
|
4
|
-
const logging_ts_1 = require("../logging.
|
|
5
|
-
const globalFetch_ts_1 = require("./globalFetch.
|
|
4
|
+
const logging_ts_1 = require("../logging.cjs");
|
|
5
|
+
const globalFetch_ts_1 = require("./globalFetch.cjs");
|
|
6
6
|
async function serviceFetch(endpoint, options) {
|
|
7
7
|
const { skipJson = false, ...fetchOptions } = options ?? {};
|
|
8
8
|
try {
|
|
@@ -22,4 +22,4 @@ async function serviceFetch(endpoint, options) {
|
|
|
22
22
|
return null;
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
//# sourceMappingURL=serviceFetch.
|
|
25
|
+
//# sourceMappingURL=serviceFetch.cjs.map
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CaseChanger = exports.enableLogging = exports.EntryPoint = exports.Client = void 0;
|
|
3
|
+
exports.CaseChanger = exports.beacon = exports.enableLogging = exports.EntryPoint = exports.Client = void 0;
|
|
4
4
|
exports.usesCodeThatThrowsAnError = usesCodeThatThrowsAnError;
|
|
5
|
-
const throwAnError_ts_1 = require("./misc/throwAnError.
|
|
6
|
-
const toLowercase_ts_1 = require("./misc/toLowercase.
|
|
7
|
-
const EntryPoint_tsx_1 = require("./EntryPoint.
|
|
5
|
+
const throwAnError_ts_1 = require("./misc/throwAnError.cjs");
|
|
6
|
+
const toLowercase_ts_1 = require("./misc/toLowercase.cjs");
|
|
7
|
+
const EntryPoint_tsx_1 = require("./EntryPoint.cjs");
|
|
8
8
|
Object.defineProperty(exports, "EntryPoint", { enumerable: true, get: function () { return EntryPoint_tsx_1.EntryPoint; } });
|
|
9
|
-
const logging_ts_1 = require("./logging.
|
|
9
|
+
const logging_ts_1 = require("./logging.cjs");
|
|
10
10
|
Object.defineProperty(exports, "enableLogging", { enumerable: true, get: function () { return logging_ts_1.enableLogging; } });
|
|
11
|
-
const Client_ts_1 = require("./Client.
|
|
11
|
+
const Client_ts_1 = require("./Client.cjs");
|
|
12
12
|
Object.defineProperty(exports, "Client", { enumerable: true, get: function () { return Client_ts_1.Client; } });
|
|
13
|
+
const Beacon_tsx_1 = require("./Beacon.cjs");
|
|
14
|
+
Object.defineProperty(exports, "beacon", { enumerable: true, get: function () { return Beacon_tsx_1.beacon; } });
|
|
13
15
|
function usesCodeThatThrowsAnError({ rethrow } = { rethrow: false }) {
|
|
14
16
|
try {
|
|
15
17
|
(0, throwAnError_ts_1.throwAnError)();
|
|
@@ -37,4 +39,4 @@ class CaseChanger {
|
|
|
37
39
|
}
|
|
38
40
|
}
|
|
39
41
|
exports.CaseChanger = CaseChanger;
|
|
40
|
-
//# sourceMappingURL=index.
|
|
42
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAcA,8DAoBC;AAlCD,4DAAsD;AACtD,0DAAoD;AACpD,oDAA8C;AAO5C,2FAPO,2BAAU,OAOP;AANZ,6CAA6C;AAO3C,8FAPO,0BAAa,OAOP;AANf,2CAAoC;AAIlC,uFAJO,kBAAM,OAIP;AAHR,4CAAqC;AAMnC,uFANO,mBAAM,OAMP;AAGR,SAAgB,yBAAyB,CACvC,EAAE,OAAO,KAA2B,EAAE,OAAO,EAAE,KAAK,EAAE;IAEtD,IAAI,CAAC;QACH,IAAA,8BAAY,GAAE,CAAC;IACjB,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,MAAM,KAAK,GAAY,CAAC,CAAC;QACzB,sEAAsE;QACtE,MAAM,SAAS,GAAG,IAAI,KAAK,CAAC,0CAA0C,EAAE;YACtE,KAAK;SACN,CAAC,CAAC;QAEH,IAAI,OAAO,EAAE,CAAC;YACZ,MAAM,SAAS,CAAC;QAClB,CAAC;QAED,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO;AACT,CAAC;AAED,MAAa,WAAW;IACtB,sCAAsC;IACtC,MAAM,CAAC,OAAO,CAAC,KAAa;QAC1B,OAAO,IAAA,4BAAW,EAAC,KAAK,CAAC,CAAC;IAC5B,CAAC;IAED,MAAM,CAAC,WAAW,CAAC,KAAa;QAC9B,OAAO,IAAA,4BAAW,EAAC,KAAK,CAAC,CAAC;IAC5B,CAAC;CACF;AATD,kCASC"}
|
package/dist-cjs/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { EntryPoint } from "./EntryPoint.tsx";
|
|
2
2
|
import { enableLogging } from "./logging.ts";
|
|
3
3
|
import { Client } from "./Client.ts";
|
|
4
|
-
|
|
4
|
+
import { beacon } from "./Beacon.tsx";
|
|
5
|
+
export { Client, EntryPoint, enableLogging, beacon };
|
|
5
6
|
export declare function usesCodeThatThrowsAnError({ rethrow }?: {
|
|
6
7
|
rethrow: boolean;
|
|
7
8
|
}): void | Error;
|
package/dist-cjs/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAErC,OAAO,EACL,MAAM,EACN,UAAU,EACV,aAAa,EACb,MAAM,EACP,CAAC;AAEF,wBAAgB,yBAAyB,CACvC,EAAE,OAAO,EAAE,GAAE;IAAE,OAAO,EAAE,OAAO,CAAA;CAAuB,GACrD,IAAI,GAAG,KAAK,CAkBd;AAED,qBAAa,WAAW;IAEtB,MAAM,CAAC,OAAO,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAIrC,MAAM,CAAC,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;CAG1C"}
|
package/package.json
CHANGED
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
},
|
|
15
15
|
"exports": {
|
|
16
16
|
".": {
|
|
17
|
-
"require": "./dist-cjs/index.
|
|
17
|
+
"require": "./dist-cjs/index.cjs",
|
|
18
18
|
"default": "./dist/index.js"
|
|
19
19
|
},
|
|
20
20
|
"./*.js": {
|
|
21
|
-
"require": "./dist-cjs/*.
|
|
21
|
+
"require": "./dist-cjs/*.cjs",
|
|
22
22
|
"default": "./dist/*.js"
|
|
23
23
|
}
|
|
24
24
|
},
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
"private": false,
|
|
37
37
|
"scripts": {
|
|
38
|
-
"build": "
|
|
38
|
+
"build": "./script/build.sh",
|
|
39
39
|
"prepare": "npm run build",
|
|
40
40
|
"preversion": "npm run typecheck",
|
|
41
41
|
"server-start": "php -S localhost:3000 ./script/server.php",
|
|
@@ -43,6 +43,6 @@
|
|
|
43
43
|
"test:watch": "./script/test-watch.sh",
|
|
44
44
|
"typecheck": "tsc --build --noEmit"
|
|
45
45
|
},
|
|
46
|
-
"version": "2.
|
|
46
|
+
"version": "2.14.0",
|
|
47
47
|
"type": "module"
|
|
48
48
|
}
|
package/dist-cjs/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAYA,8DAoBC;AAhCD,4DAAsD;AACtD,0DAAoD;AACpD,oDAA8C;AAM5C,2FANO,2BAAU,OAMP;AALZ,6CAA6C;AAM3C,8FANO,0BAAa,OAMP;AALf,2CAAoC;AAGlC,uFAHO,kBAAM,OAGP;AAKR,SAAgB,yBAAyB,CACvC,EAAE,OAAO,KAA2B,EAAE,OAAO,EAAE,KAAK,EAAE;IAEtD,IAAI,CAAC;QACH,IAAA,8BAAY,GAAE,CAAC;IACjB,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,MAAM,KAAK,GAAY,CAAC,CAAC;QACzB,sEAAsE;QACtE,MAAM,SAAS,GAAG,IAAI,KAAK,CAAC,0CAA0C,EAAE;YACtE,KAAK;SACN,CAAC,CAAC;QAEH,IAAI,OAAO,EAAE,CAAC;YACZ,MAAM,SAAS,CAAC;QAClB,CAAC;QAED,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO;AACT,CAAC;AAED,MAAa,WAAW;IACtB,sCAAsC;IACtC,MAAM,CAAC,OAAO,CAAC,KAAa;QAC1B,OAAO,IAAA,4BAAW,EAAC,KAAK,CAAC,CAAC;IAC5B,CAAC;IAED,MAAM,CAAC,WAAW,CAAC,KAAa;QAC9B,OAAO,IAAA,4BAAW,EAAC,KAAK,CAAC,CAAC;IAC5B,CAAC;CACF;AATD,kCASC"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|