@chart-parts/vsvg
Advanced tools
Comparing version 0.0.20 to 0.0.21
@@ -37,4 +37,9 @@ "use strict"; | ||
function symbol(item, context) { | ||
return shapes_1.symbolShape.context(context)(item); | ||
if (item.width != null) { | ||
return shapes_1.symbolWithWidth.context(context)(item); | ||
} | ||
else { | ||
return shapes_1.symbolWithArea.context(context)(item); | ||
} | ||
} | ||
exports.symbol = symbol; |
{ | ||
"name": "@chart-parts/vsvg", | ||
"description": "Implementation of the visual prerendering phase, which translates scenegraphs to an intermediate, svg-based, form", | ||
"version": "0.0.20", | ||
"version": "0.0.21", | ||
"main": "lib/index.js", | ||
@@ -16,3 +16,3 @@ "module": "lib/index.js", | ||
"devDependencies": { | ||
"@chart-parts/scenegraph": "^0.0.20", | ||
"@chart-parts/scenegraph": "^0.0.21", | ||
"rimraf": "^2.6.2", | ||
@@ -23,4 +23,4 @@ "tslint": "^5.11.0", | ||
"dependencies": { | ||
"@chart-parts/interfaces": "^0.0.20", | ||
"@chart-parts/shapes": "^0.0.20", | ||
"@chart-parts/interfaces": "^0.0.21", | ||
"@chart-parts/shapes": "^0.0.21", | ||
"@types/d3-path": "^1.0.7", | ||
@@ -36,3 +36,4 @@ "@types/d3-shape": "^1.2.4", | ||
"access": "public" | ||
} | ||
}, | ||
"gitHead": "d2a342f510340335cb0a8ab5e33e4d4e25ed771d" | ||
} |
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
86419
47
1115
+ Added@chart-parts/interfaces@0.0.21(transitive)
+ Added@chart-parts/shapes@0.0.21(transitive)
- Removed@chart-parts/interfaces@0.0.20(transitive)
- Removed@chart-parts/shapes@0.0.20(transitive)
Updated@chart-parts/shapes@^0.0.21