@smapiot/pilet-template-angular 1.0.0 → 1.0.1
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/lib/index.js +2 -2
- package/package.json +3 -3
package/lib/index.js
CHANGED
|
@@ -234,8 +234,8 @@ var require_version = __commonJS({
|
|
|
234
234
|
const s2 = splitVersion(v2);
|
|
235
235
|
const len = Math.max(s1.length - 1, s2.length - 1);
|
|
236
236
|
for (let i = 0; i < len; i++) {
|
|
237
|
-
const n1 = parseInt(s1[i] || "
|
|
238
|
-
const n2 = parseInt(s2[i] || "
|
|
237
|
+
const n1 = parseInt(s1[i] || "x", 10);
|
|
238
|
+
const n2 = parseInt(s2[i] || "x", 10);
|
|
239
239
|
if (n1 > n2) {
|
|
240
240
|
return 1;
|
|
241
241
|
} else if (n2 > n1) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smapiot/pilet-template-angular",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Official scaffolding template for pilets: 'angular'.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"piral-cli",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"test": "echo \"Error: run tests from root\" && exit 1"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@smapiot/template-utils": "^1.0.
|
|
57
|
+
"@smapiot/template-utils": "^1.0.1"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "5036b6d27e51183457c1088195b40f2d8a38fb65"
|
|
60
60
|
}
|