@alwatr/pre-handlers 4.9.3 → 4.9.4
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 +14 -0
- package/dist/main.cjs +2 -2
- package/dist/main.mjs +2 -2
- package/package.json +41 -43
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,22 @@
|
|
|
1
1
|
# Change Log
|
|
2
|
+
# Changelog
|
|
3
|
+
|
|
4
|
+
All notable changes to this project will be documented in this file.
|
|
2
5
|
|
|
3
6
|
All notable changes to this project will be documented in this file.
|
|
4
7
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
8
|
|
|
9
|
+
## [4.9.4](https://github.com/Alwatr/pre-handlers/compare/v4.9.3...v4.9.4) (2025-08-23)
|
|
10
|
+
|
|
11
|
+
### 🔨 Code Refactoring
|
|
12
|
+
|
|
13
|
+
* reorganize package.json files for consistency and clarity ([bde116e](https://github.com/Alwatr/pre-handlers/commit/bde116e21f9d9bd6084940e257438916d2c3d312)) by @alimd
|
|
14
|
+
|
|
15
|
+
### 🔗 Dependencies update
|
|
16
|
+
|
|
17
|
+
* downgrade @types/node version to 22.17.2 in all package.json files ([4f01e14](https://github.com/Alwatr/pre-handlers/commit/4f01e1408d8d0954865eb9d20f90178f13e98719)) by @alimd
|
|
18
|
+
* update dependencies for eslint-config, lerna-lite, typescript, and nanolib ([de16a71](https://github.com/Alwatr/pre-handlers/commit/de16a718bb1c0fa569d39c824ec39a1e67ef8dfe)) by @alimd
|
|
19
|
+
|
|
6
20
|
## [4.9.3](https://github.com/Alwatr/pre-handlers/compare/v4.9.2...v4.9.3) (2025-07-23)
|
|
7
21
|
|
|
8
22
|
**Note:** Version bump only for package @alwatr/pre-handlers
|
package/dist/main.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @alwatr/pre-handlers v4.9.
|
|
1
|
+
/* @alwatr/pre-handlers v4.9.4 */
|
|
2
2
|
"use strict";
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -91,7 +91,7 @@ var requireAccessToken = (accessToken) => async function requireAccessToken_() {
|
|
|
91
91
|
};
|
|
92
92
|
|
|
93
93
|
// src/main.ts
|
|
94
|
-
__dev_mode__: import_nanolib.packageTracer.add("@alwatr/pre-handlers", "4.9.
|
|
94
|
+
__dev_mode__: import_nanolib.packageTracer.add("@alwatr/pre-handlers", "4.9.4");
|
|
95
95
|
// Annotate the CommonJS export names for ESM import in node:
|
|
96
96
|
0 && (module.exports = {
|
|
97
97
|
getAuthBearer,
|
package/dist/main.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @alwatr/pre-handlers v4.9.
|
|
1
|
+
/* @alwatr/pre-handlers v4.9.4 */
|
|
2
2
|
|
|
3
3
|
// src/main.ts
|
|
4
4
|
import { packageTracer } from "@alwatr/nanolib";
|
|
@@ -66,7 +66,7 @@ var requireAccessToken = (accessToken) => async function requireAccessToken_() {
|
|
|
66
66
|
};
|
|
67
67
|
|
|
68
68
|
// src/main.ts
|
|
69
|
-
__dev_mode__: packageTracer.add("@alwatr/pre-handlers", "4.9.
|
|
69
|
+
__dev_mode__: packageTracer.add("@alwatr/pre-handlers", "4.9.4");
|
|
70
70
|
export {
|
|
71
71
|
getAuthBearer,
|
|
72
72
|
parseBodyAsJson,
|
package/package.json
CHANGED
|
@@ -1,23 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alwatr/pre-handlers",
|
|
3
|
-
"version": "4.9.3",
|
|
4
3
|
"description": "Functions that will run before processing every defined route.",
|
|
4
|
+
"version": "4.9.4",
|
|
5
5
|
"author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>",
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
"
|
|
9
|
-
"api"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"alwatr"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"types": "./dist/main.d.ts",
|
|
6
|
+
"bugs": "https://github.com/Alwatr/pre-handlers/issues",
|
|
7
|
+
"dependencies": {
|
|
8
|
+
"@alwatr/nanolib": "^5.6.6",
|
|
9
|
+
"@alwatr/nanotron-api-server": "^4.9.4"
|
|
10
|
+
},
|
|
11
|
+
"devDependencies": {
|
|
12
|
+
"@alwatr/nano-build": "^5.5.4",
|
|
13
|
+
"@alwatr/prettier-config": "^5.0.0",
|
|
14
|
+
"@alwatr/tsconfig-base": "^5.0.0",
|
|
15
|
+
"@alwatr/type-helper": "^5.4.2",
|
|
16
|
+
"@types/node": "^22.17.2",
|
|
17
|
+
"jest": "^30.0.5",
|
|
18
|
+
"typescript": "^5.9.2"
|
|
19
|
+
},
|
|
21
20
|
"exports": {
|
|
22
21
|
".": {
|
|
23
22
|
"types": "./dist/main.d.ts",
|
|
@@ -25,11 +24,26 @@
|
|
|
25
24
|
"require": "./dist/main.cjs"
|
|
26
25
|
}
|
|
27
26
|
},
|
|
28
|
-
"license": "AGPL-3.0-only",
|
|
29
27
|
"files": [
|
|
30
28
|
"**/*.{js,mjs,cjs,map,d.ts,html,md}",
|
|
31
29
|
"!demo/**/*"
|
|
32
30
|
],
|
|
31
|
+
"homepage": "https://github.com/Alwatr/pre-handlers#readme",
|
|
32
|
+
"keywords": [
|
|
33
|
+
"alwatr",
|
|
34
|
+
"api",
|
|
35
|
+
"esm",
|
|
36
|
+
"handlers",
|
|
37
|
+
"middleware",
|
|
38
|
+
"nanoservice",
|
|
39
|
+
"route-pre-handlers",
|
|
40
|
+
"server",
|
|
41
|
+
"typescript"
|
|
42
|
+
],
|
|
43
|
+
"license": "AGPL-3.0-only",
|
|
44
|
+
"main": "./dist/main.cjs",
|
|
45
|
+
"module": "./dist/main.mjs",
|
|
46
|
+
"prettier": "@alwatr/prettier-config",
|
|
33
47
|
"publishConfig": {
|
|
34
48
|
"access": "public"
|
|
35
49
|
},
|
|
@@ -38,39 +52,23 @@
|
|
|
38
52
|
"url": "https://github.com/Alwatr/pre-handlers",
|
|
39
53
|
"directory": "packages/pre-handlers"
|
|
40
54
|
},
|
|
41
|
-
"homepage": "https://github.com/Alwatr/pre-handlers#readme",
|
|
42
|
-
"bugs": {
|
|
43
|
-
"url": "https://github.com/Alwatr/pre-handlers/issues"
|
|
44
|
-
},
|
|
45
|
-
"prettier": "@alwatr/prettier-config",
|
|
46
55
|
"scripts": {
|
|
47
56
|
"b": "yarn run build",
|
|
48
|
-
"t": "yarn run test",
|
|
49
|
-
"w": "yarn run watch",
|
|
50
|
-
"c": "yarn run clean",
|
|
51
|
-
"cb": "yarn run clean && yarn run build",
|
|
52
|
-
"d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
|
|
53
57
|
"build": "yarn run build:ts & yarn run build:es",
|
|
54
58
|
"build:es": "nano-build --preset=module",
|
|
55
59
|
"build:ts": "tsc --build",
|
|
60
|
+
"c": "yarn run clean",
|
|
61
|
+
"cb": "yarn run clean && yarn run build",
|
|
62
|
+
"clean": "rm -rfv dist *.tsbuildinfo",
|
|
63
|
+
"d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
|
|
64
|
+
"t": "yarn run test",
|
|
56
65
|
"test": "NODE_OPTIONS=\"$NODE_OPTIONS --enable-source-maps --experimental-vm-modules\" jest",
|
|
66
|
+
"w": "yarn run watch",
|
|
57
67
|
"watch": "yarn run watch:ts & yarn run watch:es",
|
|
58
68
|
"watch:es": "yarn run build:es --watch",
|
|
59
|
-
"watch:ts": "yarn run build:ts --watch --preserveWatchOutput"
|
|
60
|
-
"clean": "rm -rfv dist *.tsbuildinfo"
|
|
61
|
-
},
|
|
62
|
-
"dependencies": {
|
|
63
|
-
"@alwatr/nanolib": "^5.6.5",
|
|
64
|
-
"@alwatr/nanotron-api-server": "^4.9.3"
|
|
69
|
+
"watch:ts": "yarn run build:ts --watch --preserveWatchOutput"
|
|
65
70
|
},
|
|
66
|
-
"
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
"@alwatr/tsconfig-base": "^5.0.0",
|
|
70
|
-
"@alwatr/type-helper": "^5.4.1",
|
|
71
|
-
"@types/node": "^24.1.0",
|
|
72
|
-
"jest": "^30.0.5",
|
|
73
|
-
"typescript": "^5.8.3"
|
|
74
|
-
},
|
|
75
|
-
"gitHead": "17852256f4aab632c64437d1c50c64d02ee108b9"
|
|
71
|
+
"type": "module",
|
|
72
|
+
"types": "./dist/main.d.ts",
|
|
73
|
+
"gitHead": "d225632fac937bbf0faeb6db7eb9796e6ff0f00a"
|
|
76
74
|
}
|