vue2-leaflet
Advanced tools
Comparing version
{ | ||
"name": "vue2-leaflet", | ||
"version": "1.1.1", | ||
"version": "1.2.0", | ||
"description": "Vue2 leaflet library", | ||
@@ -26,7 +26,8 @@ "author": "Mickael Bouchaud", | ||
"dependencies": { | ||
"leaflet": "^1.3.4", | ||
"vue": "^2.5.3", | ||
"leaflet": "1.3.0", | ||
"@types/leaflet": "^1.2.11" | ||
}, | ||
"peerDependencies": {}, | ||
"peerDependencies": { | ||
"vue": "^2.5.3" | ||
}, | ||
"size-limit": [ | ||
@@ -33,0 +34,0 @@ { |
@@ -6,3 +6,3 @@ // Type definitions for vue2-leaflet v1.1.0 | ||
/** | ||
* TODO: | ||
* TODO: | ||
* create test cases for types | ||
@@ -456,2 +456,22 @@ * type parentContainer in components | ||
} | ||
class LIcon extends Mixins(Options) { | ||
// props | ||
iconUrl: String; | ||
iconRetinaUrl: String; | ||
iconSize: L.Point; | ||
iconAnchor: L.Point; | ||
popupAnchor: L.Point; | ||
tooltipAnchor: L.Point; | ||
shadowUrl: String; | ||
shadowRetinaUrl: String; | ||
shadowSize: L.Point; | ||
shadowAnchor: L.Point; | ||
bgPos: L.Point; | ||
className: String; | ||
// data | ||
iconObject: L.Icon; | ||
parentContainer: L.Marker; | ||
} | ||
class LIconDefault extends Vue { | ||
@@ -701,2 +721,3 @@ // props | ||
LGeoJson, | ||
LIcon, | ||
LIconDefault, | ||
@@ -703,0 +724,0 @@ LImageOverlay, |
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 2 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
1
-66.67%0
-100%0
-100%25223
-96.33%4
-42.86%696
-18.79%+ Added
- Removed
- Removed
Updated