ranuts 0.5.0 → 0.5.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/CLAUDE.md CHANGED
@@ -452,7 +452,7 @@ selects Blob, string or Document/null; JSON and a fully dynamic mode yield unkno
452
452
  validated. `onProgress` observes download progress; the wrapper does not expose cancellation.
453
453
  `createObjectURL` also accepts existing string URLs and returns them unchanged.
454
454
 
455
- The declaration build uses the shared `bin/prepare-declarations.mjs` normalizer to resolve
455
+ The declaration build uses the shared `bin/prepare-declarations.ts` normalizer to resolve
456
456
  aliases and add NodeNext-compatible relative specifiers. Packages publish ESM only; no
457
457
  CommonJS builds or `.d.cts` forwarding declarations are generated. Browser script tags can
458
458
  load `dist/iife/index.iife.js` (`ranuts`) or `dist/iife/utils.iife.js` (`ranuts_utils`).
package/README.de.md CHANGED
@@ -11,7 +11,7 @@ ESM · IIFE · TypeScript
11
11
  ## Schnellstart
12
12
 
13
13
  ```sh
14
- npm install ranuts
14
+ npm install ranuts@0.5.0
15
15
  ```
16
16
 
17
17
  ```ts
@@ -36,16 +36,16 @@ Wähle den Einstieg nach Laufzeit und Aufgabe. Einzelne Helfer brauchen Browser-
36
36
 
37
37
  ## IIFE / CDN
38
38
 
39
- Für ein klassisches script-Tag steht ein eigenständiges IIFE bereit. Ersetze VERSION durch eine veröffentlichte Version; ein Bundler oder Modullader ist nicht nötig.
39
+ Für ein klassisches script-Tag steht das veröffentlichte eigenständige IIFE bereit; ein Bundler oder Modullader ist nicht nötig.
40
40
 
41
41
  ```html
42
- <script src="https://cdn.jsdelivr.net/npm/ranuts@VERSION/dist/iife/utils.iife.js"></script>
42
+ <script src="https://cdn.jsdelivr.net/npm/ranuts@0.5.0/dist/iife/utils.iife.js"></script>
43
43
  <script>
44
44
  console.log(ranuts_utils.rgbToHex(1, 2, 3));
45
45
  </script>
46
46
  ```
47
47
 
48
- Das Utility-IIFE stellt `ranuts_utils` bereit, das vollständige `dist/iife/index.iife.js` stellt `ranuts` bereit. Ersetze VERSION durch eine veröffentlichte Version.
48
+ Das Utility-IIFE stellt `ranuts_utils` bereit, das vollständige `dist/iife/index.iife.js` stellt `ranuts` bereit.
49
49
 
50
50
  ## Dokumentation
51
51
 
package/README.es.md CHANGED
@@ -11,7 +11,7 @@ ESM · IIFE · TypeScript
11
11
  ## Inicio rápido
12
12
 
13
13
  ```sh
14
- npm install ranuts
14
+ npm install ranuts@0.5.0
15
15
  ```
16
16
 
17
17
  ```ts
@@ -36,16 +36,16 @@ Elige una entrada según el entorno y la tarea. Algunas utilidades necesitan obj
36
36
 
37
37
  ## IIFE / CDN
38
38
 
39
- Para una etiqueta script clásica, usa un IIFE independiente. Sustituye VERSION por una versión publicada; no necesitas bundler ni cargador de módulos.
39
+ Para una etiqueta script clásica, usa el IIFE independiente publicado; no necesitas bundler ni cargador de módulos.
40
40
 
41
41
  ```html
42
- <script src="https://cdn.jsdelivr.net/npm/ranuts@VERSION/dist/iife/utils.iife.js"></script>
42
+ <script src="https://cdn.jsdelivr.net/npm/ranuts@0.5.0/dist/iife/utils.iife.js"></script>
43
43
  <script>
44
44
  console.log(ranuts_utils.rgbToHex(1, 2, 3));
45
45
  </script>
46
46
  ```
47
47
 
48
- El IIFE de utilidades expone `ranuts_utils`; el completo `dist/iife/index.iife.js` expone `ranuts`. Sustituye VERSION por una versión publicada.
48
+ El IIFE de utilidades expone `ranuts_utils`; el completo `dist/iife/index.iife.js` expone `ranuts`.
49
49
 
50
50
  ## Documentación
51
51
 
package/README.fa.md CHANGED
@@ -11,7 +11,7 @@ ESM · IIFE · TypeScript
11
11
  ## شروع سریع
12
12
 
13
13
  ```sh
14
- npm install ranuts
14
+ npm install ranuts@0.5.0
15
15
  ```
16
16
 
