pgpm 4.2.1 → 4.2.2

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.
@@ -54,7 +54,7 @@ exports.default = async (argv, _prompter, _options) => {
54
54
  log.info(`Running: ${npmCommand}`);
55
55
  try {
56
56
  await runNpmInstall(pkgName, registry);
57
- (0, utils_1.clearUpdateCache)('pgpm');
57
+ (0, utils_1.suppressUpdateCheck)('pgpm', pkgJson.version);
58
58
  const latest = await (0, npm_version_1.fetchLatestVersion)(pkgName);
59
59
  if (latest) {
60
60
  log.success(`Successfully updated ${pkgName} to version ${latest}.`);
@@ -1,4 +1,4 @@
1
- import { clearUpdateCache } from '@inquirerer/utils';
1
+ import { suppressUpdateCheck } from '@inquirerer/utils';
2
2
  import { Logger } from '@pgpmjs/logger';
3
3
  import { cliExitWithError, getPackageJson } from 'inquirerer';
4
4
  import { spawn } from 'child_process';
@@ -52,7 +52,7 @@ export default async (argv, _prompter, _options) => {
52
52
  log.info(`Running: ${npmCommand}`);
53
53
  try {
54
54
  await runNpmInstall(pkgName, registry);
55
- clearUpdateCache('pgpm');
55
+ suppressUpdateCheck('pgpm', pkgJson.version);
56
56
  const latest = await fetchLatestVersion(pkgName);
57
57
  if (latest) {
58
58
  log.success(`Successfully updated ${pkgName} to version ${latest}.`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pgpm",
3
- "version": "4.2.1",
3
+ "version": "4.2.2",
4
4
  "author": "Constructive <developers@constructive.io>",
5
5
  "description": "PostgreSQL Package Manager - Database migration and package management CLI",
6
6
  "main": "index.js",
@@ -45,7 +45,7 @@
45
45
  "ts-node": "^10.9.2"
46
46
  },
47
47
  "dependencies": {
48
- "@inquirerer/utils": "^3.2.3",
48
+ "@inquirerer/utils": "^3.3.0",
49
49
  "@pgpmjs/core": "^6.3.0",
50
50
  "@pgpmjs/env": "^2.13.0",
51
51
  "@pgpmjs/logger": "^2.2.0",
@@ -74,5 +74,5 @@
74
74
  "pg",
75
75
  "pgsql"
76
76
  ],
77
- "gitHead": "594881150b097a4575f5dcdccf46207351d2a080"
77
+ "gitHead": "ce2369cad9ed3abca2887fe4e955afbcc536c17e"
78
78
  }