@iconify/api
Advanced tools
Comparing version 3.1.0-beta.8 to 3.1.0
@@ -17,3 +17,11 @@ import { defaultIconDimensions } from '@iconify/utils/lib/icon/defaults'; | ||
if (iconSet[prop]) { | ||
result[prop] = iconSet[prop]; | ||
const value = iconSet[prop]; | ||
if (typeof value === 'object') { | ||
// Make sure object has null as constructor | ||
result[prop] = Object.create(null); | ||
Object.assign(result[prop], iconSet[prop]); | ||
} | ||
else { | ||
result[prop] = iconSet[prop]; | ||
} | ||
} | ||
@@ -20,0 +28,0 @@ else if (prop === 'aliases') { |
@@ -6,3 +6,3 @@ { | ||
"license": "MIT", | ||
"version": "3.1.0-beta.8", | ||
"version": "3.1.0", | ||
"publishConfig": { | ||
@@ -19,3 +19,3 @@ "access": "public", | ||
}, | ||
"packageManager": "npm@10.4.0", | ||
"packageManager": "npm@10.6.0", | ||
"engines": { | ||
@@ -36,14 +36,14 @@ "node": ">=16.15.0" | ||
"@fastify/formbody": "^7.4.0", | ||
"@iconify/tools": "^4.0.2", | ||
"@iconify/tools": "^4.0.4", | ||
"@iconify/types": "^2.0.0", | ||
"@iconify/utils": "^2.1.22", | ||
"dotenv": "^16.4.4", | ||
"fastify": "^4.26.1" | ||
"@iconify/utils": "^2.1.23", | ||
"dotenv": "^16.4.5", | ||
"fastify": "^4.26.2" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^29.5.12", | ||
"@types/node": "^20.11.17", | ||
"typescript": "^5.3.3", | ||
"vitest": "^1.2.2" | ||
"@types/node": "^20.12.7", | ||
"typescript": "^5.4.5", | ||
"vitest": "^1.5.2" | ||
} | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
212675
201
6186
0
Updated@iconify/tools@^4.0.4
Updated@iconify/utils@^2.1.23
Updateddotenv@^16.4.5
Updatedfastify@^4.26.2