17
17
  ```ts
@@ -36,16 +36,16 @@ console.log(rgbToHex(1, 2, 3)); // #010203
36
36
 
37
37
  ## IIFE / CDN
38
38
 
39
- برای تگ script معمولی از IIFE مستقل استفاده کنید. VERSION را با نسخه منتشرشده جایگزین کنید؛ نیازی به ابزار ساخت یا بارگذار ماژول نیست.
39
+ برای تگ script معمولی از IIFE مستقل منتشرشده استفاده کنید؛ نیازی به ابزار ساخت یا بارگذار ماژول نیست.
40
40
 
41
41
  ```html
42
- <script src="https://cdn.jsdelivr.net/npm/ranuts@VERSION/dist/iife/utils.iife.js"></script>
42
+ <script src="https://cdn.jsdelivr.net/npm/ranuts@0.5.0/dist/iife/utils.iife.js"></script>
43
43
  <script>
44
44
  console.log(ranuts_utils.rgbToHex(1, 2, 3));
45
45
  </script>
46
46
  ```
47
47
 
48
- IIFE ابزارها `ranuts_utils` و بسته کامل `dist/iife/index.iife.js` نام `ranuts` را ارائه می‌کند. VERSION را با نسخه منتشرشده جایگزین کنید.
48
+ IIFE ابزارها `ranuts_utils` و بسته کامل `dist/iife/index.iife.js` نام `ranuts` را ارائه می‌کند.
49
49
 
50
50
  ## مستندات
51
51
 
package/README.ja.md CHANGED
@@ -11,7 +11,7 @@ ESM · IIFE · TypeScript
11
11
  ## クイックスタート
12
12
 
13
13
  ```sh
14
- npm install ranuts
14
+ npm install ranuts@0.5.0
15
15
  ```
16
16
 
17
17
  ```ts
@@ -36,16 +36,16 @@ console.log(rgbToHex(1, 2, 3)); // #010203
36
36
 
37
37
  ## IIFE / CDN
38
38
 
39
- 通常の script タグでは独立 IIFE を使用します。VERSION を公開済みバージョンに置き換えてください。バンドラーやモジュールローダーは不要です。
39
+ 通常の script タグでは公開済みの独立 IIFE を使用します。バンドラーやモジュールローダーは不要です。
40
40
 
41
41
  ```html
42
- <script src="https://cdn.jsdelivr.net/npm/ranuts@VERSION/dist/iife/utils.iife.js"></script>
42
+ <script src="https://cdn.jsdelivr.net/npm/ranuts@0.5.0/dist/iife/utils.iife.js"></script>
43
43
  <script>
44
44
  console.log(ranuts_utils.rgbToHex(1, 2, 3));
45
45
  </script>
46
46
  ```
47
47
 
48
- ユーティリティ IIFE のグローバル名は `ranuts_utils`、完全版 `dist/iife/index.iife.js` は `ranuts` です。VERSION を公開済みバージョンに置き換えてください。
48
+ ユーティリティ IIFE のグローバル名は `ranuts_utils`、完全版 `dist/iife/index.iife.js` は `ranuts` です。
49
49
 
50
50
  ## ドキュメント
51
51
 
package/README.ko.md CHANGED
@@ -11,7 +11,7 @@ ESM · IIFE · TypeScript
11
11
  ## 빠른 시작
12
12
 
13
13
  ```sh
14
- npm install ranuts
14
+ npm install ranuts@0.5.0
15
15
  ```
16
16
 
17
17
  ```ts
@@ -36,16 +36,16 @@ console.log(rgbToHex(1, 2, 3)); // #010203
36
36
 
37
37
  ## IIFE / CDN
38
38
 
39
- 일반 script 태그에서는 독립 IIFE를 사용하세요. VERSION을 배포된 버전으로 바꾸면 번들러나 모듈 로더 없이 사용할 수 있습니다.
39
+ 일반 script 태그에서는 배포된 독립 IIFE를 번들러나 모듈 로더 없이 사용할 수 있습니다.
40
40
 
41
41
  ```html
42
- <script src="https://cdn.jsdelivr.net/npm/ranuts@VERSION/dist/iife/utils.iife.js"></script>
42
+ <script src="https://cdn.jsdelivr.net/npm/ranuts@0.5.0/dist/iife/utils.iife.js"></script>
43
43
  <script>
44
44
  console.log(ranuts_utils.rgbToHex(1, 2, 3));
45
45
  </script>
46
46
  ```
47
47
 
48
- 유틸리티 IIFE는 `ranuts_utils`, 전체 `dist/iife/index.iife.js`는 `ranuts`를 노출합니다. VERSION을 배포된 버전으로 바꾸세요.
48
+ 유틸리티 IIFE는 `ranuts_utils`, 전체 `dist/iife/index.iife.js`는 `ranuts`를 노출합니다.
49
49
 
50
50
  ## 문서
51
51
 
package/README.md CHANGED
@@ -11,7 +11,7 @@ ESM · IIFE · TypeScript
11
11
  ## Quick start
12
12
 
13
13
  ```sh
