@wfcd/profile-parser 2.0.3 → 2.0.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/dist/{ItemConfig-uU36aJFJ.js → ItemConfig-B1B_FQ3v.js} +2 -2
- package/dist/ItemConfig.js +3 -3
- package/dist/{LoadOutInventory-CPVZJ_W5.js → LoadOutInventory-CgvhFgiI.js} +3 -3
- package/dist/LoadOutInventory.js +6 -6
- package/dist/{LoadOutItem-B_6G9dXC.js → LoadOutItem-BPGcPkDJ.js} +2 -2
- package/dist/LoadOutItem.js +4 -4
- package/dist/{LoadOutPreset-CMbZo-II.js → LoadOutPreset-sWEYO4e2.js} +1 -1
- package/dist/LoadOutPreset.js +2 -2
- package/dist/{OperatorLoadOuts-B8bEy2dp.js → OperatorLoadOuts-BPNwtye2.js} +2 -2
- package/dist/OperatorLoadOuts.js +3 -3
- package/dist/{Profile-WWZ2BDf0.js → Profile-gcBL8rf7.js} +3 -3
- package/dist/Profile.js +9 -9
- package/dist/ProfileParser.js +9 -9
- package/dist/{Skin-D6v6jC9U.js → Skin-DatBYpae.js} +1 -1
- package/dist/Skin.js +2 -2
- package/dist/{Utils-C3kZCO6a.js → Utils-BxlzPLQa.js} +2 -3
- package/dist/Utils.js +1 -1
- package/dist/{XpInfo-CXC3I0NQ.js → XpInfo-CyYVVX1U.js} +1 -1
- package/dist/XpInfo.js +2 -2
- package/package.json +8 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { mapToHex } from "./Utils-
|
|
2
|
-
import { Skin } from "./Skin-
|
|
1
|
+
import { mapToHex } from "./Utils-BxlzPLQa.js";
|
|
2
|
+
import { Skin } from "./Skin-DatBYpae.js";
|
|
3
3
|
import { colors } from "@wfcd/items/utilities";
|
|
4
4
|
|
|
5
5
|
//#region src/ItemConfig.ts
|
package/dist/ItemConfig.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./Utils-
|
|
2
|
-
import "./Skin-
|
|
3
|
-
import { ItemConfig } from "./ItemConfig-
|
|
1
|
+
import "./Utils-BxlzPLQa.js";
|
|
2
|
+
import "./Skin-DatBYpae.js";
|
|
3
|
+
import { ItemConfig } from "./ItemConfig-B1B_FQ3v.js";
|
|
4
4
|
|
|
5
5
|
export { ItemConfig as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Skin } from "./Skin-
|
|
2
|
-
import { LoadOutItem } from "./LoadOutItem-
|
|
3
|
-
import { XpInfo } from "./XpInfo-
|
|
1
|
+
import { Skin } from "./Skin-DatBYpae.js";
|
|
2
|
+
import { LoadOutItem } from "./LoadOutItem-BPGcPkDJ.js";
|
|
3
|
+
import { XpInfo } from "./XpInfo-CyYVVX1U.js";
|
|
4
4
|
|
|
5
5
|
//#region src/LoadOutInventory.ts
|
|
6
6
|
/**
|
package/dist/LoadOutInventory.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./Utils-
|
|
2
|
-
import "./Skin-
|
|
3
|
-
import "./ItemConfig-
|
|
1
|
+
import "./Utils-BxlzPLQa.js";
|
|
2
|
+
import "./Skin-DatBYpae.js";
|
|
3
|
+
import "./ItemConfig-B1B_FQ3v.js";
|
|
4
4
|
import "./Polarity--RYq3iwF.js";
|
|
5
|
-
import "./LoadOutItem-
|
|
6
|
-
import "./XpInfo-
|
|
7
|
-
import { LoadOutInventory } from "./LoadOutInventory-
|
|
5
|
+
import "./LoadOutItem-BPGcPkDJ.js";
|
|
6
|
+
import "./XpInfo-CyYVVX1U.js";
|
|
7
|
+
import { LoadOutInventory } from "./LoadOutInventory-CgvhFgiI.js";
|
|
8
8
|
|
|
9
9
|
export { LoadOutInventory as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { find } from "./Utils-
|
|
2
|
-
import { ItemConfig } from "./ItemConfig-
|
|
1
|
+
import { find } from "./Utils-BxlzPLQa.js";
|
|
2
|
+
import { ItemConfig } from "./ItemConfig-B1B_FQ3v.js";
|
|
3
3
|
import { Polarity } from "./Polarity--RYq3iwF.js";
|
|
4
4
|
import { parseDate, toTitleCase } from "warframe-worldstate-data/utilities";
|
|
5
5
|
import { colors } from "@wfcd/items/utilities";
|
package/dist/LoadOutItem.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./Utils-
|
|
2
|
-
import "./Skin-
|
|
3
|
-
import "./ItemConfig-
|
|
1
|
+
import "./Utils-BxlzPLQa.js";
|
|
2
|
+
import "./Skin-DatBYpae.js";
|
|
3
|
+
import "./ItemConfig-B1B_FQ3v.js";
|
|
4
4
|
import "./Polarity--RYq3iwF.js";
|
|
5
|
-
import { LoadOutItem } from "./LoadOutItem-
|
|
5
|
+
import { LoadOutItem } from "./LoadOutItem-BPGcPkDJ.js";
|
|
6
6
|
|
|
7
7
|
export { LoadOutItem as default };
|
package/dist/LoadOutPreset.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { mapToHex } from "./Utils-
|
|
2
|
-
import { Skin } from "./Skin-
|
|
1
|
+
import { mapToHex } from "./Utils-BxlzPLQa.js";
|
|
2
|
+
import { Skin } from "./Skin-DatBYpae.js";
|
|
3
3
|
import { colors } from "@wfcd/items/utilities";
|
|
4
4
|
|
|
5
5
|
//#region src/OperatorLoadOuts.ts
|
package/dist/OperatorLoadOuts.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./Utils-
|
|
2
|
-
import "./Skin-
|
|
3
|
-
import { OperatorLoadOuts } from "./OperatorLoadOuts-
|
|
1
|
+
import "./Utils-BxlzPLQa.js";
|
|
2
|
+
import "./Skin-DatBYpae.js";
|
|
3
|
+
import { OperatorLoadOuts } from "./OperatorLoadOuts-BPNwtye2.js";
|
|
4
4
|
|
|
5
5
|
export { OperatorLoadOuts as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ChallengeProgress } from "./ChallengeProgress-DKKtijWw.js";
|
|
2
2
|
import { Intrinsics } from "./Intrinsics-CqFOpLxp.js";
|
|
3
|
-
import { LoadOutInventory } from "./LoadOutInventory-
|
|
4
|
-
import { LoadOutPreset } from "./LoadOutPreset-
|
|
3
|
+
import { LoadOutInventory } from "./LoadOutInventory-CgvhFgiI.js";
|
|
4
|
+
import { LoadOutPreset } from "./LoadOutPreset-sWEYO4e2.js";
|
|
5
5
|
import { Mission } from "./Mission-D2n1i5R2.js";
|
|
6
|
-
import { OperatorLoadOuts } from "./OperatorLoadOuts-
|
|
6
|
+
import { OperatorLoadOuts } from "./OperatorLoadOuts-BPNwtye2.js";
|
|
7
7
|
import { Syndicate } from "./Syndicate-CjUKKAsk.js";
|
|
8
8
|
import { parseDate } from "warframe-worldstate-data/utilities";
|
|
9
9
|
|
package/dist/Profile.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import "./ChallengeProgress-DKKtijWw.js";
|
|
2
2
|
import "./Intrinsics-CqFOpLxp.js";
|
|
3
|
-
import "./Utils-
|
|
4
|
-
import "./Skin-
|
|
5
|
-
import "./ItemConfig-
|
|
3
|
+
import "./Utils-BxlzPLQa.js";
|
|
4
|
+
import "./Skin-DatBYpae.js";
|
|
5
|
+
import "./ItemConfig-B1B_FQ3v.js";
|
|
6
6
|
import "./Polarity--RYq3iwF.js";
|
|
7
|
-
import "./LoadOutItem-
|
|
8
|
-
import "./XpInfo-
|
|
9
|
-
import "./LoadOutInventory-
|
|
10
|
-
import "./LoadOutPreset-
|
|
7
|
+
import "./LoadOutItem-BPGcPkDJ.js";
|
|
8
|
+
import "./XpInfo-CyYVVX1U.js";
|
|
9
|
+
import "./LoadOutInventory-CgvhFgiI.js";
|
|
10
|
+
import "./LoadOutPreset-sWEYO4e2.js";
|
|
11
11
|
import "./Mission-D2n1i5R2.js";
|
|
12
|
-
import "./OperatorLoadOuts-
|
|
12
|
+
import "./OperatorLoadOuts-BPNwtye2.js";
|
|
13
13
|
import "./Syndicate-CjUKKAsk.js";
|
|
14
|
-
import { Profile } from "./Profile-
|
|
14
|
+
import { Profile } from "./Profile-gcBL8rf7.js";
|
|
15
15
|
|
|
16
16
|
export { Profile as default };
|
package/dist/ProfileParser.js
CHANGED
|
@@ -2,18 +2,18 @@ import "./Ability-D1F1s_19.js";
|
|
|
2
2
|
import "./ChallengeProgress-DKKtijWw.js";
|
|
3
3
|
import "./Enemy-BqxhFdkB.js";
|
|
4
4
|
import "./Intrinsics-CqFOpLxp.js";
|
|
5
|
-
import "./Utils-
|
|
6
|
-
import "./Skin-
|
|
7
|
-
import "./ItemConfig-
|
|
5
|
+
import "./Utils-BxlzPLQa.js";
|
|
6
|
+
import "./Skin-DatBYpae.js";
|
|
7
|
+
import "./ItemConfig-B1B_FQ3v.js";
|
|
8
8
|
import "./Polarity--RYq3iwF.js";
|
|
9
|
-
import "./LoadOutItem-
|
|
10
|
-
import "./XpInfo-
|
|
11
|
-
import "./LoadOutInventory-
|
|
12
|
-
import "./LoadOutPreset-
|
|
9
|
+
import "./LoadOutItem-BPGcPkDJ.js";
|
|
10
|
+
import "./XpInfo-CyYVVX1U.js";
|
|
11
|
+
import "./LoadOutInventory-CgvhFgiI.js";
|
|
12
|
+
import "./LoadOutPreset-sWEYO4e2.js";
|
|
13
13
|
import "./Mission-D2n1i5R2.js";
|
|
14
|
-
import "./OperatorLoadOuts-
|
|
14
|
+
import "./OperatorLoadOuts-BPNwtye2.js";
|
|
15
15
|
import "./Syndicate-CjUKKAsk.js";
|
|
16
|
-
import { Profile } from "./Profile-
|
|
16
|
+
import { Profile } from "./Profile-gcBL8rf7.js";
|
|
17
17
|
import "./Pvp-hyzYfVBB.js";
|
|
18
18
|
import "./Race-5Q0StEkE.js";
|
|
19
19
|
import "./Scan-Dlrv6viG.js";
|
package/dist/Skin.js
CHANGED
|
@@ -31,12 +31,11 @@ const categories = [
|
|
|
31
31
|
* @returns {Item}
|
|
32
32
|
*/
|
|
33
33
|
const find = (name, locale = "en") => {
|
|
34
|
-
const
|
|
34
|
+
const item = new Items({
|
|
35
35
|
category: categories,
|
|
36
36
|
i18n: [locale],
|
|
37
37
|
i18nOnObject: true
|
|
38
|
-
});
|
|
39
|
-
const item = items.find((i) => i.uniqueName === name);
|
|
38
|
+
}).find((i) => i.uniqueName === name);
|
|
40
39
|
let itemClone = { ...item };
|
|
41
40
|
if (locale !== "en" && itemClone.i18n[locale] && itemClone.i18n[locale]) {
|
|
42
41
|
itemClone = {
|
package/dist/Utils.js
CHANGED
package/dist/XpInfo.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wfcd/profile-parser",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.6",
|
|
4
4
|
"description": "Parser for Digital Extreme's profile data",
|
|
5
|
+
"repository": "https://github.com/WFCD/profile-parser",
|
|
5
6
|
"type": "module",
|
|
6
7
|
"exports": {
|
|
7
8
|
"./Parser": {
|
|
@@ -29,26 +30,25 @@
|
|
|
29
30
|
"types"
|
|
30
31
|
],
|
|
31
32
|
"devDependencies": {
|
|
32
|
-
"@biomejs/biome": "2.2.
|
|
33
|
+
"@biomejs/biome": "2.2.6",
|
|
33
34
|
"@types/chai": "^5.2.2",
|
|
34
35
|
"@types/mocha": "^10.0.10",
|
|
35
36
|
"@wfcd/eslint-config": "^1.6.3",
|
|
36
37
|
"c8": "^10.1.3",
|
|
37
38
|
"chai": "^6.0.1",
|
|
38
39
|
"chai-json-equal": "^0.0.1",
|
|
39
|
-
"coveralls": "^3.1.1",
|
|
40
40
|
"husky": "^9.1.7",
|
|
41
41
|
"install-peerdeps": "^3.0.7",
|
|
42
42
|
"lint-staged": "^16.1.2",
|
|
43
43
|
"mocha": "^11.7.1",
|
|
44
|
-
"tsdown": "^0.
|
|
44
|
+
"tsdown": "^0.15.0",
|
|
45
45
|
"tsx": "^4.20.3",
|
|
46
46
|
"typescript": "^5.8.3"
|
|
47
47
|
},
|
|
48
48
|
"scripts": {
|
|
49
49
|
"build": "tsdown",
|
|
50
50
|
"build:docs": "tsdown && jsdoc -c .github/docs/conf.json -d docs",
|
|
51
|
-
"coverage": "npm test && c8 report --reporter=text-lcov | coveralls",
|
|
51
|
+
"coverage": "npm test && c8 report --reporter=text-lcov | npx -y -p coveralls coveralls",
|
|
52
52
|
"lint": "biome lint",
|
|
53
53
|
"lint:fix": "biome lint --write",
|
|
54
54
|
"prepublishOnly": "npm run build",
|
|
@@ -62,5 +62,8 @@
|
|
|
62
62
|
"peerDependencies": {
|
|
63
63
|
"@wfcd/items": "^1.1270.626",
|
|
64
64
|
"warframe-worldstate-data": "^3.0.0"
|
|
65
|
+
},
|
|
66
|
+
"publishConfig": {
|
|
67
|
+
"provenance": true
|
|
65
68
|
}
|
|
66
69
|
}
|