@juit/check-updates 3.0.0 → 3.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/dist/updater.cjs CHANGED
@@ -92,11 +92,11 @@ var Updater = class _Updater {
92
92
  for (const type of dependencyTypes) {
93
93
  const dependencies = this._packageData[type];
94
94
  if (!dependencies)
95
- return;
95
+ continue;
96
96
  if (!dependencies[name])
97
- return;
97
+ continue;
98
98
  if (dependencies[name] === version)
99
- return;
99
+ continue;
100
100
  dependencies[name] = version;
101
101
  this._changed = true;
102
102
  this._bump();
package/dist/updater.mjs CHANGED
@@ -58,11 +58,11 @@ var Updater = class _Updater {
58
58
  for (const type of dependencyTypes) {
59
59
  const dependencies = this._packageData[type];
60
60
  if (!dependencies)
61
- return;
61
+ continue;
62
62
  if (!dependencies[name])
63
- return;
63
+ continue;
64
64
  if (dependencies[name] === version)
65
- return;
65
+ continue;
66
66
  dependencies[name] = version;
67
67
  this._changed = true;
68
68
  this._bump();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juit/check-updates",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "type": "module",
5
5
  "description": "Small and fast utility to update package dependencies",
6
6
  "author": "Team Juit <developers@juit.com>",
@@ -38,10 +38,10 @@
38
38
  "yargs-parser": "^21.1.1"
39
39
  },
40
40
  "devDependencies": {
41
- "@plugjs/build": "^0.5.4",
41
+ "@plugjs/build": "^0.5.6",
42
42
  "@types/ini": "^1.3.31",
43
43
  "@types/npm-registry-fetch": "^8.0.5",
44
- "@types/semver": "^7.5.2",
44
+ "@types/semver": "^7.5.3",
45
45
  "@types/yargs-parser": "^21.0.1"
46
46
  },
47
47
  "repository": {
package/src/updater.ts CHANGED
@@ -107,9 +107,9 @@ export class Updater {
107
107
 
108
108
  for (const type of dependencyTypes) {
109
109
  const dependencies = this._packageData[type]
110
- if (! dependencies) return
111
- if (! dependencies[name]) return
112
- if (dependencies[name] === version) return
110
+ if (! dependencies) continue
111
+ if (! dependencies[name]) continue
112
+ if (dependencies[name] === version) continue
113
113
 
114
114
  dependencies[name] = version
115
115
  this._changed = true