14
- npm install ranuts
14
+ npm install ranuts@0.5.0
15
15
  ```
16
16
 
17
17
  ```ts
@@ -36,16 +36,16 @@ Choose an entry by runtime and task. Individual utilities may require browser gl
36
36
 
37
37
  ## IIFE / CDN
38
38
 
39
- For a classic browser script tag, use a standalone IIFE. Replace VERSION with a published version; no bundler or module loader is needed.
39
+ For a classic browser script tag, use the published standalone IIFE; no bundler or module loader is needed.
40
40
 
41
41
  ```html
42
- <script src="https://cdn.jsdelivr.net/npm/ranuts@VERSION/dist/iife/utils.iife.js"></script>
42
+ <script src="https://cdn.jsdelivr.net/npm/ranuts@0.5.0/dist/iife/utils.iife.js"></script>
43
43
  <script>
44
44
  console.log(ranuts_utils.rgbToHex(1, 2, 3));
45
45
  </script>
46
46
  ```
47
47
 
48
- The utility IIFE exposes `ranuts_utils`; the full `dist/iife/index.iife.js` exposes `ranuts`. Replace VERSION with a published version.
48
+ The utility IIFE exposes `ranuts_utils`; the full `dist/iife/index.iife.js` exposes `ranuts`.
49
49
 
50
50
  ## Documentation
51
51
 
package/README.pt.md CHANGED
@@ -11,7 +11,7 @@ ESM · IIFE · TypeScript
11
11
  ## Início rápido
12
12
 
13
13
  ```sh
14
- npm install ranuts
14
+ npm install ranuts@0.5.0
15
15
  ```
16
16
 
17
17
  ```ts
@@ -36,16 +36,16 @@ Escolha a entrada conforme o ambiente e a tarefa. Alguns utilitários exigem obj
36
36
 
37
37
  ## IIFE / CDN
38
38
 
39
- Para uma tag script clássica, use um IIFE independente. Substitua VERSION por uma versão publicada; não é necessário bundler ou carregador de módulos.
39
+ Para uma tag script clássica, use o IIFE independente publicado; não é necessário bundler ou carregador de módulos.
40
40
 
41
41
  ```html
42
- <script src="https://cdn.jsdelivr.net/npm/ranuts@VERSION/dist/iife/utils.iife.js"></script>
42
+ <script src="https://cdn.jsdelivr.net/npm/ranuts@0.5.0/dist/iife/utils.iife.js"></script>
43
43
  <script>
44
44
  console.log(ranuts_utils.rgbToHex(1, 2, 3));
45
45
  </script>
46
46
  ```
47
47
 
48
- O IIFE de utilitários expõe `ranuts_utils`; o completo `dist/iife/index.iife.js` expõe `ranuts`. Substitua VERSION por uma versão publicada.
48
+ O IIFE de utilitários expõe `ranuts_utils`; o completo `dist/iife/index.iife.js` expõe `ranuts`.
49
49
 
50
50
  ## Documentação
51
51
 
package/README.zh-CN.md CHANGED
@@ -11,7 +11,7 @@ ESM · IIFE · TypeScript
11
11
  ## 快速开始
12
12
 
13
13
  ```sh
14
- npm install ranuts
14
+ npm install ranuts@0.5.0
15
15
  ```
16
16
 
17
17
  ```ts
@@ -36,16 +36,16 @@ console.log(rgbToHex(1, 2, 3)); // #010203
36
36
 
37
37
  ## IIFE / CDN
38
38
 
39
- 普通浏览器 script 标签可加载独立 IIFE。将 VERSION 替换为已发布版本,无需构建工具或模块加载器。
39
+ 普通浏览器 script 标签可直接加载已发布的独立 IIFE,无需构建工具或模块加载器。
40
40
 
41
41
  ```html
42
- <script src="https://cdn.jsdelivr.net/npm/ranuts@VERSION/dist/iife/utils.iife.js"></script>
42
+ <script src="https://cdn.jsdelivr.net/npm/ranuts@0.5.0/dist/iife/utils.iife.js"></script>
43
43
  <script>
44
44
  console.log(ranuts_utils.rgbToHex(1, 2, 3));
45
45
  </script>
46
46
  ```
47
47
 
48
- 工具 IIFE 暴露 `ranuts_utils`;完整 `dist/iife/index.iife.js` 暴露 `ranuts`。请将 VERSION 替换为已发布版本。
48
+ 工具 IIFE 暴露 `ranuts_utils`;完整 `dist/iife/index.iife.js` 暴露 `ranuts`。
49
49
 
50
50
  ## 文档
51
51