@geoblocks/edittrack
Advanced tools
Comparing version 1.1.4 to 1.1.5
{ | ||
"name": "@geoblocks/edittrack", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "Geoblocks edittrack", | ||
@@ -35,9 +35,9 @@ "module": "src/index.js", | ||
"@geoblocks/d3profile": "0.0.6", | ||
"@geoblocks/proj": "0.4.6", | ||
"@geoblocks/sources": "0.3.1", | ||
"@types/chai": "4.3.5", | ||
"@geoblocks/proj": "0.4.8", | ||
"@geoblocks/sources": "0.3.2", | ||
"@types/chai": "4.3.6", | ||
"@types/mocha": "10.0.1", | ||
"@types/proj4": "2.5.2", | ||
"@typescript-eslint/eslint-plugin": "6.5.0", | ||
"@typescript-eslint/parser": "6.5.0", | ||
"@typescript-eslint/eslint-plugin": "6.6.0", | ||
"@typescript-eslint/parser": "6.6.0", | ||
"chai": "4.3.8", | ||
@@ -48,3 +48,3 @@ "eslint": "8.48.0", | ||
"mocha": "10.2.0", | ||
"ol": "7.5.2", | ||
"ol": "8.0.0", | ||
"parcel": "2.9.3", | ||
@@ -54,3 +54,3 @@ "proj4": "2.9.0", | ||
"tsconfig-paths": "4.2.0", | ||
"typedoc": "0.25.0", | ||
"typedoc": "0.25.1", | ||
"typescript": "5.2.2" | ||
@@ -62,5 +62,5 @@ }, | ||
"peerDependencies": { | ||
"ol": "^6 || ^7", | ||
"ol": "^6 || ^7 || ^8.0.0", | ||
"proj4": "^2" | ||
} | ||
} |
@@ -532,8 +532,7 @@ import Feature from 'ol/Feature.js'; | ||
const features = this.historyManager_.undo(); | ||
this.clearInternal_(); | ||
if (features) { | ||
this.restoreFeaturesInternal_(features.map(feature => feature.clone())); | ||
} else { | ||
this.clearInternal_(); | ||
this.notifyTrackChangeEventListeners_(false); | ||
} | ||
this.notifyTrackChangeEventListeners_(false); | ||
} | ||
@@ -548,2 +547,3 @@ } | ||
const features = this.historyManager_.redo(); | ||
this.clearInternal_(); | ||
if (features) { | ||
@@ -550,0 +550,0 @@ this.restoreFeaturesInternal_(features.map(feature => feature.clone())); |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
74554
3