mapshaper 0.6.58 → 0.6.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/mapshaper.js +2 -5
- package/package.json +1 -1
- package/www/mapshaper.js +2 -5
package/mapshaper.js
CHANGED
|
@@ -42008,9 +42008,6 @@ ${svg}
|
|
|
42008
42008
|
} else {
|
|
42009
42009
|
moduleName = opts.module;
|
|
42010
42010
|
}
|
|
42011
|
-
if (moduleFile && !require$1('path').isAbsolute(moduleFile)) {
|
|
42012
|
-
moduleFile = require$1('path').join(process.cwd(), moduleFile);
|
|
42013
|
-
}
|
|
42014
42011
|
try {
|
|
42015
42012
|
// import CJS and ES modules
|
|
42016
42013
|
mod = await import(moduleFile ? require$1('url').pathToFileURL(moduleFile) : moduleName);
|
|
@@ -42018,7 +42015,7 @@ ${svg}
|
|
|
42018
42015
|
mod = mod.default;
|
|
42019
42016
|
}
|
|
42020
42017
|
if (typeof mod == 'function') {
|
|
42021
|
-
// assuming that functions are
|
|
42018
|
+
// assuming that functions are mapshaper command generators...
|
|
42022
42019
|
// this MUST be changed asap.
|
|
42023
42020
|
var retn = mod(api);
|
|
42024
42021
|
if (retn && isValidExternalCommand(retn)) {
|
|
@@ -44793,7 +44790,7 @@ ${svg}
|
|
|
44793
44790
|
});
|
|
44794
44791
|
}
|
|
44795
44792
|
|
|
44796
|
-
var version = "0.6.
|
|
44793
|
+
var version = "0.6.59";
|
|
44797
44794
|
|
|
44798
44795
|
// Parse command line args into commands and run them
|
|
44799
44796
|
// Function takes an optional Node-style callback. A Promise is returned if no callback is given.
|
package/package.json
CHANGED
package/www/mapshaper.js
CHANGED
|
@@ -42008,9 +42008,6 @@ ${svg}
|
|
|
42008
42008
|
} else {
|
|
42009
42009
|
moduleName = opts.module;
|
|
42010
42010
|
}
|
|
42011
|
-
if (moduleFile && !require$1('path').isAbsolute(moduleFile)) {
|
|
42012
|
-
moduleFile = require$1('path').join(process.cwd(), moduleFile);
|
|
42013
|
-
}
|
|
42014
42011
|
try {
|
|
42015
42012
|
// import CJS and ES modules
|
|
42016
42013
|
mod = await import(moduleFile ? require$1('url').pathToFileURL(moduleFile) : moduleName);
|
|
@@ -42018,7 +42015,7 @@ ${svg}
|
|
|
42018
42015
|
mod = mod.default;
|
|
42019
42016
|
}
|
|
42020
42017
|
if (typeof mod == 'function') {
|
|
42021
|
-
// assuming that functions are
|
|
42018
|
+
// assuming that functions are mapshaper command generators...
|
|
42022
42019
|
// this MUST be changed asap.
|
|
42023
42020
|
var retn = mod(api);
|
|
42024
42021
|
if (retn && isValidExternalCommand(retn)) {
|
|
@@ -44793,7 +44790,7 @@ ${svg}
|
|
|
44793
44790
|
});
|
|
44794
44791
|
}
|
|
44795
44792
|
|
|
44796
|
-
var version = "0.6.
|
|
44793
|
+
var version = "0.6.59";
|
|
44797
44794
|
|
|
44798
44795
|
// Parse command line args into commands and run them
|
|
44799
44796
|
// Function takes an optional Node-style callback. A Promise is returned if no callback is given.
|