@alwatr/flat-string 5.5.27 → 5.5.29

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,16 @@
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.5.29](https://github.com/Alwatr/nanolib/compare/@alwatr/flat-string@5.5.28...@alwatr/flat-string@5.5.29) (2026-03-16)
7
+
8
+ ### 🔨 Code Refactoring
9
+
10
+ * migrate build scripts from yarn to bun across multiple packages ([d90e962](https://github.com/Alwatr/nanolib/commit/d90e962f15e5c951e191d5f02341279b6472abc3))
11
+
12
+ ## [5.5.28](https://github.com/Alwatr/nanolib/compare/@alwatr/flat-string@5.5.27...@alwatr/flat-string@5.5.28) (2026-02-18)
13
+
14
+ **Note:** Version bump only for package @alwatr/flat-string
15
+
6
16
  ## [5.5.27](https://github.com/Alwatr/nanolib/compare/@alwatr/flat-string@5.5.26...@alwatr/flat-string@5.5.27) (2025-12-23)
7
17
 
8
18
  **Note:** Version bump only for package @alwatr/flat-string
package/dist/main.cjs CHANGED
@@ -1,4 +1,3 @@
1
- /** 📦 @alwatr/flat-string v5.5.27 */
2
- __dev_mode__: console.debug("📦 @alwatr/flat-string v5.5.27");
1
+ /** 📦 @alwatr/flat-string v5.5.29 */
3
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,{flatString:()=>flatString});module.exports=__toCommonJS(main_exports);function flatString(str){str|0;return str}0&&(module.exports={flatString});
4
3
  //# sourceMappingURL=main.cjs.map
package/dist/main.cjs.map CHANGED
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../src/main.ts"],
4
4
  "sourcesContent": ["/**\n * This function simplifies the complex C structures that are part of a combined JavaScript string.\n *\n * @param str The string to flatten.\n * @returns The flattened string.\n * @example\n * ```typescript\n * myStr = flatString(myStr);\n * ```\n */\nexport function flatString(str: string): string {\n // @ts-expect-error because it alters wrong compilation errors.\n str | 0;\n return str;\n}\n"],
5
- "mappings": ";;qqBAAA,iHAUO,SAAS,WAAW,IAAqB,CAE9C,IAAM,EACN,OAAO,GACT",
5
+ "mappings": ";qqBAAA,iHAUO,SAAS,WAAW,IAAqB,CAE9C,IAAM,EACN,OAAO,GACT",
6
6
  "names": []
7
7
  }
package/dist/main.mjs CHANGED
@@ -1,4 +1,3 @@
1
- /** 📦 @alwatr/flat-string v5.5.27 */
2
- __dev_mode__: console.debug("📦 @alwatr/flat-string v5.5.27");
1
+ /** 📦 @alwatr/flat-string v5.5.29 */
3
2
  function flatString(str){str|0;return str}export{flatString};
4
3
  //# sourceMappingURL=main.mjs.map
package/dist/main.mjs.map CHANGED
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../src/main.ts"],
4
4
  "sourcesContent": ["/**\n * This function simplifies the complex C structures that are part of a combined JavaScript string.\n *\n * @param str The string to flatten.\n * @returns The flattened string.\n * @example\n * ```typescript\n * myStr = flatString(myStr);\n * ```\n */\nexport function flatString(str: string): string {\n // @ts-expect-error because it alters wrong compilation errors.\n str | 0;\n return str;\n}\n"],
5
- "mappings": ";;AAUO,SAAS,WAAW,IAAqB,CAE9C,IAAM,EACN,OAAO,GACT",
5
+ "mappings": ";AAUO,SAAS,WAAW,IAAqB,CAE9C,IAAM,EACN,OAAO,GACT",
6
6
  "names": []
7
7
  }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@alwatr/flat-string",
3
3
  "description": "The `flat-string` function flattens the underlying C structures of a concatenated JavaScript string.",
4
- "version": "5.5.27",
4
+ "version": "5.5.29",
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.4.0",
9
- "@alwatr/prettier-config": "6.0.1",
8
+ "@alwatr/nano-build": "6.4.2",
9
+ "@alwatr/prettier-config": "6.0.2",
10
10
  "@alwatr/tsconfig-base": "6.0.4",
11
11
  "typescript": "^5.9.3"
12
12
  },
@@ -58,21 +58,21 @@
58
58
  "directory": "packages/flat-string"
59
59
  },
60
60
  "scripts": {
61
- "b": "yarn run build",
62
- "build": "yarn run build:ts && yarn run build:es",
61
+ "b": "bun run build",
62
+ "build": "bun run build:ts && bun run build:es",
63
63
  "build:es": "nano-build --preset=module",
64
64
  "build:ts": "tsc --build",
65
- "c": "yarn run clean",
66
- "cb": "yarn run clean && yarn run build",
65
+ "c": "bun run clean",
66
+ "cb": "bun run clean && bun run build",
67
67
  "clean": "rm -rfv dist *.tsbuildinfo",
68
- "d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
69
- "w": "yarn run watch",
70
- "watch": "yarn run watch:ts & yarn run watch:es",
71
- "watch:es": "yarn run build:es --watch",
72
- "watch:ts": "yarn run build:ts --watch --preserveWatchOutput"
68
+ "d": "bun run build:es && bun --enable-source-maps --trace-warnings",
69
+ "w": "bun run watch",
70
+ "watch": "bun run watch:ts & bun run watch:es",
71
+ "watch:es": "bun run build:es --watch",
72
+ "watch:ts": "bun run build:ts --watch --preserveWatchOutput"
73
73
  },
74
74
  "sideEffects": false,
75
75
  "type": "module",
76
76
  "types": "./dist/main.d.ts",
77
- "gitHead": "35950cd5ceb1ae5a8ba4ac73852d286b7b3cd45f"
77
+ "gitHead": "c3889e3756b0a0f9b935a1b702a1373ac52cb379"
78
78
  }