update-versions 6.0.10 → 6.0.12
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/cli.js +5 -5
- package/package.json +5 -5
package/cli.js
CHANGED
|
@@ -101,7 +101,7 @@ if (cli.flags) {
|
|
|
101
101
|
let online = await isOnline();
|
|
102
102
|
if (!online) {
|
|
103
103
|
console.error(
|
|
104
|
-
`\n${messagePrefix}${`\u001b[${31}m${
|
|
104
|
+
`\n${messagePrefix}${`\u001b[${31}m${"Please check your internet connection."}\u001b[${39}m`}\n`
|
|
105
105
|
);
|
|
106
106
|
process.exit(1);
|
|
107
107
|
}
|
|
@@ -111,7 +111,7 @@ if (cli.flags) {
|
|
|
111
111
|
newConfig = JSON.parse(readFileSync(confLocation, "utf8"));
|
|
112
112
|
} catch (err) {
|
|
113
113
|
console.log(
|
|
114
|
-
`\n${messagePrefix}${`\u001b[${90}m${
|
|
114
|
+
`\n${messagePrefix}${`\u001b[${90}m${"No config found, moving on."}\u001b[${39}m`}\n`
|
|
115
115
|
);
|
|
116
116
|
}
|
|
117
117
|
|
|
@@ -265,7 +265,7 @@ if (cli.flags) {
|
|
|
265
265
|
// delete this dependency from lect.various.devDependencies if present
|
|
266
266
|
// ---------------------
|
|
267
267
|
if (
|
|
268
|
-
objectPath.has(parsedContents,
|
|
268
|
+
objectPath.has(parsedContents, "lect.various.devDependencies") &&
|
|
269
269
|
Array.isArray(parsedContents.lect.various.devDependencies) &&
|
|
270
270
|
parsedContents.lect.various.devDependencies.includes(keys[y])
|
|
271
271
|
) {
|
|
@@ -471,12 +471,12 @@ if (cli.flags) {
|
|
|
471
471
|
? `${messagePrefix}${
|
|
472
472
|
Object.keys(updatedPackages).length
|
|
473
473
|
? `all updated:\n${printUpdated()}`
|
|
474
|
-
:
|
|
474
|
+
: "everything was already up-to-date"
|
|
475
475
|
}`
|
|
476
476
|
: `${messagePrefix}${Math.floor(val * 100)}% ${
|
|
477
477
|
Object.keys(updatedPackages).length
|
|
478
478
|
? `updated:\n${printUpdated()}`
|
|
479
|
-
:
|
|
479
|
+
: "done"
|
|
480
480
|
}`
|
|
481
481
|
)
|
|
482
482
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "update-versions",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.12",
|
|
4
4
|
"description": "Like npm-check-updates but supports Lerna monorepos and enforces strict semver values",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"app",
|
|
@@ -76,9 +76,9 @@
|
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
78
|
"ansi-diff-stream": "^1.2.1",
|
|
79
|
-
"codsen-utils": "^1.3.
|
|
80
|
-
"edit-package-json": "^0.8.
|
|
81
|
-
"globby": "^13.1.
|
|
79
|
+
"codsen-utils": "^1.3.1",
|
|
80
|
+
"edit-package-json": "^0.8.11",
|
|
81
|
+
"globby": "^13.1.4",
|
|
82
82
|
"is-online": "^10.0.0",
|
|
83
83
|
"log-update": "^5.0.1",
|
|
84
84
|
"meow": "^11.0.0",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"write-file-atomic": "^5.0.0"
|
|
92
92
|
},
|
|
93
93
|
"devDependencies": {
|
|
94
|
-
"fs-extra": "^11.1.
|
|
94
|
+
"fs-extra": "^11.1.1",
|
|
95
95
|
"lodash.clonedeep": "^4.5.0"
|
|
96
96
|
}
|
|
97
97
|
}
|