@alwatr/flat-string 1.0.1 → 1.0.2

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,12 @@
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.2](https://github.com/Alwatr/nanolib/compare/@alwatr/flat-string@1.0.1...@alwatr/flat-string@1.0.2) (2023-12-22)
7
+
8
+ ### Bug Fixes
9
+
10
+ * package.json include files ([053fc10](https://github.com/Alwatr/nanolib/commit/053fc10b518038647136db9ada2433e27ecb2e63)) by @AliMD
11
+
6
12
  ## [1.0.1](https://github.com/Alwatr/nanolib/compare/@alwatr/flat-string@1.0.0...@alwatr/flat-string@1.0.1) (2023-12-21)
7
13
 
8
14
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alwatr/flat-string",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "The `flat-string` function flattens the underlying C structures of a concatenated JavaScript string.",
5
5
  "author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>",
6
6
  "keywords": [
@@ -27,7 +27,10 @@
27
27
  },
28
28
  "license": "MIT",
29
29
  "files": [
30
- "**/*.{d.ts.map,d.ts,js.map,js,html,md,cjs,mjs,cjs.map,mjs.map}"
30
+ "package.json",
31
+ "README.md",
32
+ "CHANGELOG.md",
33
+ "dist/**/*"
31
34
  ],
32
35
  "publishConfig": {
33
36
  "access": "public"
@@ -57,10 +60,10 @@
57
60
  "clean": "rm -rfv dist .tsbuildinfo"
58
61
  },
59
62
  "devDependencies": {
60
- "@alwatr/nano-build": "^1.0.1",
61
- "@alwatr/prettier-config": "^1.0.1",
62
- "@alwatr/tsconfig-base": "^1.0.1",
63
+ "@alwatr/nano-build": "^1.0.2",
64
+ "@alwatr/prettier-config": "^1.0.2",
65
+ "@alwatr/tsconfig-base": "^1.0.2",
63
66
  "typescript": "^5.3.3"
64
67
  },
65
- "gitHead": "e6e833d520bf19e616113916a23af8c11282cb50"
68
+ "gitHead": "db09e86c37b72ccdfba24098a29e49b0834535a6"
66
69
  }
package/dist/main.cjs DELETED
@@ -1,3 +0,0 @@
1
- /* @alwatr/flat-string v1.0.1 */
2
- "use strict";var g=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var o=Object.getOwnPropertyNames;var u=Object.prototype.hasOwnProperty;var a=(n,t)=>{for(var i in t)g(n,i,{get:t[i],enumerable:!0})},c=(n,t,i,e)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of o(t))!u.call(n,r)&&r!==i&&g(n,r,{get:()=>t[r],enumerable:!(e=f(t,r))||e.enumerable});return n};var l=n=>c(g({},"__esModule",{value:!0}),n);var s={};a(s,{flatString:()=>p});module.exports=l(s);function p(n){return n|0,n}0&&(module.exports={flatString});
3
- //# sourceMappingURL=main.cjs.map
package/dist/main.cjs.map DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../src/main.ts"],
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": ";yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,gBAAAE,IAAA,eAAAC,EAAAH,GAUO,SAASE,EAAWE,EAAqB,CAE9C,OAAAA,EAAM,EACCA,CACT",
6
- "names": ["main_exports", "__export", "flatString", "__toCommonJS", "str"]
7
- }
package/dist/main.d.ts DELETED
@@ -1,12 +0,0 @@
1
- /**
2
- * This function simplifies the complex C structures that are part of a combined JavaScript string.
3
- *
4
- * @param str The string to flatten.
5
- * @returns The flattened string.
6
- * @example
7
- * ```typescript
8
- * myStr = flatString(myStr);
9
- * ```
10
- */
11
- export declare function flatString(str: string): string;
12
- //# sourceMappingURL=main.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAI9C"}
package/dist/main.mjs DELETED
@@ -1,3 +0,0 @@
1
- /* @alwatr/flat-string v1.0.1 */
2
- function t(n){return n|0,n}export{t as flatString};
3
- //# sourceMappingURL=main.mjs.map
package/dist/main.mjs.map DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../src/main.ts"],
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,SAASA,EAAWC,EAAqB,CAE9C,OAAAA,EAAM,EACCA,CACT",
6
- "names": ["flatString", "str"]
7
- }