@builder.io/sdk 1.1.27 → 1.1.28-6
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/.envrc +1 -0
- package/.task/checksum/build +1 -0
- package/CHANGELOG.md +1 -1
- package/Taskfile.yaml +15 -0
- package/coverage/clover.xml +6 -0
- package/coverage/coverage-final.json +1 -0
- package/coverage/lcov-report/base.css +224 -0
- package/coverage/lcov-report/block-navigation.js +87 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +101 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +2 -0
- package/coverage/lcov-report/query-string.class.ts.html +328 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +196 -0
- package/coverage/lcov-report/url.ts.html +253 -0
- package/coverage/lcov.info +0 -0
- package/dist/index.browser.js +1 -1
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs.js +107 -62
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +107 -62
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +107 -62
- package/dist/index.umd.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/src/builder.class.d.ts +0 -5
- package/dist/src/builder.class.js +31 -52
- package/dist/src/builder.class.js.map +1 -1
- package/dist/src/functions/fetch.function.d.ts +2 -2
- package/dist/src/functions/fetch.function.js +10 -7
- package/dist/src/functions/fetch.function.js.map +1 -1
- package/dist/src/functions/to-error.d.ts +13 -0
- package/dist/src/functions/to-error.js +22 -0
- package/dist/src/functions/to-error.js.map +1 -0
- package/dist/src/url.d.ts +9 -0
- package/dist/src/url.js +51 -0
- package/dist/src/url.js.map +1 -0
- package/dist/src/url.test.d.ts +1 -0
- package/dist/src/url.test.js +129 -0
- package/dist/src/url.test.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +1 -1
- package/tsconfig.json +15 -3
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
13
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
|
+
function step(op) {
|
|
16
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
+
while (_) try {
|
|
18
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
|
+
switch (op[0]) {
|
|
21
|
+
case 0: case 1: t = op; break;
|
|
22
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
23
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
24
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
25
|
+
default:
|
|
26
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
27
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
28
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
29
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
30
|
+
if (t[2]) _.ops.pop();
|
|
31
|
+
_.trys.pop(); continue;
|
|
32
|
+
}
|
|
33
|
+
op = body.call(thisArg, _);
|
|
34
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
35
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
var url_1 = require("./url");
|
|
40
|
+
var url_2 = require("url");
|
|
41
|
+
describe('.parse', function () {
|
|
42
|
+
test('can parse a full url', function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
43
|
+
return __generator(this, function (_a) {
|
|
44
|
+
expect((0, url_1.parse)('http://example.com/foo/bar?q=1')).toEqual({
|
|
45
|
+
auth: null,
|
|
46
|
+
hash: null,
|
|
47
|
+
host: 'example.com',
|
|
48
|
+
hostname: 'example.com',
|
|
49
|
+
href: 'http://example.com/foo/bar?q=1',
|
|
50
|
+
path: '/foo/bar?q=1',
|
|
51
|
+
pathname: '/foo/bar',
|
|
52
|
+
port: null,
|
|
53
|
+
protocol: 'http:',
|
|
54
|
+
query: 'q=1',
|
|
55
|
+
search: '?q=1',
|
|
56
|
+
slashes: true,
|
|
57
|
+
});
|
|
58
|
+
return [2 /*return*/];
|
|
59
|
+
});
|
|
60
|
+
}); });
|
|
61
|
+
test('can parse a path', function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
62
|
+
return __generator(this, function (_a) {
|
|
63
|
+
expect((0, url_1.parse)('/foo/bar?q=1')).toEqual({
|
|
64
|
+
auth: null,
|
|
65
|
+
hash: null,
|
|
66
|
+
host: null,
|
|
67
|
+
hostname: null,
|
|
68
|
+
href: '/foo/bar?q=1',
|
|
69
|
+
path: '/foo/bar?q=1',
|
|
70
|
+
pathname: '/foo/bar',
|
|
71
|
+
port: null,
|
|
72
|
+
protocol: null,
|
|
73
|
+
query: 'q=1',
|
|
74
|
+
search: '?q=1',
|
|
75
|
+
slashes: null,
|
|
76
|
+
});
|
|
77
|
+
return [2 /*return*/];
|
|
78
|
+
});
|
|
79
|
+
}); });
|
|
80
|
+
test('can parse a url that is missing slashes', function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
81
|
+
return __generator(this, function (_a) {
|
|
82
|
+
expect((0, url_1.parse)('http:example.com/foo/bar?q=1')).toEqual({
|
|
83
|
+
auth: null,
|
|
84
|
+
hash: null,
|
|
85
|
+
host: 'example.com',
|
|
86
|
+
hostname: 'example.com',
|
|
87
|
+
href: 'http://example.com/foo/bar?q=1',
|
|
88
|
+
path: '/foo/bar?q=1',
|
|
89
|
+
pathname: '/foo/bar',
|
|
90
|
+
port: null,
|
|
91
|
+
protocol: 'http:',
|
|
92
|
+
query: 'q=1',
|
|
93
|
+
search: '?q=1',
|
|
94
|
+
slashes: false,
|
|
95
|
+
});
|
|
96
|
+
return [2 /*return*/];
|
|
97
|
+
});
|
|
98
|
+
}); });
|
|
99
|
+
describe('behaves the same as the old query function', function () {
|
|
100
|
+
describe.each([{ url: '/foo/bar?a=1&b=2' }, { url: 'http://example.com/foo/bar?a=1&b=2' }])('with url `$url`', function (_a) {
|
|
101
|
+
var url = _a.url;
|
|
102
|
+
var expected = Object.assign({}, (0, url_2.parse)(url));
|
|
103
|
+
var actual = (0, url_1.parse)(url);
|
|
104
|
+
test.each([
|
|
105
|
+
{ prop: 'query' },
|
|
106
|
+
{ prop: 'port' },
|
|
107
|
+
{ prop: 'auth' },
|
|
108
|
+
{ prop: 'hash' },
|
|
109
|
+
{ prop: 'host' },
|
|
110
|
+
{ prop: 'hostname' },
|
|
111
|
+
{ prop: 'href' },
|
|
112
|
+
{ prop: 'path' },
|
|
113
|
+
{ prop: 'pathname' },
|
|
114
|
+
{ prop: 'protocol' },
|
|
115
|
+
{ prop: 'search' },
|
|
116
|
+
{ prop: 'slashes' },
|
|
117
|
+
])('`$prop` is the same', function (_a) {
|
|
118
|
+
var prop = _a.prop;
|
|
119
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
120
|
+
return __generator(this, function (_b) {
|
|
121
|
+
expect(actual[prop]).toEqual(expected[prop]);
|
|
122
|
+
return [2 /*return*/];
|
|
123
|
+
});
|
|
124
|
+
});
|
|
125
|
+
});
|
|
126
|
+
});
|
|
127
|
+
});
|
|
128
|
+
});
|
|
129
|
+
//# sourceMappingURL=url.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"url.test.js","sourceRoot":"","sources":["../../src/url.test.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"program":{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../src/functions/next-tick.function.ts","../src/classes/query-string.class.ts","../package.json","../src/classes/observable.class.ts","../src/classes/promise.class.ts","../src/functions/server-only-require.function.ts","../src/functions/fetch.function.ts","../src/functions/assign.function.ts","../src/functions/throttle.function.ts","../src/classes/animator.class.ts","../src/types/element.ts","../src/functions/get-top-level-domain.ts","../src/classes/cookies.class.ts","../src/functions/omit.function.ts","../src/types/content.ts","../src/functions/uuid.ts","../src/url.ts","../src/functions/to-error.ts","../src/builder.class.ts","../src/constants/builder.ts","../index.ts","../src/url.test.ts","../src/classes/query-string.class.test.ts","../src/functions/finder.function.ts","../src/typings/index.d.ts","../../../node_modules/@types/events/index.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/base.d.ts","../node_modules/@types/node/ts3.2/index.d.ts","../types.d.ts","../node_modules/@babel/types/lib/index.d.ts","../node_modules/@types/babel__generator/index.d.ts","../node_modules/@babel/parser/typings/babel-parser.d.ts","../node_modules/@types/babel__template/index.d.ts","../node_modules/@types/babel__traverse/index.d.ts","../node_modules/@types/babel__core/index.d.ts","../node_modules/@types/estree/index.d.ts","../node_modules/@types/minimatch/index.d.ts","../node_modules/@types/glob/index.d.ts","../node_modules/@types/graceful-fs/index.d.ts","../node_modules/@types/istanbul-lib-coverage/index.d.ts","../node_modules/@types/istanbul-lib-report/index.d.ts","../node_modules/@types/istanbul-reports/index.d.ts","../node_modules/jest-diff/build/cleanupSemantic.d.ts","../node_modules/pretty-format/build/types.d.ts","../node_modules/pretty-format/build/index.d.ts","../node_modules/jest-diff/build/types.d.ts","../node_modules/jest-diff/build/diffLines.d.ts","../node_modules/jest-diff/build/printDiffs.d.ts","../node_modules/jest-diff/build/index.d.ts","../node_modules/@types/jest/index.d.ts","../node_modules/@types/js-cookie/index.d.ts","../node_modules/@types/json-stable-stringify/index.d.ts","../node_modules/@types/node-fetch/index.d.ts","../node_modules/@types/prettier/index.d.ts","../node_modules/@types/qs/index.d.ts","../node_modules/@types/query-string/index.d.ts","../node_modules/@types/stack-utils/index.d.ts","../node_modules/@types/ua-parser-js/index.d.ts","../node_modules/@types/virtual-dom/index.d.ts","../node_modules/@types/yargs-parser/index.d.ts","../node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"3ac1b83264055b28c0165688fda6dfcc39001e9e7828f649299101c23ad0a0c3","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9",{"version":"72704b10d97777e15f1a581b73f88273037ef752d2e50b72287bd0a90af64fe6","affectsGlobalScope":true},{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},"9ee9a79bfc7635fbb8d71fde2d9d11c8d3c53cab239f6d7342c188490174fd93","0860a67bcaf5bcad3044e0f0b532fb61a03e603b6b875590eb7fb096a700ecb1",{"version":"16ba17e3f0d097788744938629d9ac687e851cb2acb34925c3512da47ac716ca","signature":"57e2ae82625c7d84cc9a07cd15b264bfc81090ae1cd46e81672fc4300989a1bd"},"b06a1fd2c80546cb44491cfb0133d5b734bf195a5dddaedc913456803dbdae40","c02816fa89998a9fde98a12ea3baffb94e0198a9a728258f07b24e725503a524","738698eacc079fcd0602a437a46ce744d64c7e1fc7c27b1e8b0fe1163cd8799d",{"version":"2681962c65d1e597bce7c128237e895f159bacd0ad7d2a030e8940fac24e1701","signature":"889dd6eee2524ba18917c64739d20f2971bf1827551dcfe7f250d4059ef8c1ae"},"e460753a5bfea6c688fdaac978465fd567816a14300209cbe95a4aa3baac478b","b86464d97a671a400be3add6091ae3ba0193d3a5ba1894047ee8fcd6631de323","478d83f581f5f77714b59e7c5da666e9fc69cca09cf56722591a12dc1260c872","bb2b31be165f27d6d6c71c78c7f960316137e499256d4c8244fed18eb452a24e","3f20e103b33ff882739ffe6c822e1350318c809563d90de79da56a33f1c97841","80d76a8becbc9c3e90490f7588ca59df12638af3c818a9628b925cbc577c6bdb","4769509030a4e8d0ba4e17608f6019d651fb19f05b866fa3a557a49d21d40fe3",{"version":"8b86ad8122ee5093973d0d4c5974046df60c9b4372a973a0c25575f189cc5fd0","signature":"dd52a1204ccd13bb75097b486954339163ef4832834360721b0346ef3dd503bd"},"78d37663836142d837ddf540d739bae79a34b3ec1ac6a58ffa2023aca2f8595a","b5e9213fff9d34a035e22a03158bddd58cc43a40f11e8153c3b66e67b39e054e","beb97b83d3e7da15164bf82728b4e725010e083fcba0b0a9f80406449eb03c6d",{"version":"12f37d090aed6aa827a8b71e5fb2a9d1f659044fcd09d98e205b5fa143a1e9f0","signature":"597adb6e2fecb31e0ca2c7eb992cf89c9ebed3a129ec487254eb5dafba29285b"},{"version":"0d6341263951e7ae0bb4d6a3b6aec116108cf8f2f7096bfe4f32d6e2274bf63d","signature":"c2a9652d6a4afcc81992b0a24854cf65c22600dfc91709784a5eeaee4dac13cf"},{"version":"390ba944b005719a46df51736d90672897620de7b05644066be2704a78804e70","signature":"3820787bfa2dbdd954f1fec7ba908b6b210d91600b97a2d3e8ec91dfe00d1754"},"d0da49170ec964867e38e8b146d68693c4a4d07a6d1e419ecc17c80513ac99a6","55dcbfaf97bcc8a604f850f17534acc3dba7357b54b5b69546c7c4b5ecc4a62f","b2a503cef0f8759581e77a03e663b4355bb11253ab030c8184f54c7675ac53d8","979be1f15938f4dbafa42d9b22aa870e1f456918535abba11a352533ad36b0f5","400db42c3a46984118bff14260d60cec580057dc1ab4c2d7310beb643e4f5935","29cc6a94ae5570b51c37343354e40330e05025f6d2a796711f2f9b8536ce702b",{"version":"9e9e4d43e612507b853fcb258c83382e8bfe1cbfbdd0c8c3cebc23c910d3d444","affectsGlobalScope":true},"1de0ff6200b92798a5aef43f57029c79dbf69932037dee1c007fdd2c562db258","48e4ab4540aa291062a9f5b223dd5cebde35c2a9a7007d99b91d77e71d4266dc","d5d7b68f5369a210c235cd65458369888f8b839192d088c964f21cab3ac954db","cc957354aa3c94c9961ebf46282cfde1e81d107fc5785a61f62c67f1dd3ac2eb","64b867c61effed7b5bc0cc06b3d8eac23b067a3fba581fc7d3c292fa593e6a45","93de1c6dab503f053efe8d304cb522bb3a89feab8c98f307a674a4fae04773e9","3b043cf9a81854a72963fdb57d1884fc4da1cf5be69b5e0a4c5b751e58cb6d88","dd5647a9ccccb2b074dca8a02b00948ac293091ebe73fdf2e6e98f718819f669","3e41ed5b061b1734fa545e4309f99c494960557372f64b1ef60b139b8f5379dc","8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649","fd326577c62145816fe1acc306c734c2396487f76719d3785d4e825b34540b33","3ebae8c00411116a66fca65b08228ea0cf0b72724701f9b854442100aab55aba","8b06ac3faeacb8484d84ddb44571d8f410697f98d7bfa86c0fda60373a9f5215","7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee","f5638f7c2f12a9a1a57b5c41b3c1ea7db3876c003bab68e6a57afd6bcc169af0","d8aab31ba8e618cc3eea10b0945de81cb93b7e8150a013a482332263b9305322","462bccdf75fcafc1ae8c30400c9425e1a4681db5d605d1a0edb4f990a54d8094","5923d8facbac6ecf7c84739a5c701a57af94a6f6648d6229a6c768cf28f0f8cb","7adecb2c3238794c378d336a8182d4c3dd2c4fa6fa1785e2797a3db550edea62","dc12dc0e5aa06f4e1a7692149b78f89116af823b9e1f1e4eae140cd3e0e674e6","1bfc6565b90c8771615cd8cfcf9b36efc0275e5e83ac7d9181307e96eb495161","8a8a96898906f065f296665e411f51010b51372fa260d5373bf9f64356703190",{"version":"6ff2ca51e2c9d88d6d904c481879b12ec0cad2a69b88e220859a52207444773b","affectsGlobalScope":true},"a1ec23b323ad57b2b13707ea953605c25ce9c8e2d011ae356e247e4b800ab7ec","0ff503ae2e4623981da229c3bd11b812985e36199641993159e7b65457c3ea48","22f93f14b0c14e882bde0f7681f3c713d29c6471cfec9cd6428e8cc2ef5e32e8","501260c8b07a6e423fb6ebdea704e732ad529208e4fbbc517836fac8f8ae8895","c048b9659fff2e130bd6408317fa8cc833e50a1e8b8bdbf81544848b2c278c59","191a86aef5e87c7ce1cb42f17d8d3fbe66f74dff7e396b1f0cff124cc66ae97d","b0d10e46cfe3f6c476b69af02eaa38e4ccc7430221ce3109ae84bb9fb8282298",{"version":"59cd3c852c5b38f67d5c2fbbdbb2c2b5609700195fab22220b2a95498d2cc6f1","affectsGlobalScope":true},{"version":"2512251831b4d15e3933285ff6edcc412c662fd66f4daf08a9503c5b5a36e895","affectsGlobalScope":true},"f7e133b20ee2669b6c0e5d7f0cd510868c57cd64b283e68c7f598e30ce9d76d2","6ba73232c9d3267ca36ddb83e335d474d2c0e167481e3dec416c782894e11438"],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationDir":"./","esModuleInterop":true,"module":1,"outDir":"./","skipLibCheck":true,"sourceMap":true,"strict":true,"target":1},"fileIdsList":[[48,49],[24,31,35,39,40,48,49],[48,49,51],[48,49,51,52,53,54,55],[48,49,51,53],[48,49,58],[48,49,61],[48,49,62],[48,49,66,70],[47,48,49],[48],[48,49,81],[48,49,64,67],[48,49,64,67,68,69],[48,49,66],[48,49,65],[21,22,23,24,26,27,28,29,30,31,32,33,34,35,36,37,38,48,49,50],[28,29,48,49],[32,48,49],[21,48,49],[22,48,49],[39,48,49],[25,26,48,49],[31,39,48,49],[37,48,49],[24,31,35,39,40],[21,24,29,30,31,33,35,48],[39],[31,39]],"referencedMap":[[46,1],[41,2],[53,3],[51,1],[56,4],[52,3],[54,5],[55,3],[57,1],[59,6],[60,1],[61,1],[62,7],[63,8],[71,9],[72,1],[73,1],[58,1],[74,1],[48,10],[47,1],[49,11],[75,1],[76,1],[77,1],[78,1],[79,1],[80,1],[81,1],[82,12],[64,1],[68,13],[70,14],[69,13],[67,15],[66,16],[65,1],[5,1],[7,1],[6,1],[2,1],[8,1],[9,1],[10,1],[11,1],[12,1],[13,1],[14,1],[15,1],[3,1],[4,1],[19,1],[16,1],[17,1],[18,1],[20,1],[1,1],[23,1],[39,17],[30,18],[33,19],[24,1],[25,20],[43,21],[22,1],[40,22],[28,1],[27,23],[44,1],[32,1],[21,1],[34,1],[26,1],[29,1],[38,1],[36,1],[35,24],[31,1],[45,1],[42,25],[37,1],[50,1]],"exportedModulesMap":[[46,1],[41,26],[53,3],[51,1],[56,4],[52,3],[54,5],[55,3],[57,1],[59,6],[60,1],[61,1],[62,7],[63,8],[71,9],[72,1],[73,1],[58,1],[74,1],[48,10],[47,1],[49,11],[75,1],[76,1],[77,1],[78,1],[79,1],[80,1],[81,1],[82,12],[64,1],[68,13],[70,14],[69,13],[67,15],[66,16],[65,1],[5,1],[7,1],[6,1],[2,1],[8,1],[9,1],[10,1],[11,1],[12,1],[13,1],[14,1],[15,1],[3,1],[4,1],[19,1],[16,1],[17,1],[18,1],[20,1],[1,1],[39,27],[30,18],[33,19],[24,1],[25,20],[43,21],[22,1],[40,28],[28,1],[44,1],[32,1],[21,1],[34,1],[26,1],[29,1],[38,1],[36,1],[35,29],[31,1],[45,1],[42,25],[37,1],[50,1]],"semanticDiagnosticsPerFile":[46,41,53,51,56,52,54,55,57,59,60,61,62,63,71,72,73,58,74,48,47,49,75,76,77,78,79,80,81,82,64,68,70,69,67,66,65,5,7,6,2,8,9,10,11,12,13,14,15,3,4,19,16,17,18,20,1,23,39,30,33,24,25,43,22,40,28,27,44,32,21,34,26,29,38,36,35,31,45,42,37,50]},"version":"4.6.4"}
|
package/package.json
CHANGED
package/tsconfig.json
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
"target": "es5",
|
|
4
4
|
"outDir": "dist",
|
|
5
5
|
"module": "esnext",
|
|
6
|
+
"composite": true,
|
|
6
7
|
"strict": true,
|
|
7
8
|
"sourceMap": true,
|
|
8
9
|
"skipLibCheck": true,
|
|
@@ -10,10 +11,21 @@
|
|
|
10
11
|
"moduleResolution": "node",
|
|
11
12
|
"resolveJsonModule": true,
|
|
12
13
|
"declarationDir": "dist",
|
|
13
|
-
"lib": [
|
|
14
|
+
"lib": [
|
|
15
|
+
"dom",
|
|
16
|
+
"es5",
|
|
17
|
+
"es2015.promise"
|
|
18
|
+
],
|
|
14
19
|
"allowSyntheticDefaultImports": true,
|
|
15
20
|
"esModuleInterop": true,
|
|
16
|
-
"typeRoots": [
|
|
21
|
+
"typeRoots": [
|
|
22
|
+
"./node_modules/@types"
|
|
23
|
+
]
|
|
17
24
|
},
|
|
18
|
-
"include": [
|
|
25
|
+
"include": [
|
|
26
|
+
"./package.json",
|
|
27
|
+
"./index.ts",
|
|
28
|
+
"./src/**/*.ts",
|
|
29
|
+
"./types.d.ts"
|
|
30
|
+
]
|
|
19
31
|
}
|