Socket
Socket
Sign inDemoInstall

poe-text-to-item

Package Overview
Dependencies
0
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.11 to 1.0.12

2

dist/models/index.d.ts

@@ -16,1 +16,3 @@ export * from "./Affix";

export * from "./Talisman";
export * from "./Item";
export * from "./Base";

@@ -32,1 +32,3 @@ "use strict";

__exportStar(require("./Talisman"), exports);
__exportStar(require("./Item"), exports);
__exportStar(require("./Base"), exports);

2

dist/utils/getItemIcon.d.ts

@@ -1,1 +0,1 @@

export declare function getItemIcon(itemBase: any): string;
export declare function getItemIcon(itemBase: any): any;

@@ -13,9 +13,14 @@ "use strict";

return "";
return "http://web.poecdn.com/image/Art/2DItems/" + rareBases_json_1.default[itemBase.base].imgurl;
const base = rareBases_json_1.default[itemBase.base];
if (!base)
return "";
return base.icon;
}
else {
const base = uniqueBases_json_1.default[itemBase.name];
return "http://web.poecdn.com/image/Art/2DItems/" + base.icon + ".png";
if (!base)
return "";
return base.icon;
}
}
exports.getItemIcon = getItemIcon;
{
"name": "poe-text-to-item",
"version": "1.0.11",
"version": "1.0.12",
"type": "module",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc