@alwatr/hash-string 5.2.2 → 5.2.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/README.md CHANGED
@@ -135,7 +135,3 @@ The following companies, organizations, and individuals support Nanolib ongoing
135
135
  ## Contributing
136
136
 
137
137
  Contributions are welcome! Please read our [contribution guidelines](https://github.com/Alwatr/.github/blob/next/CONTRIBUTING.md) before submitting a pull request.
138
-
139
- ## License
140
-
141
- This project is licensed under the [AGPL-3.0 License](LICENSE).
package/dist/main.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /* @alwatr/hash-string v5.2.2 */
1
+ /* @alwatr/hash-string v5.2.4 */
2
2
  "use strict";
3
3
  var __defProp = Object.defineProperty;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -63,7 +63,7 @@ function nanoHash(str, prefix, repeat = 1) {
63
63
  }
64
64
 
65
65
  // src/main.ts
66
- __dev_mode__: import_package_tracer.packageTracer.add("@alwatr/hash-string", "5.2.2");
66
+ __dev_mode__: import_package_tracer.packageTracer.add("@alwatr/hash-string", "5.2.4");
67
67
  // Annotate the CommonJS export names for ESM import in node:
68
68
  0 && (module.exports = {
69
69
  djb2Hash,
package/dist/main.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /* @alwatr/hash-string v5.2.2 */
1
+ /* @alwatr/hash-string v5.2.4 */
2
2
 
3
3
  // src/main.ts
4
4
  import { packageTracer } from "@alwatr/package-tracer";
@@ -39,7 +39,7 @@ function nanoHash(str, prefix, repeat = 1) {
39
39
  }
40
40
 
41
41
  // src/main.ts
42
- __dev_mode__: packageTracer.add("@alwatr/hash-string", "5.2.2");
42
+ __dev_mode__: packageTracer.add("@alwatr/hash-string", "5.2.4");
43
43
  export {
44
44
  djb2Hash,
45
45
  nanoHash
package/package.json CHANGED
@@ -1,33 +1,19 @@
1
1
  {
2
2
  "name": "@alwatr/hash-string",
3
- "version": "5.2.2",
4
3
  "description": "A simple utility to generate a hash string.",
4
+ "version": "5.2.4",
5
5
  "author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>",
6
- "keywords": [
7
- "hash",
8
- "string",
9
- "hash-string",
10
- "md5",
11
- "utility",
12
- "alwatr",
13
- "nanolib",
14
- "typescript",
15
- "javascript",
16
- "node",
17
- "nodejs",
18
- "browser",
19
- "esm",
20
- "module",
21
- "utility",
22
- "util",
23
- "utils",
24
- "nanolib",
25
- "alwatr"
26
- ],
27
- "type": "module",
28
- "main": "./dist/main.cjs",
29
- "module": "./dist/main.mjs",
30
- "types": "./dist/main.d.ts",
6
+ "bugs": "https://github.com/Alwatr/nanolib/issues",
7
+ "dependencies": {
8
+ "@alwatr/package-tracer": "5.5.6"
9
+ },
10
+ "devDependencies": {
11
+ "@alwatr/nano-build": "6.0.1",
12
+ "@alwatr/prettier-config": "5.0.2",
13
+ "@alwatr/tsconfig-base": "5.0.2",
14
+ "jest": "^30.0.5",
15
+ "typescript": "^5.9.2"
16
+ },
31
17
  "exports": {
32
18
  ".": {
33
19
  "types": "./dist/main.d.ts",
@@ -35,12 +21,34 @@
35
21
  "require": "./dist/main.cjs"
36
22
  }
37
23
  },
38
- "license": "AGPL-3.0-only",
39
24
  "files": [
40
25
  "**/*.{js,mjs,cjs,map,d.ts,html,md,LEGAL.txt}",
41
26
  "LICENSE",
42
27
  "!demo/**/*"
43
28
  ],
29
+ "homepage": "https://github.com/Alwatr/nanolib/tree/next/packages/hash-string#readme",
30
+ "keywords": [
31
+ "alwatr",
32
+ "browser",
33
+ "esm",
34
+ "hash",
35
+ "hash-string",
36
+ "javascript",
37
+ "md5",
38
+ "module",
39
+ "nanolib",
40
+ "node",
41
+ "nodejs",
42
+ "string",
43
+ "typescript",
44
+ "util",
45
+ "utility",
46
+ "utils"
47
+ ],
48
+ "license": "MPL-2.0",
49
+ "main": "./dist/main.cjs",
50
+ "module": "./dist/main.mjs",
51
+ "prettier": "@alwatr/prettier-config",
44
52
  "publishConfig": {
45
53
  "access": "public"
46
54
  },
@@ -49,36 +57,23 @@
49
57
  "url": "https://github.com/Alwatr/nanolib",
50
58
  "directory": "packages/hash-string"
51
59
  },
52
- "homepage": "https://github.com/Alwatr/nanolib/tree/next/packages/hash-string#readme",
53
- "bugs": {
54
- "url": "https://github.com/Alwatr/nanolib/issues"
55
- },
56
- "prettier": "@alwatr/prettier-config",
57
60
  "scripts": {
58
61
  "b": "yarn run build",
59
- "t": "yarn run test",
60
- "w": "yarn run watch",
61
- "c": "yarn run clean",
62
- "cb": "yarn run clean && yarn run build",
63
- "d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
64
62
  "build": "yarn run build:ts && yarn run build:es",
65
63
  "build:es": "nano-build --preset=module",
66
64
  "build:ts": "tsc --build",
65
+ "c": "yarn run clean",
66
+ "cb": "yarn run clean && yarn run build",
67
+ "clean": "rm -rfv dist *.tsbuildinfo",
68
+ "d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
69
+ "t": "yarn run test",
67
70
  "test": "NODE_OPTIONS=\"$NODE_OPTIONS --enable-source-maps --experimental-vm-modules\" jest",
71
+ "w": "yarn run watch",
68
72
  "watch": "yarn run watch:ts & yarn run watch:es",
69
73
  "watch:es": "yarn run build:es --watch",
70
- "watch:ts": "yarn run build:ts --watch --preserveWatchOutput",
71
- "clean": "rm -rfv dist *.tsbuildinfo"
72
- },
73
- "dependencies": {
74
- "@alwatr/package-tracer": "5.5.4"
74
+ "watch:ts": "yarn run build:ts --watch --preserveWatchOutput"
75
75
  },
76
- "devDependencies": {
77
- "@alwatr/nano-build": "5.5.4",
78
- "@alwatr/prettier-config": "5.0.0",
79
- "@alwatr/tsconfig-base": "5.0.0",
80
- "jest": "^29.7.0",
81
- "typescript": "^5.8.3"
82
- },
83
- "gitHead": "dd749e0b9adecdefa8e906669858c014b53bdab0"
76
+ "type": "module",
77
+ "types": "./dist/main.d.ts",
78
+ "gitHead": "be87ff1a4a783c0707e0b06efe728a54b5348b38"
84
79
  }