update-versions 5.0.2 → 5.0.6

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/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 5.0.4 (2021-11-04)
7
+
8
+ ### Bug Fixes
9
+
10
+ - update the API to match the updated p-progress ([8aa235c](https://github.com/codsen/codsen/commit/8aa235c8ced8daefcfdab14e380d9765f980ef8d))
11
+
6
12
  ## 5.0.0 (2021-09-09)
7
13
 
8
14
  ### Features
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2010-%YEAR% Roy Revelt and other contributors
3
+ Copyright (c) 2010-2021 Roy Revelt and other contributors
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining
6
6
  a copy of this software and associated documentation files (the
package/cli.js CHANGED
@@ -8,7 +8,7 @@ const { readFile } = promises;
8
8
  import write from "write-file-atomic";
9
9
  import { globby } from "globby";
10
10
  import pReduce from "p-reduce";
11
- import PProgress from "p-progress";
11
+ import pProgress, { PProgress } from "p-progress";
12
12
  import meow from "meow";
13
13
  // import updateNotifier from "update-notifier";
14
14
  import isObj from "lodash.isplainobject";
@@ -150,7 +150,7 @@ if (cli.flags) {
150
150
 
151
151
  const allProgressPromise = PProgress.all(
152
152
  pathsPromise.pathsList.map((oneOfPaths) =>
153
- PProgress.fn(async (progress) => {
153
+ pProgress(async (progress) => {
154
154
  // call progress() like progress(0.14);
155
155
 
156
156
  let amended = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "update-versions",
3
- "version": "5.0.2",
3
+ "version": "5.0.6",
4
4
  "description": "Like npm-check-updates but supports Lerna monorepos and enforces strict semver values",
5
5
  "keywords": [
6
6
  "app",
@@ -40,7 +40,9 @@
40
40
  "upd": "cli.js"
41
41
  },
42
42
  "scripts": {
43
- "ci_test": "npm run format && tap --no-only --reporter=silent --output-file=testStats.md && npm run clean_cov",
43
+ "build": "echo 'skip build step for a CLI'",
44
+ "ci_test": "npm run format && tap --no-only --reporter=silent",
45
+ "clean_cov": "../../scripts/leaveCoverageTotalOnly.js",
44
46
  "dev": "echo\"\"",
45
47
  "devunittest": "npm run dev && tap --only -R 'base'",
46
48
  "format": "npm run lect && npm run prettier && npm run lint",
@@ -49,16 +51,12 @@
49
51
  "prettier": "../../node_modules/prettier/bin-prettier.js '*.{js,css,scss,vue,md,ts}' --write --loglevel silent",
50
52
  "republish": "npm publish || :",
51
53
  "tap": "tap",
52
- "test": "npm run lint && npm run unittest && npm run format",
53
- "unittest": "tap --no-only --output-file=testStats.md --reporter=terse && npm run clean_cov",
54
- "clean_cov": "../../scripts/leaveCoverageTotalOnly.js"
54
+ "test": "npm run test:ci",
55
+ "test:ci": "npm run lint && npm run unittest && npm run format",
56
+ "unittest": "tap --no-only --reporter=terse"
55
57
  },
56
58
  "tap": {
57
59
  "check-coverage": false,
58
- "coverage-report": [
59
- "json-summary",
60
- "text"
61
- ],
62
60
  "node-arg": [
63
61
  "--no-warnings",
64
62
  "--experimental-loader",
@@ -82,35 +80,35 @@
82
80
  },
83
81
  "dependencies": {
84
82
  "ansi-diff-stream": "^1.2.1",
85
- "edit-package-json": "^0.5.2",
83
+ "edit-package-json": "^0.5.6",
86
84
  "globby": "^12.0.2",
87
85
  "is-online": "^9.0.1",
88
86
  "lodash.isplainobject": "^4.0.6",
89
- "log-update": "^4.0.0",
90
- "meow": "^10.1.1",
91
- "object-path": "^0.11.7",
92
- "p-map": "^5.1.0",
93
- "p-progress": "^0.5.1",
87
+ "log-update": "^5.0.0",
88
+ "meow": "^10.1.2",
89
+ "object-path": "^0.11.8",
90
+ "p-map": "^5.3.0",
91
+ "p-progress": "^0.6.0",
94
92
  "p-reduce": "^3.0.0",
95
- "pacote": "^11.3.5",
93
+ "pacote": "^12.0.2",
96
94
  "update-notifier": "^5.1.0",
97
95
  "write-file-atomic": "^3.0.3"
98
96
  },
99
97
  "devDependencies": {
100
98
  "@istanbuljs/esm-loader-hook": "^0.1.2",
101
99
  "@types/lodash.isplainobject": "^4.0.6",
102
- "core-js": "^3.17.3",
100
+ "core-js": "^3.19.1",
103
101
  "cross-env": "^7.0.3",
104
- "eslint": "^7.32.0",
105
- "execa": "^5.1.1",
102
+ "eslint": "^8.3.0",
103
+ "execa": "^6.0.0",
106
104
  "fs-extra": "^10.0.0",
107
- "lect": "^0.18.2",
105
+ "lect": "^0.18.6",
108
106
  "lodash.clonedeep": "^4.5.0",
109
- "tap": "^15.0.9",
107
+ "tap": "^15.1.2",
110
108
  "tempy": "^2.0.0",
111
109
  "tslib": "^2.3.1"
112
110
  },
113
111
  "engines": {
114
- "node": ">=12"
112
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
115
113
  }
116
114
  }