@fgv/ts-bcp47 5.1.0-47 → 5.1.0-48
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/LICENSE +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/packlets/iana/index.js +5 -1
- package/dist/packlets/iana/index.js.map +1 -1
- package/dist/packlets/iana/index.node.js +43 -0
- package/dist/packlets/iana/index.node.js.map +1 -0
- package/dist/ts-bcp47.d.ts +85 -67
- package/lib/index.d.ts +1 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +2 -1
- package/lib/index.js.map +1 -1
- package/lib/packlets/iana/index.d.ts +0 -1
- package/lib/packlets/iana/index.d.ts.map +1 -1
- package/lib/packlets/iana/index.js +5 -1
- package/lib/packlets/iana/index.js.map +1 -1
- package/lib/packlets/iana/index.node.d.ts +13 -0
- package/lib/packlets/iana/index.node.d.ts.map +1 -0
- package/lib/packlets/iana/index.node.js +89 -0
- package/lib/packlets/iana/index.node.js.map +1 -0
- package/package.json +11 -11
package/LICENSE
CHANGED
package/dist/index.js
CHANGED
|
@@ -20,7 +20,8 @@
|
|
|
20
20
|
* SOFTWARE.
|
|
21
21
|
*/
|
|
22
22
|
import * as Bcp47 from './packlets/bcp47';
|
|
23
|
-
|
|
23
|
+
// eslint-disable-next-line @rushstack/packlets/mechanics
|
|
24
|
+
import * as Iana from './packlets/iana/index.node';
|
|
24
25
|
import * as Unsd from './packlets/unsd';
|
|
25
26
|
// eslint-disable-next-line @rushstack/packlets/mechanics
|
|
26
27
|
import * as Utils from './packlets/utils/public';
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAC;AAC1C,OAAO,KAAK,IAAI,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAC;AAC1C,yDAAyD;AACzD,OAAO,KAAK,IAAI,MAAM,4BAA4B,CAAC;AACnD,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AACxC,yDAAyD;AACzD,OAAO,KAAK,KAAK,MAAM,yBAAyB,CAAC;AAEjD,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC","sourcesContent":["/*\n * Copyright (c) 2022 Erik Fortune\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\nimport * as Bcp47 from './packlets/bcp47';\n// eslint-disable-next-line @rushstack/packlets/mechanics\nimport * as Iana from './packlets/iana/index.node';\nimport * as Unsd from './packlets/unsd';\n// eslint-disable-next-line @rushstack/packlets/mechanics\nimport * as Utils from './packlets/utils/public';\n\nexport { Bcp47, Iana, Unsd, Utils };\n"]}
|
|
@@ -26,9 +26,13 @@ import * as LanguageSubtags from './language-subtags';
|
|
|
26
26
|
import * as LanguageTagExtensions from './language-tag-extensions';
|
|
27
27
|
import * as Model from './model';
|
|
28
28
|
import * as Validate from './validate';
|
|
29
|
+
// This barrel is deliberately free of node built-ins, because it is what every other packlet in
|
|
30
|
+
// this library imports (`packlets/bcp47` and `packlets/unsd` reach it as `../iana`). The
|
|
31
|
+
// filesystem loader lives in `./index.node` instead: re-exporting it here would put `fs` and
|
|
32
|
+
// `path` on the reachable graph of every importer, including `src/index.browser.ts`, which is
|
|
33
|
+
// exactly the defect that shipped in 5.1.0-47.
|
|
29
34
|
export { DefaultRegistries } from './defaultRegistries';
|
|
30
35
|
export * from './languageRegistries';
|
|
31
36
|
export * from './languageRegistriesLoader';
|
|
32
|
-
export * from './languageRegistriesFileLoader';
|
|
33
37
|
export { Converters, Jar, Model, LanguageSubtags, LanguageTagExtensions, Validate, nowAsYearMonthDay };
|
|
34
38
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/packlets/iana/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,GAAG,MAAM,OAAO,CAAC;AAC7B,OAAO,KAAK,eAAe,MAAM,oBAAoB,CAAC;AACtD,OAAO,KAAK,qBAAqB,MAAM,2BAA2B,CAAC;AACnE,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAC;AAEvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/packlets/iana/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,GAAG,MAAM,OAAO,CAAC;AAC7B,OAAO,KAAK,eAAe,MAAM,oBAAoB,CAAC;AACtD,OAAO,KAAK,qBAAqB,MAAM,2BAA2B,CAAC;AACnE,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAC;AAEvC,gGAAgG;AAChG,yFAAyF;AACzF,6FAA6F;AAC7F,8FAA8F;AAC9F,+CAA+C;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,GAAG,EAAE,KAAK,EAAE,eAAe,EAAE,qBAAqB,EAAE,QAAQ,EAAE,iBAAiB,EAAE,CAAC","sourcesContent":["/*\n * Copyright (c) 2022 Erik Fortune\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\nimport { nowAsYearMonthDay } from './common/utils';\nimport * as Converters from './converters';\nimport * as Jar from './jar';\nimport * as LanguageSubtags from './language-subtags';\nimport * as LanguageTagExtensions from './language-tag-extensions';\nimport * as Model from './model';\nimport * as Validate from './validate';\n\n// This barrel is deliberately free of node built-ins, because it is what every other packlet in\n// this library imports (`packlets/bcp47` and `packlets/unsd` reach it as `../iana`). The\n// filesystem loader lives in `./index.node` instead: re-exporting it here would put `fs` and\n// `path` on the reachable graph of every importer, including `src/index.browser.ts`, which is\n// exactly the defect that shipped in 5.1.0-47.\nexport { DefaultRegistries } from './defaultRegistries';\nexport * from './languageRegistries';\nexport * from './languageRegistriesLoader';\nexport { Converters, Jar, Model, LanguageSubtags, LanguageTagExtensions, Validate, nowAsYearMonthDay };\n"]}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2022 Erik Fortune
|
|
3
|
+
*
|
|
4
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
6
|
+
* in the Software without restriction, including without limitation the rights
|
|
7
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
8
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
9
|
+
* furnished to do so, subject to the following conditions:
|
|
10
|
+
*
|
|
11
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
12
|
+
* copies or substantial portions of the Software.
|
|
13
|
+
*
|
|
14
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
20
|
+
* SOFTWARE.
|
|
21
|
+
*/
|
|
22
|
+
// The node-only IANA surface: everything the shared `./index` barrel exports, plus the filesystem
|
|
23
|
+
// loader. `src/index.ts` — the entry the `node` condition resolves — is the only *shipped* importer;
|
|
24
|
+
// the filesystem-loader unit tests import it directly as well, since the surface they exercise is
|
|
25
|
+
// deliberately absent from the shared barrel. Nothing reachable from `src/index.browser.ts` may
|
|
26
|
+
// import this file.
|
|
27
|
+
//
|
|
28
|
+
// The export list is spelled out rather than re-exported from `./index` because a packlet file may
|
|
29
|
+
// not import its own index. That mirrors `./index.browser`, which spells out the same list minus
|
|
30
|
+
// the node-only pieces; the three barrels are meant to be read side by side.
|
|
31
|
+
import { nowAsYearMonthDay } from './common/utils';
|
|
32
|
+
import * as Converters from './converters';
|
|
33
|
+
import * as Jar from './jar';
|
|
34
|
+
import * as LanguageSubtags from './language-subtags';
|
|
35
|
+
import * as LanguageTagExtensions from './language-tag-extensions';
|
|
36
|
+
import * as Model from './model';
|
|
37
|
+
import * as Validate from './validate';
|
|
38
|
+
export { DefaultRegistries } from './defaultRegistries';
|
|
39
|
+
export * from './languageRegistries';
|
|
40
|
+
export * from './languageRegistriesLoader';
|
|
41
|
+
export * from './languageRegistriesFileLoader';
|
|
42
|
+
export { Converters, Jar, Model, LanguageSubtags, LanguageTagExtensions, Validate, nowAsYearMonthDay };
|
|
43
|
+
//# sourceMappingURL=index.node.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.node.js","sourceRoot":"","sources":["../../../src/packlets/iana/index.node.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,kGAAkG;AAClG,qGAAqG;AACrG,kGAAkG;AAClG,gGAAgG;AAChG,oBAAoB;AACpB,EAAE;AACF,mGAAmG;AACnG,iGAAiG;AACjG,6EAA6E;AAE7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,GAAG,MAAM,OAAO,CAAC;AAC7B,OAAO,KAAK,eAAe,MAAM,oBAAoB,CAAC;AACtD,OAAO,KAAK,qBAAqB,MAAM,2BAA2B,CAAC;AACnE,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAC;AAEvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,GAAG,EAAE,KAAK,EAAE,eAAe,EAAE,qBAAqB,EAAE,QAAQ,EAAE,iBAAiB,EAAE,CAAC","sourcesContent":["/*\n * Copyright (c) 2022 Erik Fortune\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n// The node-only IANA surface: everything the shared `./index` barrel exports, plus the filesystem\n// loader. `src/index.ts` — the entry the `node` condition resolves — is the only *shipped* importer;\n// the filesystem-loader unit tests import it directly as well, since the surface they exercise is\n// deliberately absent from the shared barrel. Nothing reachable from `src/index.browser.ts` may\n// import this file.\n//\n// The export list is spelled out rather than re-exported from `./index` because a packlet file may\n// not import its own index. That mirrors `./index.browser`, which spells out the same list minus\n// the node-only pieces; the three barrels are meant to be read side by side.\n\nimport { nowAsYearMonthDay } from './common/utils';\nimport * as Converters from './converters';\nimport * as Jar from './jar';\nimport * as LanguageSubtags from './language-subtags';\nimport * as LanguageTagExtensions from './language-tag-extensions';\nimport * as Model from './model';\nimport * as Validate from './validate';\n\nexport { DefaultRegistries } from './defaultRegistries';\nexport * from './languageRegistries';\nexport * from './languageRegistriesLoader';\nexport * from './languageRegistriesFileLoader';\nexport { Converters, Jar, Model, LanguageSubtags, LanguageTagExtensions, Validate, nowAsYearMonthDay };\n"]}
|
package/dist/ts-bcp47.d.ts
CHANGED
|
@@ -23,22 +23,22 @@ declare class Areas {
|
|
|
23
23
|
/**
|
|
24
24
|
* @internal
|
|
25
25
|
*/
|
|
26
|
-
protected _m49: Map<
|
|
26
|
+
protected _m49: Map<Iana_2.Model.UnM49RegionCode, ICountryOrArea>;
|
|
27
27
|
/**
|
|
28
28
|
* @internal
|
|
29
29
|
*/
|
|
30
|
-
protected _isoAlpha2: Map<
|
|
30
|
+
protected _isoAlpha2: Map<Iana_2.Model.IsoAlpha2RegionCode, ICountryOrArea>;
|
|
31
31
|
/**
|
|
32
32
|
* @internal
|
|
33
33
|
*/
|
|
34
|
-
protected _isoAlpha3: Map<
|
|
34
|
+
protected _isoAlpha3: Map<Iana_2.Model.IsoAlpha3RegionCode, ICountryOrArea>;
|
|
35
35
|
addArea(area: ICountryOrArea): Result<ICountryOrArea>;
|
|
36
|
-
tryGetArea(from:
|
|
37
|
-
tryGetAlpha2Area(from:
|
|
38
|
-
tryGetAlpha3Area(from:
|
|
39
|
-
getArea(from:
|
|
40
|
-
getAlpha2Area(from:
|
|
41
|
-
getAlpha3Area(from:
|
|
36
|
+
tryGetArea(from: Iana_2.Model.UnM49RegionCode): ICountryOrArea | undefined;
|
|
37
|
+
tryGetAlpha2Area(from: Iana_2.Model.IsoAlpha2RegionCode): ICountryOrArea | undefined;
|
|
38
|
+
tryGetAlpha3Area(from: Iana_2.Model.IsoAlpha3RegionCode): ICountryOrArea | undefined;
|
|
39
|
+
getArea(from: Iana_2.Model.UnM49RegionCode): Result<ICountryOrArea>;
|
|
40
|
+
getAlpha2Area(from: Iana_2.Model.IsoAlpha2RegionCode): Result<ICountryOrArea>;
|
|
41
|
+
getAlpha3Area(from: Iana_2.Model.IsoAlpha3RegionCode): Result<ICountryOrArea>;
|
|
42
42
|
getAll(): ICountryOrArea[];
|
|
43
43
|
}
|
|
44
44
|
|
|
@@ -237,7 +237,7 @@ declare const extendedLanguageRange_3: Converter<ExtendedLanguageRange, unknown>
|
|
|
237
237
|
/**
|
|
238
238
|
* @public
|
|
239
239
|
*/
|
|
240
|
-
declare type ExtensionSingleton =
|
|
240
|
+
declare type ExtensionSingleton = Iana_2.LanguageTagExtensions.Model.ExtensionSingleton;
|
|
241
241
|
|
|
242
242
|
/**
|
|
243
243
|
* @public
|
|
@@ -257,7 +257,7 @@ declare const extensionSingleton_2: RegExpValidationHelpers<Model_2.ExtensionSin
|
|
|
257
257
|
/**
|
|
258
258
|
* @public
|
|
259
259
|
*/
|
|
260
|
-
declare const extensionSingleton_3: RegExpValidationHelpers<
|
|
260
|
+
declare const extensionSingleton_3: RegExpValidationHelpers<Iana_2.LanguageTagExtensions.Model.ExtensionSingleton, unknown>;
|
|
261
261
|
|
|
262
262
|
/**
|
|
263
263
|
* @public
|
|
@@ -358,16 +358,34 @@ declare namespace Iana {
|
|
|
358
358
|
}
|
|
359
359
|
export { Iana }
|
|
360
360
|
|
|
361
|
+
declare namespace Iana_2 {
|
|
362
|
+
export {
|
|
363
|
+
DefaultRegistries,
|
|
364
|
+
Converters,
|
|
365
|
+
Jar_2 as Jar,
|
|
366
|
+
Model_4 as Model,
|
|
367
|
+
LanguageSubtags_4 as LanguageSubtags,
|
|
368
|
+
LanguageTagExtensions_2 as LanguageTagExtensions,
|
|
369
|
+
Validate_3 as Validate,
|
|
370
|
+
nowAsYearMonthDay,
|
|
371
|
+
LanguageRegistries,
|
|
372
|
+
loadLanguageRegistriesFromTree,
|
|
373
|
+
loadLanguageRegistriesFromZipBuffer,
|
|
374
|
+
loadLanguageRegistriesFromIanaOrg,
|
|
375
|
+
loadLanguageRegistriesFromUrls
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
|
|
361
379
|
/**
|
|
362
380
|
* @public
|
|
363
381
|
*/
|
|
364
382
|
declare interface ICountryOrArea {
|
|
365
383
|
name: string;
|
|
366
|
-
code:
|
|
384
|
+
code: Iana_2.Model.UnM49RegionCode;
|
|
367
385
|
tier: 'area';
|
|
368
386
|
parent: Region;
|
|
369
|
-
isoAlpha2?:
|
|
370
|
-
isoAlpha3?:
|
|
387
|
+
isoAlpha2?: Iana_2.Model.IsoAlpha2RegionCode;
|
|
388
|
+
isoAlpha3?: Iana_2.Model.IsoAlpha3RegionCode;
|
|
371
389
|
leastDevelopedCountry: boolean;
|
|
372
390
|
landlockedDevelopingCountry: boolean;
|
|
373
391
|
smallIslandDevelopingState: boolean;
|
|
@@ -422,7 +440,7 @@ declare interface IFileDateEntry extends RecordJar.JarRecord {
|
|
|
422
440
|
*/
|
|
423
441
|
declare interface IGlobalRegion {
|
|
424
442
|
name: string;
|
|
425
|
-
code:
|
|
443
|
+
code: Iana_2.Model.UnM49RegionCode;
|
|
426
444
|
tier: 'global';
|
|
427
445
|
regions: IIntermediateRegion[];
|
|
428
446
|
areas: ICountryOrArea[];
|
|
@@ -447,7 +465,7 @@ declare interface IGrandfatheredTagRegistryEntry {
|
|
|
447
465
|
*/
|
|
448
466
|
declare interface IIntermediateRegion {
|
|
449
467
|
name: string;
|
|
450
|
-
code:
|
|
468
|
+
code: Iana_2.Model.UnM49RegionCode;
|
|
451
469
|
tier: RegionTier;
|
|
452
470
|
parent: Region;
|
|
453
471
|
regions: IIntermediateRegion[];
|
|
@@ -484,20 +502,20 @@ declare interface ILanguageChooserOptions {
|
|
|
484
502
|
* @public
|
|
485
503
|
*/
|
|
486
504
|
declare interface ILanguageOverride {
|
|
487
|
-
language:
|
|
488
|
-
preferredRegion?:
|
|
505
|
+
language: Iana_2.LanguageSubtags.LanguageSubtag;
|
|
506
|
+
preferredRegion?: Iana_2.LanguageSubtags.RegionSubtag;
|
|
489
507
|
defaultAffinity?: string;
|
|
490
|
-
affinity?: Map<
|
|
508
|
+
affinity?: Map<Iana_2.LanguageSubtags.RegionSubtag, string>;
|
|
491
509
|
}
|
|
492
510
|
|
|
493
511
|
/**
|
|
494
512
|
* @internal
|
|
495
513
|
*/
|
|
496
514
|
declare interface ILanguageOverrideRecord {
|
|
497
|
-
language:
|
|
498
|
-
preferredRegion?:
|
|
515
|
+
language: Iana_2.LanguageSubtags.LanguageSubtag;
|
|
516
|
+
preferredRegion?: Iana_2.LanguageSubtags.RegionSubtag;
|
|
499
517
|
defaultAffinity?: string;
|
|
500
|
-
affinity?: Record<string,
|
|
518
|
+
affinity?: Record<string, Iana_2.LanguageSubtags.RegionSubtag[]>;
|
|
501
519
|
}
|
|
502
520
|
|
|
503
521
|
/**
|
|
@@ -549,25 +567,25 @@ declare interface ILanguageTagInitOptions {
|
|
|
549
567
|
* The {@link Iana.LanguageRegistries | IANA language subtag and extension registries} to
|
|
550
568
|
* be used for the request (optional).
|
|
551
569
|
*/
|
|
552
|
-
iana?:
|
|
570
|
+
iana?: Iana_2.LanguageRegistries;
|
|
553
571
|
}
|
|
554
572
|
|
|
555
573
|
/**
|
|
556
574
|
* @internal
|
|
557
575
|
*/
|
|
558
576
|
declare interface IM49CsvRow {
|
|
559
|
-
globalCode:
|
|
577
|
+
globalCode: Iana_2.Model.UnM49RegionCode;
|
|
560
578
|
globalName: string;
|
|
561
|
-
regionCode?:
|
|
579
|
+
regionCode?: Iana_2.Model.UnM49RegionCode;
|
|
562
580
|
regionName?: string;
|
|
563
|
-
subRegionCode?:
|
|
581
|
+
subRegionCode?: Iana_2.Model.UnM49RegionCode;
|
|
564
582
|
subRegionName?: string;
|
|
565
|
-
intermediateRegionCode?:
|
|
583
|
+
intermediateRegionCode?: Iana_2.Model.UnM49RegionCode;
|
|
566
584
|
intermediateRegionName?: string;
|
|
567
585
|
countryOrArea: string;
|
|
568
|
-
m49Code:
|
|
569
|
-
isoAlpha2RegionCode?:
|
|
570
|
-
isoAlpha3RegionCode?:
|
|
586
|
+
m49Code: Iana_2.Model.UnM49RegionCode;
|
|
587
|
+
isoAlpha2RegionCode?: Iana_2.Model.IsoAlpha2RegionCode;
|
|
588
|
+
isoAlpha3RegionCode?: Iana_2.Model.IsoAlpha3RegionCode;
|
|
571
589
|
leastDevelopedCountry: boolean;
|
|
572
590
|
landLockedDevelopingCountry: boolean;
|
|
573
591
|
smallIslandDevelopingState: boolean;
|
|
@@ -626,7 +644,7 @@ declare interface IRegisteredExtensionValue extends IExtensionSubtagValue {
|
|
|
626
644
|
* The language extensions registry entry for the associated subtag,
|
|
627
645
|
* or `undefined` if the extension is not registered.
|
|
628
646
|
*/
|
|
629
|
-
registry?:
|
|
647
|
+
registry?: Iana_2.LanguageTagExtensions.Model.ILanguageTagExtension;
|
|
630
648
|
}
|
|
631
649
|
|
|
632
650
|
/**
|
|
@@ -656,12 +674,12 @@ declare interface IRegisteredExtLangValue {
|
|
|
656
674
|
* A {@link Iana.LanguageSubtags.ExtLangSubtag | extlang subtag} from
|
|
657
675
|
* the original language tag.
|
|
658
676
|
*/
|
|
659
|
-
subtag:
|
|
677
|
+
subtag: Iana_2.LanguageSubtags.ExtLangSubtag;
|
|
660
678
|
/**
|
|
661
679
|
* The {@link Iana.LanguageSubtag.Model.RegisteredExtLang | IANA subtag registry entry}
|
|
662
680
|
* for this subtag, or `undefined` if the subtag is not registered.
|
|
663
681
|
*/
|
|
664
|
-
registry?:
|
|
682
|
+
registry?: Iana_2.LanguageSubtags.Model.IRegisteredExtLang;
|
|
665
683
|
}
|
|
666
684
|
|
|
667
685
|
/**
|
|
@@ -787,12 +805,12 @@ declare interface IRegisteredVariantValue {
|
|
|
787
805
|
* A {@link Iana.LanguageSubtags.VariantSubtag | variant subtag} from
|
|
788
806
|
* the original language tag.
|
|
789
807
|
*/
|
|
790
|
-
subtag:
|
|
808
|
+
subtag: Iana_2.LanguageSubtags.VariantSubtag;
|
|
791
809
|
/**
|
|
792
810
|
* The {@link Iana.LanguageSubtag.Model.RegisteredVariant | IANA subtag registry entry}
|
|
793
811
|
* for this subtag, or `undefined` if the subtag is not registered.
|
|
794
812
|
*/
|
|
795
|
-
registry?:
|
|
813
|
+
registry?: Iana_2.LanguageSubtags.Model.IRegisteredVariant;
|
|
796
814
|
}
|
|
797
815
|
|
|
798
816
|
/**
|
|
@@ -877,14 +895,14 @@ declare const isoAlpha3RegionCode_2: RegExpValidationHelpers<Model_5.IsoAlpha3Re
|
|
|
877
895
|
* @public
|
|
878
896
|
*/
|
|
879
897
|
declare interface ISubtags {
|
|
880
|
-
primaryLanguage?:
|
|
881
|
-
extlangs?:
|
|
882
|
-
script?:
|
|
883
|
-
region?:
|
|
884
|
-
variants?:
|
|
898
|
+
primaryLanguage?: Iana_2.LanguageSubtags.LanguageSubtag;
|
|
899
|
+
extlangs?: Iana_2.LanguageSubtags.ExtLangSubtag[];
|
|
900
|
+
script?: Iana_2.LanguageSubtags.ScriptSubtag;
|
|
901
|
+
region?: Iana_2.LanguageSubtags.RegionSubtag;
|
|
902
|
+
variants?: Iana_2.LanguageSubtags.VariantSubtag[];
|
|
885
903
|
extensions?: IExtensionSubtagValue[];
|
|
886
|
-
privateUse?:
|
|
887
|
-
grandfathered?:
|
|
904
|
+
privateUse?: Iana_2.LanguageSubtags.ExtendedLanguageRange[];
|
|
905
|
+
grandfathered?: Iana_2.LanguageSubtags.GrandfatheredTag;
|
|
888
906
|
}
|
|
889
907
|
|
|
890
908
|
/**
|
|
@@ -1098,7 +1116,7 @@ declare class LanguageRegistryData {
|
|
|
1098
1116
|
/**
|
|
1099
1117
|
* @internal
|
|
1100
1118
|
*/
|
|
1101
|
-
protected _iana:
|
|
1119
|
+
protected _iana: Iana_2.LanguageRegistries;
|
|
1102
1120
|
/**
|
|
1103
1121
|
* @internal
|
|
1104
1122
|
*/
|
|
@@ -1106,7 +1124,7 @@ declare class LanguageRegistryData {
|
|
|
1106
1124
|
/**
|
|
1107
1125
|
* @internal
|
|
1108
1126
|
*/
|
|
1109
|
-
protected _primaryLanguage?:
|
|
1127
|
+
protected _primaryLanguage?: Iana_2.LanguageSubtags.Model.IRegisteredLanguage | false;
|
|
1110
1128
|
/**
|
|
1111
1129
|
* @internal
|
|
1112
1130
|
*/
|
|
@@ -1114,15 +1132,15 @@ declare class LanguageRegistryData {
|
|
|
1114
1132
|
/**
|
|
1115
1133
|
* @internal
|
|
1116
1134
|
*/
|
|
1117
|
-
protected _script?:
|
|
1135
|
+
protected _script?: Iana_2.LanguageSubtags.Model.IRegisteredScript | false;
|
|
1118
1136
|
/**
|
|
1119
1137
|
* @internal
|
|
1120
1138
|
*/
|
|
1121
|
-
protected _effectiveScript?:
|
|
1139
|
+
protected _effectiveScript?: Iana_2.LanguageSubtags.Model.IRegisteredScript | false;
|
|
1122
1140
|
/**
|
|
1123
1141
|
* @internal
|
|
1124
1142
|
*/
|
|
1125
|
-
protected _region?:
|
|
1143
|
+
protected _region?: Iana_2.LanguageSubtags.Model.IRegisteredRegion | false;
|
|
1126
1144
|
/**
|
|
1127
1145
|
* @internal
|
|
1128
1146
|
*/
|
|
@@ -1134,20 +1152,20 @@ declare class LanguageRegistryData {
|
|
|
1134
1152
|
/**
|
|
1135
1153
|
* @internal
|
|
1136
1154
|
*/
|
|
1137
|
-
protected _grandfathered?:
|
|
1155
|
+
protected _grandfathered?: Iana_2.LanguageSubtags.Model.IRegisteredGrandfatheredTag | false;
|
|
1138
1156
|
/**
|
|
1139
1157
|
* Constructs a new {@link Bcp47.LanguageTagRegistryData | Bcp47.LanguageTagRegistryData}
|
|
1140
1158
|
* from a supplied {@link Bcp47.Subtags | subtags} and {@link Iana.LanguageRegistries | language registries}.
|
|
1141
1159
|
* @public
|
|
1142
1160
|
*/
|
|
1143
|
-
constructor(subtags: ISubtags, iana:
|
|
1161
|
+
constructor(subtags: ISubtags, iana: Iana_2.LanguageRegistries);
|
|
1144
1162
|
/**
|
|
1145
1163
|
* Registry data associated with the primary language subtag of the language tag from
|
|
1146
1164
|
* which this {@link Bcp47.LanguageTagRegistryData | Bcp47.LanguageTagRegistryData}
|
|
1147
1165
|
* was constructed, or `undefined` if the primary language is missing or invalid.
|
|
1148
1166
|
* @public
|
|
1149
1167
|
*/
|
|
1150
|
-
get primaryLanguage():
|
|
1168
|
+
get primaryLanguage(): Iana_2.LanguageSubtags.Model.IRegisteredLanguage | undefined;
|
|
1151
1169
|
/**
|
|
1152
1170
|
* Registry data associated with the extlang subtag of the language tag from
|
|
1153
1171
|
* which this {@link Bcp47.LanguageTagRegistryData | Bcp47.LanguageTagRegistryData}
|
|
@@ -1162,7 +1180,7 @@ declare class LanguageRegistryData {
|
|
|
1162
1180
|
*
|
|
1163
1181
|
* @public
|
|
1164
1182
|
*/
|
|
1165
|
-
get script():
|
|
1183
|
+
get script(): Iana_2.LanguageSubtags.Model.IRegisteredScript | undefined;
|
|
1166
1184
|
/**
|
|
1167
1185
|
* Registry data associated with the script of the language tag from
|
|
1168
1186
|
* which this {@link Bcp47.LanguageTagRegistryData | Bcp47.LanguageTagRegistryData}
|
|
@@ -1172,14 +1190,14 @@ declare class LanguageRegistryData {
|
|
|
1172
1190
|
* primary language if no script subtag is present.
|
|
1173
1191
|
* @public
|
|
1174
1192
|
*/
|
|
1175
|
-
get effectiveScript():
|
|
1193
|
+
get effectiveScript(): Iana_2.LanguageSubtags.Model.IRegisteredScript | undefined;
|
|
1176
1194
|
/**
|
|
1177
1195
|
* Registry data associated with the region subtag of the language tag from
|
|
1178
1196
|
* which this {@link Bcp47.LanguageTagRegistryData | Bcp47.LanguageTagRegistryData}
|
|
1179
1197
|
* was constructed, or `undefined` if the region is missing or invalid.
|
|
1180
1198
|
* @public
|
|
1181
1199
|
*/
|
|
1182
|
-
get region():
|
|
1200
|
+
get region(): Iana_2.LanguageSubtags.Model.IRegisteredRegion | undefined;
|
|
1183
1201
|
/**
|
|
1184
1202
|
* Registry data associated with the variant subtags of the language tag from
|
|
1185
1203
|
* which this {@link Bcp47.LanguageTagRegistryData | Bcp47.LanguageTagRegistryData}
|
|
@@ -1199,7 +1217,7 @@ declare class LanguageRegistryData {
|
|
|
1199
1217
|
* as a grandfathered tag.
|
|
1200
1218
|
* @public
|
|
1201
1219
|
*/
|
|
1202
|
-
get grandfathered():
|
|
1220
|
+
get grandfathered(): Iana_2.LanguageSubtags.Model.IRegisteredGrandfatheredTag | undefined;
|
|
1203
1221
|
/**
|
|
1204
1222
|
* @returns A string representation of the subtags from which this
|
|
1205
1223
|
* {@link Bcp47.LanguageTagRegistryData | Bcp47.LanguageTagRegistryData}
|
|
@@ -1215,10 +1233,10 @@ declare class LanguageRegistryData {
|
|
|
1215
1233
|
* @public
|
|
1216
1234
|
*/
|
|
1217
1235
|
declare class LanguageSimilarityMatcher {
|
|
1218
|
-
iana:
|
|
1236
|
+
iana: Iana_2.LanguageRegistries;
|
|
1219
1237
|
unsd: Unsd.RegionCodes;
|
|
1220
1238
|
overrides: OverridesRegistry;
|
|
1221
|
-
constructor(iana?:
|
|
1239
|
+
constructor(iana?: Iana_2.LanguageRegistries);
|
|
1222
1240
|
matchLanguageTags(t1: LanguageTag, t2: LanguageTag): number;
|
|
1223
1241
|
matchPrimaryLanguage(lt1: LanguageTag, lt2: LanguageTag): number;
|
|
1224
1242
|
matchExtlang(lt1: LanguageTag, lt2: LanguageTag): number;
|
|
@@ -1367,7 +1385,7 @@ declare class LanguageTag {
|
|
|
1367
1385
|
/**
|
|
1368
1386
|
* @internal
|
|
1369
1387
|
*/
|
|
1370
|
-
protected readonly _iana:
|
|
1388
|
+
protected readonly _iana: Iana_2.LanguageRegistries;
|
|
1371
1389
|
/**
|
|
1372
1390
|
* @internal
|
|
1373
1391
|
*/
|
|
@@ -1395,7 +1413,7 @@ declare class LanguageTag {
|
|
|
1395
1413
|
/**
|
|
1396
1414
|
* @internal
|
|
1397
1415
|
*/
|
|
1398
|
-
protected _suppressedScript: undefined |
|
|
1416
|
+
protected _suppressedScript: undefined | Iana_2.LanguageSubtags.ScriptSubtag | false;
|
|
1399
1417
|
/**
|
|
1400
1418
|
* Constructs a {@link Bcp47.LanguageTag | LanguageTag }.
|
|
1401
1419
|
* @param subtags - The {@link Bcp47.Subtags | subtags } from
|
|
@@ -1408,7 +1426,7 @@ declare class LanguageTag {
|
|
|
1408
1426
|
* this tag.
|
|
1409
1427
|
* @internal
|
|
1410
1428
|
*/
|
|
1411
|
-
protected constructor(subtags: ISubtags, validity: TagValidity, normalization: TagNormalization, iana:
|
|
1429
|
+
protected constructor(subtags: ISubtags, validity: TagValidity, normalization: TagNormalization, iana: Iana_2.LanguageRegistries);
|
|
1412
1430
|
/**
|
|
1413
1431
|
* The effective script of this language tag, if known.
|
|
1414
1432
|
* The effective script is the script subtag in the tag itself,
|
|
@@ -1417,7 +1435,7 @@ declare class LanguageTag {
|
|
|
1417
1435
|
* for the primary language of this tag. Can be `undefined`
|
|
1418
1436
|
* if neither the tag nor the IANA registry define a script.
|
|
1419
1437
|
*/
|
|
1420
|
-
get effectiveScript():
|
|
1438
|
+
get effectiveScript(): Iana_2.LanguageSubtags.ScriptSubtag | undefined;
|
|
1421
1439
|
/**
|
|
1422
1440
|
* Determines if this tag represents the special `undetermined` language.
|
|
1423
1441
|
*/
|
|
@@ -1509,7 +1527,7 @@ declare class LanguageTag {
|
|
|
1509
1527
|
* @returns The suppress-script defined for the primary language, or undefined if
|
|
1510
1528
|
* the primary language is invalid or has no defined suppressed script.
|
|
1511
1529
|
*/
|
|
1512
|
-
getSuppressedScript():
|
|
1530
|
+
getSuppressedScript(): Iana_2.LanguageSubtags.ScriptSubtag | undefined;
|
|
1513
1531
|
/**
|
|
1514
1532
|
* Gets a confirmed valid representation of this language tag.
|
|
1515
1533
|
* @returns `Success` with a valid representation of this {@link Bcp47.LanguageTag | language tag},
|
|
@@ -1959,7 +1977,7 @@ declare namespace Overrides {
|
|
|
1959
1977
|
* @public
|
|
1960
1978
|
*/
|
|
1961
1979
|
declare class OverridesRegistry {
|
|
1962
|
-
readonly overrides: Map<
|
|
1980
|
+
readonly overrides: Map<Iana_2.LanguageSubtags.LanguageSubtag, ILanguageOverride>;
|
|
1963
1981
|
protected constructor();
|
|
1964
1982
|
static create(overrides: ILanguageOverride[]): Result<OverridesRegistry>;
|
|
1965
1983
|
static createFromJson(from: unknown): Result<OverridesRegistry>;
|
|
@@ -2053,7 +2071,7 @@ declare class RegionCodes {
|
|
|
2053
2071
|
static createFromJson(from: unknown): Result<RegionCodes>;
|
|
2054
2072
|
static loadDefault(): Result<RegionCodes>;
|
|
2055
2073
|
static loadCsv(path: string): Result<RegionCodes>;
|
|
2056
|
-
tryGetRegionOrArea(code:
|
|
2074
|
+
tryGetRegionOrArea(code: Iana_2.Model.UnM49RegionCode): Region | ICountryOrArea | undefined;
|
|
2057
2075
|
getIsContained(container: Region, contained: ICountryOrArea | Region): boolean;
|
|
2058
2076
|
/**
|
|
2059
2077
|
* Imports a single parsed row of UN M.49 region code data
|
|
@@ -2081,11 +2099,11 @@ declare class Regions {
|
|
|
2081
2099
|
/**
|
|
2082
2100
|
* @internal
|
|
2083
2101
|
*/
|
|
2084
|
-
protected readonly _regions: Map<
|
|
2102
|
+
protected readonly _regions: Map<Iana_2.Model.UnM49RegionCode, Region>;
|
|
2085
2103
|
constructor();
|
|
2086
|
-
tryGetRegion(from:
|
|
2087
|
-
getRegion(from:
|
|
2088
|
-
getOrAddRegionChildRegion(tier: IntermediateRegionTier, parent: Region, code:
|
|
2104
|
+
tryGetRegion(from: Iana_2.Model.UnM49RegionCode): Region | undefined;
|
|
2105
|
+
getRegion(from: Iana_2.Model.UnM49RegionCode): Result<Region>;
|
|
2106
|
+
getOrAddRegionChildRegion(tier: IntermediateRegionTier, parent: Region, code: Iana_2.Model.UnM49RegionCode | undefined, name: string | undefined): Result<Region>;
|
|
2089
2107
|
getAll(): Region[];
|
|
2090
2108
|
}
|
|
2091
2109
|
|
package/lib/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Bcp47 from './packlets/bcp47';
|
|
2
|
-
import * as Iana from './packlets/iana';
|
|
2
|
+
import * as Iana from './packlets/iana/index.node';
|
|
3
3
|
import * as Unsd from './packlets/unsd';
|
|
4
4
|
import * as Utils from './packlets/utils/public';
|
|
5
5
|
export { Bcp47, Iana, Unsd, Utils };
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAsBA,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAsBA,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAC;AAE1C,OAAO,KAAK,IAAI,MAAM,4BAA4B,CAAC;AACnD,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AAExC,OAAO,KAAK,KAAK,MAAM,yBAAyB,CAAC;AAEjD,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -57,7 +57,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
57
57
|
exports.Utils = exports.Unsd = exports.Iana = exports.Bcp47 = void 0;
|
|
58
58
|
const Bcp47 = __importStar(require("./packlets/bcp47"));
|
|
59
59
|
exports.Bcp47 = Bcp47;
|
|
60
|
-
|
|
60
|
+
// eslint-disable-next-line @rushstack/packlets/mechanics
|
|
61
|
+
const Iana = __importStar(require("./packlets/iana/index.node"));
|
|
61
62
|
exports.Iana = Iana;
|
|
62
63
|
const Unsd = __importStar(require("./packlets/unsd"));
|
|
63
64
|
exports.Unsd = Unsd;
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,wDAA0C;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,wDAA0C;AAOjC,sBAAK;AANd,yDAAyD;AACzD,iEAAmD;AAKnC,oBAAI;AAJpB,sDAAwC;AAIlB,oBAAI;AAH1B,yDAAyD;AACzD,+DAAiD;AAErB,sBAAK","sourcesContent":["/*\n * Copyright (c) 2022 Erik Fortune\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\nimport * as Bcp47 from './packlets/bcp47';\n// eslint-disable-next-line @rushstack/packlets/mechanics\nimport * as Iana from './packlets/iana/index.node';\nimport * as Unsd from './packlets/unsd';\n// eslint-disable-next-line @rushstack/packlets/mechanics\nimport * as Utils from './packlets/utils/public';\n\nexport { Bcp47, Iana, Unsd, Utils };\n"]}
|
|
@@ -8,6 +8,5 @@ import * as Validate from './validate';
|
|
|
8
8
|
export { DefaultRegistries } from './defaultRegistries';
|
|
9
9
|
export * from './languageRegistries';
|
|
10
10
|
export * from './languageRegistriesLoader';
|
|
11
|
-
export * from './languageRegistriesFileLoader';
|
|
12
11
|
export { Converters, Jar, Model, LanguageSubtags, LanguageTagExtensions, Validate, nowAsYearMonthDay };
|
|
13
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packlets/iana/index.ts"],"names":[],"mappings":"AAsBA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,GAAG,MAAM,OAAO,CAAC;AAC7B,OAAO,KAAK,eAAe,MAAM,oBAAoB,CAAC;AACtD,OAAO,KAAK,qBAAqB,MAAM,2BAA2B,CAAC;AACnE,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packlets/iana/index.ts"],"names":[],"mappings":"AAsBA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,GAAG,MAAM,OAAO,CAAC;AAC7B,OAAO,KAAK,eAAe,MAAM,oBAAoB,CAAC;AACtD,OAAO,KAAK,qBAAqB,MAAM,2BAA2B,CAAC;AACnE,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAC;AAOvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,GAAG,EAAE,KAAK,EAAE,eAAe,EAAE,qBAAqB,EAAE,QAAQ,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -72,9 +72,13 @@ const Model = __importStar(require("./model"));
|
|
|
72
72
|
exports.Model = Model;
|
|
73
73
|
const Validate = __importStar(require("./validate"));
|
|
74
74
|
exports.Validate = Validate;
|
|
75
|
+
// This barrel is deliberately free of node built-ins, because it is what every other packlet in
|
|
76
|
+
// this library imports (`packlets/bcp47` and `packlets/unsd` reach it as `../iana`). The
|
|
77
|
+
// filesystem loader lives in `./index.node` instead: re-exporting it here would put `fs` and
|
|
78
|
+
// `path` on the reachable graph of every importer, including `src/index.browser.ts`, which is
|
|
79
|
+
// exactly the defect that shipped in 5.1.0-47.
|
|
75
80
|
var defaultRegistries_1 = require("./defaultRegistries");
|
|
76
81
|
Object.defineProperty(exports, "DefaultRegistries", { enumerable: true, get: function () { return defaultRegistries_1.DefaultRegistries; } });
|
|
77
82
|
__exportStar(require("./languageRegistries"), exports);
|
|
78
83
|
__exportStar(require("./languageRegistriesLoader"), exports);
|
|
79
|
-
__exportStar(require("./languageRegistriesFileLoader"), exports);
|
|
80
84
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/packlets/iana/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAAmD;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/packlets/iana/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAAmD;AAgBgC,kGAhB1E,yBAAiB,OAgB0E;AAfpG,yDAA2C;AAelC,gCAAU;AAdnB,2CAA6B;AAcR,kBAAG;AAbxB,oEAAsD;AAarB,0CAAe;AAZhD,iFAAmE;AAYjB,sDAAqB;AAXvE,+CAAiC;AAWP,sBAAK;AAV/B,qDAAuC;AAUkC,4BAAQ;AARjF,gGAAgG;AAChG,yFAAyF;AACzF,6FAA6F;AAC7F,8FAA8F;AAC9F,+CAA+C;AAC/C,yDAAwD;AAA/C,sHAAA,iBAAiB,OAAA;AAC1B,uDAAqC;AACrC,6DAA2C","sourcesContent":["/*\n * Copyright (c) 2022 Erik Fortune\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\nimport { nowAsYearMonthDay } from './common/utils';\nimport * as Converters from './converters';\nimport * as Jar from './jar';\nimport * as LanguageSubtags from './language-subtags';\nimport * as LanguageTagExtensions from './language-tag-extensions';\nimport * as Model from './model';\nimport * as Validate from './validate';\n\n// This barrel is deliberately free of node built-ins, because it is what every other packlet in\n// this library imports (`packlets/bcp47` and `packlets/unsd` reach it as `../iana`). The\n// filesystem loader lives in `./index.node` instead: re-exporting it here would put `fs` and\n// `path` on the reachable graph of every importer, including `src/index.browser.ts`, which is\n// exactly the defect that shipped in 5.1.0-47.\nexport { DefaultRegistries } from './defaultRegistries';\nexport * from './languageRegistries';\nexport * from './languageRegistriesLoader';\nexport { Converters, Jar, Model, LanguageSubtags, LanguageTagExtensions, Validate, nowAsYearMonthDay };\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { nowAsYearMonthDay } from './common/utils';
|
|
2
|
+
import * as Converters from './converters';
|
|
3
|
+
import * as Jar from './jar';
|
|
4
|
+
import * as LanguageSubtags from './language-subtags';
|
|
5
|
+
import * as LanguageTagExtensions from './language-tag-extensions';
|
|
6
|
+
import * as Model from './model';
|
|
7
|
+
import * as Validate from './validate';
|
|
8
|
+
export { DefaultRegistries } from './defaultRegistries';
|
|
9
|
+
export * from './languageRegistries';
|
|
10
|
+
export * from './languageRegistriesLoader';
|
|
11
|
+
export * from './languageRegistriesFileLoader';
|
|
12
|
+
export { Converters, Jar, Model, LanguageSubtags, LanguageTagExtensions, Validate, nowAsYearMonthDay };
|
|
13
|
+
//# sourceMappingURL=index.node.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.node.d.ts","sourceRoot":"","sources":["../../../src/packlets/iana/index.node.ts"],"names":[],"mappings":"AAgCA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,GAAG,MAAM,OAAO,CAAC;AAC7B,OAAO,KAAK,eAAe,MAAM,oBAAoB,CAAC;AACtD,OAAO,KAAK,qBAAqB,MAAM,2BAA2B,CAAC;AACnE,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAC;AAEvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,GAAG,EAAE,KAAK,EAAE,eAAe,EAAE,qBAAqB,EAAE,QAAQ,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2022 Erik Fortune
|
|
4
|
+
*
|
|
5
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
* in the Software without restriction, including without limitation the rights
|
|
8
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
* furnished to do so, subject to the following conditions:
|
|
11
|
+
*
|
|
12
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
* copies or substantial portions of the Software.
|
|
14
|
+
*
|
|
15
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
* SOFTWARE.
|
|
22
|
+
*/
|
|
23
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
24
|
+
if (k2 === undefined) k2 = k;
|
|
25
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
26
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
27
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
28
|
+
}
|
|
29
|
+
Object.defineProperty(o, k2, desc);
|
|
30
|
+
}) : (function(o, m, k, k2) {
|
|
31
|
+
if (k2 === undefined) k2 = k;
|
|
32
|
+
o[k2] = m[k];
|
|
33
|
+
}));
|
|
34
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
35
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
36
|
+
}) : function(o, v) {
|
|
37
|
+
o["default"] = v;
|
|
38
|
+
});
|
|
39
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
40
|
+
var ownKeys = function(o) {
|
|
41
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
42
|
+
var ar = [];
|
|
43
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
44
|
+
return ar;
|
|
45
|
+
};
|
|
46
|
+
return ownKeys(o);
|
|
47
|
+
};
|
|
48
|
+
return function (mod) {
|
|
49
|
+
if (mod && mod.__esModule) return mod;
|
|
50
|
+
var result = {};
|
|
51
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
52
|
+
__setModuleDefault(result, mod);
|
|
53
|
+
return result;
|
|
54
|
+
};
|
|
55
|
+
})();
|
|
56
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
57
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
58
|
+
};
|
|
59
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
60
|
+
exports.nowAsYearMonthDay = exports.Validate = exports.LanguageTagExtensions = exports.LanguageSubtags = exports.Model = exports.Jar = exports.Converters = exports.DefaultRegistries = void 0;
|
|
61
|
+
// The node-only IANA surface: everything the shared `./index` barrel exports, plus the filesystem
|
|
62
|
+
// loader. `src/index.ts` — the entry the `node` condition resolves — is the only *shipped* importer;
|
|
63
|
+
// the filesystem-loader unit tests import it directly as well, since the surface they exercise is
|
|
64
|
+
// deliberately absent from the shared barrel. Nothing reachable from `src/index.browser.ts` may
|
|
65
|
+
// import this file.
|
|
66
|
+
//
|
|
67
|
+
// The export list is spelled out rather than re-exported from `./index` because a packlet file may
|
|
68
|
+
// not import its own index. That mirrors `./index.browser`, which spells out the same list minus
|
|
69
|
+
// the node-only pieces; the three barrels are meant to be read side by side.
|
|
70
|
+
const utils_1 = require("./common/utils");
|
|
71
|
+
Object.defineProperty(exports, "nowAsYearMonthDay", { enumerable: true, get: function () { return utils_1.nowAsYearMonthDay; } });
|
|
72
|
+
const Converters = __importStar(require("./converters"));
|
|
73
|
+
exports.Converters = Converters;
|
|
74
|
+
const Jar = __importStar(require("./jar"));
|
|
75
|
+
exports.Jar = Jar;
|
|
76
|
+
const LanguageSubtags = __importStar(require("./language-subtags"));
|
|
77
|
+
exports.LanguageSubtags = LanguageSubtags;
|
|
78
|
+
const LanguageTagExtensions = __importStar(require("./language-tag-extensions"));
|
|
79
|
+
exports.LanguageTagExtensions = LanguageTagExtensions;
|
|
80
|
+
const Model = __importStar(require("./model"));
|
|
81
|
+
exports.Model = Model;
|
|
82
|
+
const Validate = __importStar(require("./validate"));
|
|
83
|
+
exports.Validate = Validate;
|
|
84
|
+
var defaultRegistries_1 = require("./defaultRegistries");
|
|
85
|
+
Object.defineProperty(exports, "DefaultRegistries", { enumerable: true, get: function () { return defaultRegistries_1.DefaultRegistries; } });
|
|
86
|
+
__exportStar(require("./languageRegistries"), exports);
|
|
87
|
+
__exportStar(require("./languageRegistriesLoader"), exports);
|
|
88
|
+
__exportStar(require("./languageRegistriesFileLoader"), exports);
|
|
89
|
+
//# sourceMappingURL=index.node.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.node.js","sourceRoot":"","sources":["../../../src/packlets/iana/index.node.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,kGAAkG;AAClG,qGAAqG;AACrG,kGAAkG;AAClG,gGAAgG;AAChG,oBAAoB;AACpB,EAAE;AACF,mGAAmG;AACnG,iGAAiG;AACjG,6EAA6E;AAE7E,0CAAmD;AAYgC,kGAZ1E,yBAAiB,OAY0E;AAXpG,yDAA2C;AAWlC,gCAAU;AAVnB,2CAA6B;AAUR,kBAAG;AATxB,oEAAsD;AASrB,0CAAe;AARhD,iFAAmE;AAQjB,sDAAqB;AAPvE,+CAAiC;AAOP,sBAAK;AAN/B,qDAAuC;AAMkC,4BAAQ;AAJjF,yDAAwD;AAA/C,sHAAA,iBAAiB,OAAA;AAC1B,uDAAqC;AACrC,6DAA2C;AAC3C,iEAA+C","sourcesContent":["/*\n * Copyright (c) 2022 Erik Fortune\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n// The node-only IANA surface: everything the shared `./index` barrel exports, plus the filesystem\n// loader. `src/index.ts` — the entry the `node` condition resolves — is the only *shipped* importer;\n// the filesystem-loader unit tests import it directly as well, since the surface they exercise is\n// deliberately absent from the shared barrel. Nothing reachable from `src/index.browser.ts` may\n// import this file.\n//\n// The export list is spelled out rather than re-exported from `./index` because a packlet file may\n// not import its own index. That mirrors `./index.browser`, which spells out the same list minus\n// the node-only pieces; the three barrels are meant to be read side by side.\n\nimport { nowAsYearMonthDay } from './common/utils';\nimport * as Converters from './converters';\nimport * as Jar from './jar';\nimport * as LanguageSubtags from './language-subtags';\nimport * as LanguageTagExtensions from './language-tag-extensions';\nimport * as Model from './model';\nimport * as Validate from './validate';\n\nexport { DefaultRegistries } from './defaultRegistries';\nexport * from './languageRegistries';\nexport * from './languageRegistriesLoader';\nexport * from './languageRegistriesFileLoader';\nexport { Converters, Jar, Model, LanguageSubtags, LanguageTagExtensions, Validate, nowAsYearMonthDay };\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fgv/ts-bcp47",
|
|
3
|
-
"version": "5.1.0-
|
|
3
|
+
"version": "5.1.0-48",
|
|
4
4
|
"description": "BCP-47 Tag Utilities",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"browser": {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
},
|
|
20
20
|
"node": {
|
|
21
21
|
"types": "./dist/ts-bcp47.d.ts",
|
|
22
|
-
"import": "./
|
|
22
|
+
"import": "./lib/index.js",
|
|
23
23
|
"require": "./lib/index.js"
|
|
24
24
|
},
|
|
25
25
|
"default": {
|
|
@@ -71,20 +71,20 @@
|
|
|
71
71
|
"@types/heft-jest": "1.0.6",
|
|
72
72
|
"eslint-plugin-tsdoc": "~0.5.2",
|
|
73
73
|
"typedoc": "~0.28.16",
|
|
74
|
-
"@fgv/
|
|
75
|
-
"@fgv/
|
|
76
|
-
"@fgv/ts-utils": "5.1.0-
|
|
77
|
-
"@fgv/ts-
|
|
78
|
-
"@fgv/
|
|
79
|
-
"@fgv/ts-json-base": "5.1.0-
|
|
74
|
+
"@fgv/heft-dual-rig": "5.1.0-48",
|
|
75
|
+
"@fgv/typedoc-compact-theme": "5.1.0-48",
|
|
76
|
+
"@fgv/ts-utils": "5.1.0-48",
|
|
77
|
+
"@fgv/ts-utils-jest": "5.1.0-48",
|
|
78
|
+
"@fgv/ts-extras": "5.1.0-48",
|
|
79
|
+
"@fgv/ts-json-base": "5.1.0-48"
|
|
80
80
|
},
|
|
81
81
|
"dependencies": {
|
|
82
82
|
"luxon": "^3.7.2"
|
|
83
83
|
},
|
|
84
84
|
"peerDependencies": {
|
|
85
|
-
"@fgv/ts-utils": "5.1.0-
|
|
86
|
-
"@fgv/ts-extras": "5.1.0-
|
|
87
|
-
"@fgv/ts-json-base": "5.1.0-
|
|
85
|
+
"@fgv/ts-utils": "5.1.0-48",
|
|
86
|
+
"@fgv/ts-extras": "5.1.0-48",
|
|
87
|
+
"@fgv/ts-json-base": "5.1.0-48"
|
|
88
88
|
},
|
|
89
89
|
"repository": {
|
|
90
90
|
"type": "git",
|