@iconify/react
Advanced tools
Comparing version 1.0.1 to 1.0.2
10
build.js
@@ -218,3 +218,3 @@ /** | ||
data = Object.assign({}, data); | ||
data = Object.assign(Object.create(null), data); | ||
delete data.parent; | ||
@@ -246,3 +246,3 @@ Object.keys(data).forEach(key => { | ||
data = Object.assign({}, data); | ||
data = Object.assign(Object.create(null), data); | ||
@@ -262,3 +262,3 @@ let parent = data.parent; | ||
let content = 'import data from \'./' + parent + '\';\n'; | ||
content += '\nlet alias = Object.assign({}, data);\n'; | ||
content += '\nlet alias = Object.assign(Object.create(null), data);\n'; | ||
@@ -509,3 +509,3 @@ let keys = Object.keys(data); | ||
*/ | ||
let files = {}; | ||
let files = Object.create(null); | ||
if (allowFiles !== null) { | ||
@@ -562,3 +562,3 @@ // Use only allow files | ||
*/ | ||
let parsed = {}; | ||
let parsed = Object.create(null); | ||
Object.keys(files).forEach(prefix => { | ||
@@ -565,0 +565,0 @@ let source = files[prefix], |
{ | ||
"name": "@iconify/react", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"lockfileVersion": 1, | ||
@@ -8,10 +8,10 @@ "requires": true, | ||
"@iconify/json": { | ||
"version": "1.0.60", | ||
"resolved": "https://registry.npmjs.org/@iconify/json/-/json-1.0.60.tgz", | ||
"integrity": "sha512-4rd8EpqgLJL1bAXSTAy3fGnEuyOZZOyR+XuonXMAOsQbe5tycvTmSYshmJbY/5DkxoTFOjZAfsvrmjXyj4gxMQ==" | ||
"version": "1.0.65", | ||
"resolved": "https://registry.npmjs.org/@iconify/json/-/json-1.0.65.tgz", | ||
"integrity": "sha512-0QPA4nWoQfUm2zar031h7rLVbQ3QdgiJVWsIdXhjCi1Jgj5nq5FA1VyvY6Kh8pvuHWFfE1rZ9FjM9dxGyj7/3g==" | ||
}, | ||
"@iconify/json-tools": { | ||
"version": "1.0.4", | ||
"resolved": "https://registry.npmjs.org/@iconify/json-tools/-/json-tools-1.0.4.tgz", | ||
"integrity": "sha512-OT1t7MSI3FRKoieBJZPFSfTtoR9hqNkLUtOb6twJviSqv3LKjCMEiyDow1shj4g8zZDWDK//sPT0fcbQ2Odn8g==" | ||
"version": "1.0.5", | ||
"resolved": "https://registry.npmjs.org/@iconify/json-tools/-/json-tools-1.0.5.tgz", | ||
"integrity": "sha512-CfgaLFnd+fuXg2zcxI2/LZpFZHcPUl8BmNNzeP2usLw+Z+JPDwibt8H41pJ86dy8ADMONsTBeTpkFXLh+n9Gsw==" | ||
}, | ||
@@ -18,0 +18,0 @@ "js-tokens": { |
@@ -5,3 +5,3 @@ { | ||
"author": "Vjacheslav Trushkin", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"license": "MIT", | ||
@@ -19,6 +19,6 @@ "bugs": "https://github.com/iconify-design/iconify-react/issues", | ||
"dependencies": { | ||
"@iconify/json": "^1.0.60", | ||
"@iconify/json-tools": "^1.0.4", | ||
"@iconify/json": "^1.0.65", | ||
"@iconify/json-tools": "^1.0.5", | ||
"react": "^16.8.1" | ||
} | ||
} |
30340
Updated@iconify/json@^1.0.65
Updated@iconify/json-tools@^1.0.5