@alwatr/flat-string 5.5.12 → 5.5.13

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,10 @@
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.13](https://github.com/Alwatr/nanolib/compare/@alwatr/flat-string@5.5.12...@alwatr/flat-string@5.5.13) (2025-09-15)
7
+
8
+ **Note:** Version bump only for package @alwatr/flat-string
9
+
6
10
  ## [5.5.12](https://github.com/Alwatr/nanolib/compare/@alwatr/flat-string@5.5.11...@alwatr/flat-string@5.5.12) (2025-09-13)
7
11
 
8
12
  **Note:** Version bump only for package @alwatr/flat-string
package/dist/main.cjs CHANGED
@@ -1,35 +1,3 @@
1
- /* @alwatr/flat-string v5.5.12 */
2
- "use strict";
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
-
21
- // src/main.ts
22
- var main_exports = {};
23
- __export(main_exports, {
24
- flatString: () => flatString
25
- });
26
- module.exports = __toCommonJS(main_exports);
27
- function flatString(str) {
28
- str | 0;
29
- return str;
30
- }
31
- // Annotate the CommonJS export names for ESM import in node:
32
- 0 && (module.exports = {
33
- flatString
34
- });
1
+ /* @alwatr/flat-string v5.5.13 */
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});
35
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": ";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAUO,SAAS,WAAW,KAAqB;AAE9C,QAAM;AACN,SAAO;AACT;",
5
+ "mappings": ";qqBAAA,iHAUO,SAAS,WAAW,IAAqB,CAE9C,IAAM,EACN,OAAO,GACT",
6
6
  "names": []
7
7
  }
package/dist/main.mjs CHANGED
@@ -1,11 +1,3 @@
1
- /* @alwatr/flat-string v5.5.12 */
2
-
3
- // src/main.ts
4
- function flatString(str) {
5
- str | 0;
6
- return str;
7
- }
8
- export {
9
- flatString
10
- };
1
+ /* @alwatr/flat-string v5.5.13 */
2
+ function flatString(str){str|0;return str}export{flatString};
11
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,KAAqB;AAE9C,QAAM;AACN,SAAO;AACT;",
5
+ "mappings": ";AAUO,SAAS,WAAW,IAAqB,CAE9C,IAAM,EACN,OAAO,GACT",
6
6
  "names": []
7
7
  }
package/package.json CHANGED
@@ -1,11 +1,11 @@
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.12",
4
+ "version": "5.5.13",
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.1.2",
8
+ "@alwatr/nano-build": "6.2.0",
9
9
  "@alwatr/prettier-config": "5.0.3",
10
10
  "@alwatr/tsconfig-base": "6.0.1",
11
11
  "typescript": "^5.9.2"
@@ -72,5 +72,5 @@
72
72
  },
73
73
  "type": "module",
74
74
  "types": "./dist/main.d.ts",
75
- "gitHead": "4da18811162df49c118acd71086cdbe38b27f250"
75
+ "gitHead": "e081773e1ba6bf1c62c07d7dc966b174fa7dd3ea"
76
76
  }