@alwatr/cyrb53 1.0.2 โ†’ 1.0.3

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 CHANGED
@@ -3,6 +3,17 @@
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
+ ## [1.0.3](https://github.com/Alwatr/nanolib/compare/@alwatr/cyrb53@1.0.2...@alwatr/cyrb53@1.0.3) (2025-09-20)
7
+
8
+ ### ๐Ÿ› Bug Fixes
9
+
10
+ * add sideEffects property to package.json files for better tree-shaking ([c7b9e74](https://github.com/Alwatr/nanolib/commit/c7b9e74e1920c8e35b438742de61883ca62da58c))
11
+ * add sideEffects property to package.json files for better tree-shaking ([e8402c4](https://github.com/Alwatr/nanolib/commit/e8402c481a14a1f807a37aaa862a936713d26176))
12
+
13
+ ### ๐Ÿงน Miscellaneous Chores
14
+
15
+ * remove duplicate sideEffects property from multiple package.json files ([b123f86](https://github.com/Alwatr/nanolib/commit/b123f86be81481de2314aae9bb2eeb629743d24c))
16
+
6
17
  ## [1.0.2](https://github.com/Alwatr/nanolib/compare/@alwatr/cyrb53@1.0.1...@alwatr/cyrb53@1.0.2) (2025-09-19)
7
18
 
8
19
  **Note:** Version bump only for package @alwatr/cyrb53
package/dist/main.cjs CHANGED
@@ -1,3 +1,3 @@
1
- /* @alwatr/cyrb53 v1.0.2 */
1
+ /** ๐Ÿ“ฆ @alwatr/cyrb53 v1.0.3 */ __dev_mode__: console.log("๐Ÿ“ฆ @alwatr/cyrb53 v1.0.3");
2
2
  "use strict";var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __hasOwnProp=Object.prototype.hasOwnProperty;var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:true})};var __copyProps=(to,from,except,desc)=>{if(from&&typeof from==="object"||typeof from==="function"){for(let key of __getOwnPropNames(from))if(!__hasOwnProp.call(to,key)&&key!==except)__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable})}return to};var __toCommonJS=mod=>__copyProps(__defProp({},"__esModule",{value:true}),mod);var main_exports={};__export(main_exports,{cyrb53:()=>cyrb53});module.exports=__toCommonJS(main_exports);var H1_SEED=3735928559;var H2_SEED=1103547991;var M_K1=2654435761;var M_K2=1597334677;var F_K1=2246822507;var F_K2=3266489909;var P_K1=4294967296;var P_K2=2097151;function cyrb53(str,seed=0){let h1=H1_SEED^seed;let h2=H2_SEED^seed;for(let i=0,ch;i<str.length;i++){ch=str.charCodeAt(i);h1=Math.imul(h1^ch,M_K1);h2=Math.imul(h2^ch,M_K2)}h1=Math.imul(h1^h1>>>16,F_K1);h1^=Math.imul(h2^h2>>>13,F_K2);h2=Math.imul(h2^h2>>>16,F_K1);h2^=Math.imul(h1^h1>>>13,F_K2);return P_K1*(P_K2&h2)+(h1>>>0)}0&&(module.exports={cyrb53});
3
3
  //# sourceMappingURL=main.cjs.map
package/dist/main.mjs CHANGED
@@ -1,3 +1,3 @@
1
- /* @alwatr/cyrb53 v1.0.2 */
1
+ /** ๐Ÿ“ฆ @alwatr/cyrb53 v1.0.3 */ __dev_mode__: console.log("๐Ÿ“ฆ @alwatr/cyrb53 v1.0.3");
2
2
  var H1_SEED=3735928559;var H2_SEED=1103547991;var M_K1=2654435761;var M_K2=1597334677;var F_K1=2246822507;var F_K2=3266489909;var P_K1=4294967296;var P_K2=2097151;function cyrb53(str,seed=0){let h1=H1_SEED^seed;let h2=H2_SEED^seed;for(let i=0,ch;i<str.length;i++){ch=str.charCodeAt(i);h1=Math.imul(h1^ch,M_K1);h2=Math.imul(h2^ch,M_K2)}h1=Math.imul(h1^h1>>>16,F_K1);h1^=Math.imul(h2^h2>>>13,F_K2);h2=Math.imul(h2^h2>>>16,F_K1);h2^=Math.imul(h1^h1>>>13,F_K2);return P_K1*(P_K2&h2)+(h1>>>0)}export{cyrb53};
3
3
  //# sourceMappingURL=main.mjs.map
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@alwatr/cyrb53",
3
3
  "description": "A modern, high-quality, and fast 53-bit string hash function.",
4
- "version": "1.0.2",
4
+ "version": "1.0.3",
5
5
  "author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>",
6
6
  "bugs": "https://github.com/Alwatr/nanolib/issues",
7
7
  "devDependencies": {
8
- "@alwatr/nano-build": "6.2.1",
9
- "@alwatr/prettier-config": "5.0.3",
10
- "@alwatr/tsconfig-base": "6.0.1",
11
- "@alwatr/type-helper": "6.1.0",
8
+ "@alwatr/nano-build": "6.3.0",
9
+ "@alwatr/prettier-config": "5.0.4",
10
+ "@alwatr/tsconfig-base": "6.0.2",
11
+ "@alwatr/type-helper": "6.1.1",
12
12
  "@jest/globals": "^30.1.2",
13
13
  "typescript": "^5.9.2"
14
14
  },
@@ -58,7 +58,8 @@
58
58
  "watch:es": "yarn run build:es --watch",
59
59
  "watch:ts": "yarn run build:ts --watch --preserveWatchOutput"
60
60
  },
61
+ "sideEffects": false,
61
62
  "type": "module",
62
63
  "types": "./dist/main.d.ts",
63
- "gitHead": "7af0290f1dc91cce15d1324c026354a81c7e64ca"
64
+ "gitHead": "44d9eb76cd9ea59d39b2b00467bea42873155f31"
64
65
  }