@adalo/metrics 0.1.168 → 0.1.169

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 (2) hide show
  1. package/README.md +1 -14
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -117,17 +117,4 @@ Environment variables:
117
117
  secret env was created as
118
118
  ```js
119
119
  Buffer.from(`${username}:${password}`).toString('base64')
120
- ```
121
-
122
- ## Troubleshooting (consumers)
123
-
124
- **TypeScript build errors in `node_modules/@types/node`** (e.g. `TS1005: '?' expected` in `crypto.d.ts` or `http.d.ts`):
125
- These come from a version of `@types/node` that requires TypeScript 4.7+. If your app uses TypeScript 4.6 or older, force an older `@types/node` by adding to your app’s `package.json`:
126
-
127
- ```json
128
- "resolutions": {
129
- "@types/node": "^16.0.0"
130
- }
131
- ```
132
-
133
- Then run `yarn install` again and rebuild. Alternatively, upgrade your app to TypeScript 4.7+.
120
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adalo/metrics",
3
- "version": "0.1.168",
3
+ "version": "0.1.169",
4
4
  "description": "Reusable metrics utilities for Node.js and Laravel apps",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -31,13 +31,13 @@
31
31
  "@types/pg": "^8.15.6"
32
32
  },
33
33
  "devDependencies": {
34
- "@babel/cli": "^7.24.0",
35
- "@babel/core": "^7.24.0",
36
- "@babel/preset-env": "^7.24.0",
37
- "@babel/preset-typescript": "^7.24.0",
34
+ "@babel/cli": "7.18.6",
35
+ "@babel/core": "7.18.6",
36
+ "@babel/preset-env": "7.18.6",
37
+ "@babel/preset-typescript": "7.18.6",
38
38
  "@types/ioredis": "^5.0.0",
39
39
  "@types/jest": "28.1.6",
40
- "@types/node": "^16.0.0",
40
+ "@types/node": "18.0.4",
41
41
  "@types/redis": "2",
42
42
  "@typescript-eslint/eslint-plugin": "5.30.6",
43
43
  "@typescript-eslint/parser": "5.30.6",