glamaholic-to-collections
Advanced tools
Comparing version 1.0.1 to 1.0.2
11
lib.js
import * as fs from "node:fs"; | ||
const convertSlotName = (slot) => { | ||
switch (slot) { | ||
case "Hands": | ||
return "Gloves"; | ||
default: | ||
return slot; | ||
} | ||
}; | ||
export const convertPlates = (glamaholicConfig) => | ||
@@ -13,3 +22,3 @@ glamaholicConfig["Plates"].map((plate) => ({ | ||
...acc, | ||
[slot]: { | ||
[convertSlotName(slot)]: { | ||
...item, | ||
@@ -16,0 +25,0 @@ $type: "Collections.GlamourItem, Collections", |
{ | ||
"name": "glamaholic-to-collections", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Convert Glamaholic data to Collections", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5115
108