@alwatr/http-primer 1.0.1 → 5.0.0
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 +20 -0
- package/dist/main.cjs +2 -2
- package/dist/main.mjs +2 -2
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,26 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 5.0.0 (2024-11-02)
|
|
7
|
+
|
|
8
|
+
### ⚠ BREAKING CHANGES
|
|
9
|
+
|
|
10
|
+
* To simplify version management and ensure consistency, all nanolib packages now use the same version as @alwatr/nanolib. This may require updates to your project's dependencies.
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
* **http-primer:** add MIME types ([386e25e](https://github.com/Alwatr/nanolib/commit/386e25e375d3e7c9c10d7c678a5951282ce1791c)) by @
|
|
15
|
+
|
|
16
|
+
### Code Refactoring
|
|
17
|
+
|
|
18
|
+
* **http-primer:** update HTTP methods and status codes ([820b4a4](https://github.com/Alwatr/nanolib/commit/820b4a4244b6cd50c631dc08c84fe9e0f05b5b2e)) by @
|
|
19
|
+
* **http-utils:** rename package to http-primer and update description ([3c30e17](https://github.com/Alwatr/nanolib/commit/3c30e1768e506dcbb2c83693c7f9dd3dd157d8af)) by @
|
|
20
|
+
* use the same version as @alwatr/nanolib ([60eb860](https://github.com/Alwatr/nanolib/commit/60eb860a0e33dfffe2d1d95e63ce54c60876be06)) by @
|
|
21
|
+
|
|
22
|
+
### Miscellaneous Chores
|
|
23
|
+
|
|
24
|
+
* **http-primer:** add status codes and headers types to keywords ([e1788c2](https://github.com/Alwatr/nanolib/commit/e1788c25242d3d127ffea1105abd09f7f221ee82)) by @
|
|
25
|
+
|
|
6
26
|
## [1.0.1](https://github.com/Alwatr/nanolib/compare/@alwatr/http-primer@1.0.0...@alwatr/http-primer@1.0.1) (2024-11-02)
|
|
7
27
|
|
|
8
28
|
**Note:** Version bump only for package @alwatr/http-primer
|
package/dist/main.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @alwatr/http-primer
|
|
1
|
+
/* @alwatr/http-primer v5.0.0 */
|
|
2
2
|
"use strict";
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -473,7 +473,7 @@ var MimeTypes = {
|
|
|
473
473
|
};
|
|
474
474
|
|
|
475
475
|
// src/main.ts
|
|
476
|
-
__dev_mode__: import_package_tracer.packageTracer.add("@alwatr/http-primer", "
|
|
476
|
+
__dev_mode__: import_package_tracer.packageTracer.add("@alwatr/http-primer", "5.0.0");
|
|
477
477
|
// Annotate the CommonJS export names for ESM import in node:
|
|
478
478
|
0 && (module.exports = {
|
|
479
479
|
HttpMethods,
|
package/dist/main.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @alwatr/http-primer
|
|
1
|
+
/* @alwatr/http-primer v5.0.0 */
|
|
2
2
|
|
|
3
3
|
// src/main.ts
|
|
4
4
|
import { packageTracer } from "@alwatr/package-tracer";
|
|
@@ -447,7 +447,7 @@ var MimeTypes = {
|
|
|
447
447
|
};
|
|
448
448
|
|
|
449
449
|
// src/main.ts
|
|
450
|
-
__dev_mode__: packageTracer.add("@alwatr/http-primer", "
|
|
450
|
+
__dev_mode__: packageTracer.add("@alwatr/http-primer", "5.0.0");
|
|
451
451
|
export {
|
|
452
452
|
HttpMethods,
|
|
453
453
|
HttpStatusCodes,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alwatr/http-primer",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"description": "Essential HTTP utilities for TypeScript, including types for HTTP methods, status codes, and headers.",
|
|
5
5
|
"author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>",
|
|
6
6
|
"keywords": [
|
|
@@ -70,14 +70,14 @@
|
|
|
70
70
|
"clean": "rm -rfv dist *.tsbuildinfo"
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@alwatr/package-tracer": "^
|
|
73
|
+
"@alwatr/package-tracer": "^5.0.0"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
|
-
"@alwatr/nano-build": "^
|
|
77
|
-
"@alwatr/prettier-config": "^
|
|
78
|
-
"@alwatr/tsconfig-base": "^
|
|
79
|
-
"@alwatr/type-helper": "^
|
|
76
|
+
"@alwatr/nano-build": "^5.0.0",
|
|
77
|
+
"@alwatr/prettier-config": "^5.0.0",
|
|
78
|
+
"@alwatr/tsconfig-base": "^5.0.0",
|
|
79
|
+
"@alwatr/type-helper": "^5.0.0",
|
|
80
80
|
"typescript": "^5.6.3"
|
|
81
81
|
},
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "7d12943fafa8ef50636346e66ff56c50e2fd0c72"
|
|
83
83
|
}
|