@visulima/string 2.0.6 → 3.0.0-alpha.1

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
@@ -1,3 +1,20 @@
1
+ ## @visulima/string [3.0.0-alpha.1](https://github.com/visulima/visulima/compare/@visulima/string@2.0.6...@visulima/string@3.0.0-alpha.1) (2025-12-07)
2
+
3
+ ### ⚠ BREAKING CHANGES
4
+
5
+ * change min node version to 22.13
6
+
7
+ ### Bug Fixes
8
+
9
+ * add new package image, fixed readme rendering on npm, fixed building of packages ([b790ba2](https://github.com/visulima/visulima/commit/b790ba253ea07fef83528fd822a678facf021b5f))
10
+ * update Node.js engine version requirement to >=22.13 in multiple package.json files for improved compatibility ([b828e9a](https://github.com/visulima/visulima/commit/b828e9aeaebfc798eecddccd90e6ec7560c6d36a))
11
+
12
+ ### Miscellaneous Chores
13
+
14
+ * moved all packages into groups ([0615e9d](https://github.com/visulima/visulima/commit/0615e9d14a8a886e11da529ce150cf31ca973c10))
15
+ * update @anolilab/semantic-release-pnpm and @anolilab/semantic-release-preset to versions 3.2.2 and 12.1.2 across multiple package.json files for improved compatibility ([3921626](https://github.com/visulima/visulima/commit/3921626141fe5da398749bf0ba675f1596f18afb))
16
+ * update dependencies across multiple packages to improve compatibility and performance, including upgrading `@anolilab/semantic-release-pnpm` and `@anolilab/semantic-release-preset` to versions 3.2.0 and 12.1.0 respectively, and updating `react`, `react-dom`, and `next` versions to 19.2.1 and 16.0.7 in various package.json files ([aee8fcd](https://github.com/visulima/visulima/commit/aee8fcd796ae9b8d055903260e7150996ea9f53d))
17
+
1
18
  ## @visulima/string [2.0.6](https://github.com/visulima/visulima/compare/@visulima/string@2.0.5...@visulima/string@2.0.6) (2025-11-13)
2
19
 
3
20
  ### Bug Fixes
package/README.md CHANGED
@@ -1,15 +1,24 @@
1
- <div align="center">
2
- <h3>visulima string</h3>
3
- <p>
4
- A robust string manipulation library providing utilities for common string operations with support for multiple languages.
5
- </p>
6
- </div>
1
+ <!-- START_PACKAGE_OG_IMAGE_PLACEHOLDER -->
2
+
3
+ <a href="https://www.anolilab.com/open-source" align="center">
4
+
5
+ <img src="__assets__/package-og.svg" alt="string" />
6
+
7
+ </a>
8
+
9
+ <h3 align="center">Functions for manipulating strings.</h3>
10
+
11
+ <!-- END_PACKAGE_OG_IMAGE_PLACEHOLDER -->
7
12
 
8
13
  <br />
9
14
 
10
15
  <div align="center">
11
16
 
12
- [![typescript-image]][typescript-url] [![npm-image]][npm-url] [![license-image]][license-url]
17
+ [![typescript-image][typescript-badge]][typescript-url]
18
+ [![mit licence][license-badge]][license]
19
+ [![npm downloads][npm-downloads-badge]][npm-downloads]
20
+ [![Chat][chat-badge]][chat]
21
+ [![PRs Welcome][prs-welcome-badge]][prs-welcome]
13
22
 
14
23
  </div>
15
24
 
@@ -1112,13 +1121,33 @@ If you would like to help, take a look at the [list of issues](https://github.co
1112
1121
  - [Daniel Bannert](https://github.com/prisis)
1113
1122
  - [All Contributors](https://github.com/visulima/visulima/graphs/contributors)
1114
1123
 
1124
+ ## Made with ❤️ at Anolilab
1125
+
1126
+ This is an open source project and will always remain free to use. If you think it's cool, please star it 🌟. [Anolilab](https://www.anolilab.com/open-source) is a Development and AI Studio. Contact us at [hello@anolilab.com](mailto:hello@anolilab.com) if you need any help with these technologies or just want to say hi!
1127
+
1115
1128
  ## License
1116
1129
 
1117
- The visulima string is open-sourced software licensed under the [MIT][license-url]
1130
+ The visulima string is open-sourced software licensed under the [MIT][license]
1131
+
1132
+ <!-- badges -->
1133
+
1134
+ [license-badge]: https://img.shields.io/npm/l/@visulima/string?style=for-the-badge
1135
+
1136
+ [license]: https://github.com/visulima/visulima/blob/main/LICENSE
1137
+
1138
+ [npm-downloads-badge]: https://img.shields.io/npm/dm/@visulima/string?style=for-the-badge
1139
+
1140
+ [npm-downloads]: https://www.npmjs.com/package/@visulima/string
1141
+
1142
+ [prs-welcome-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=for-the-badge
1143
+
1144
+ [prs-welcome]: https://github.com/visulima/visulima/blob/main/.github/CONTRIBUTING.md
1145
+
1146
+ [chat-badge]: https://img.shields.io/discord/932323359193186354.svg?style=for-the-badge
1147
+
1148
+ [chat]: https://discord.gg/TtFJY8xkFK
1149
+
1150
+ [typescript-badge]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge&logo=typescript
1151
+
1152
+ [typescript-url]: https://www.typescriptlang.org/
1118
1153
 
1119
- [typescript-image]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge&logo=typescript
1120
- [typescript-url]: https://www.typescriptlang.org/ "TypeScript"
1121
- [license-image]: https://img.shields.io/npm/l/@visulima/string?color=blueviolet&style=for-the-badge
1122
- [license-url]: LICENSE.md "license"
1123
- [npm-image]: https://img.shields.io/npm/v/@visulima/string/latest.svg?style=for-the-badge&logo=npm
1124
- [npm-url]: https://www.npmjs.com/package/@visulima/string/v/latest "npm"
package/dist/outdent.js CHANGED
@@ -17,7 +17,7 @@ const internalOutdentArray = (strings, firstInterpolatedValueSetsIndentationLeve
17
17
  if (match) {
18
18
  indentationLevel = match[1].length;
19
19
  }
20
- const reSource = `(\\r\\n|\\r|\\n).{0,${indentationLevel}}`;
20
+ const reSource = String.raw`(\r\n|\r|\n).{0,${indentationLevel}}`;
21
21
  const reMatchIndent = new RegExp(reSource, "g");
22
22
  if (firstInterpolatedValueSetsIndentationLevel) {
23
23
  strings = strings.slice(1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visulima/string",
3
- "version": "2.0.6",
3
+ "version": "3.0.0-alpha.1",
4
4
  "description": "Functions for manipulating strings.",
5
5
  "keywords": [
6
6
  "visulima",
@@ -57,7 +57,7 @@
57
57
  "repository": {
58
58
  "type": "git",
59
59
  "url": "git+https://github.com/visulima/visulima.git",
60
- "directory": "packages/string"
60
+ "directory": "packages/data-manipulation/string"
61
61
  },
62
62
  "funding": [
63
63
  {
@@ -228,7 +228,7 @@
228
228
  "CHANGELOG.md"
229
229
  ],
230
230
  "engines": {
231
- "node": ">=20.19 <=25.x"
231
+ "node": ">=22.13 <=25.x"
232
232
  },
233
233
  "publishConfig": {
234
234
  "access": "public",