@stackfactor/client-api 1.7.0 → 1.7.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.
Files changed (1) hide show
  1. package/package.json +16 -16
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackfactor/client-api",
3
- "version": "1.7.0",
3
+ "version": "1.7.2",
4
4
  "description": "Node.js library for the StackFactor API",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -28,8 +28,8 @@
28
28
  "build:cjs": "tsc --project tsconfig.cjs.json && node scripts/write-dist-manifest.mjs commonjs dist/cjs",
29
29
  "build:watch": "tsc --watch",
30
30
  "prepublishOnly": "npm run build",
31
- "test": "jest",
32
- "test:coverage": "jest --coverage",
31
+ "test": "npm run build && node --experimental-test-module-mocks --test test/*.test.mjs",
32
+ "test:coverage": "npm run build && node --experimental-test-module-mocks --experimental-test-coverage --test --test-reporter=tap test/*.test.mjs",
33
33
  "lint": "eslint 'src/**/*.{ts,tsx}'",
34
34
  "ar-auth": "npm config set @stackfactor:registry https://us-central1-npm.pkg.dev/virtual-development-team/sf-devenv-npm-private/; TOKEN=$(gcloud auth print-access-token 2>/dev/null || curl -sfH 'Metadata-Flavor: Google' http://169.254.169.254/computeMetadata/v1/instance/service-accounts/default/token | sed -n 's/.*\"access_token\":\"\\([^\"]*\\)\".*/\\1/p'); test -n \"$TOKEN\" || { echo 'ar-auth: no credential — run: gcloud auth login' >&2; exit 1; }; npm config set //us-central1-npm.pkg.dev/virtual-development-team/sf-devenv-npm-private/:_authToken \"$TOKEN\"; npm config set //us-central1-npm.pkg.dev/virtual-development-team/:_authToken \"$TOKEN\"; echo 'ar-auth: Artifact Registry scope + token configured'",
35
35
  "reinstall": "npm run ar-auth && npm ci",
@@ -48,12 +48,15 @@
48
48
  "url": "https://github.com/StackFactor/stackfactor-client-api/issues"
49
49
  },
50
50
  "homepage": "https://github.com/StackFactor/stackfactor-client-api#readme",
51
+ "engines": {
52
+ "node": ">=22.3.0"
53
+ },
51
54
  "dependencies": {
52
- "axios": "^1.18.1",
53
- "dotenv": "^17.4.2",
55
+ "axios": "^1.20.0",
56
+ "dotenv": "^18.0.4",
54
57
  "https": "latest",
55
- "node-html-parser": "^9.0.0",
56
- "socket.io-client": "^4.8.3"
58
+ "node-html-parser": "^9.0.4",
59
+ "socket.io-client": "^4.8.4"
57
60
  },
58
61
  "browser": {
59
62
  "dotenv": false
@@ -61,15 +64,12 @@
61
64
  "devDependencies": {
62
65
  "@eslint/js": "^10.0.1",
63
66
  "@types/axios": "^0.14.4",
64
- "@types/jest": "^30.0.0",
65
- "@types/node": "^26.1.0",
66
- "@typescript-eslint/eslint-plugin": "^8.63.0",
67
- "@typescript-eslint/parser": "^8.63.0",
68
- "eslint": "^10.6.0",
69
- "eslint-plugin-sonarjs": "^4.2.0",
70
- "globals": "^17.9.0",
71
- "jest": "^30.0.0",
72
- "ts-jest": "^29.2.5",
67
+ "@types/node": "^26.6.3",
68
+ "@typescript-eslint/eslint-plugin": "^8.71.0",
69
+ "@typescript-eslint/parser": "^8.71.0",
70
+ "eslint": "^10.11.0",
71
+ "eslint-plugin-sonarjs": "^4.2.2",
72
+ "globals": "^17.12.0",
73
73
  "typescript": "^6.0.3"
74
74
  }
75
75
  }