@stdlib/string-to-grapheme-cluster-iterator 0.1.0 → 0.1.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/NOTICE CHANGED
@@ -1 +1 @@
1
- Copyright (c) 2016-2023 The Stdlib Authors.
1
+ Copyright (c) 2016-2024 The Stdlib Authors.
package/README.md CHANGED
@@ -220,6 +220,13 @@ while ( true ) {
220
220
 
221
221
  <section class="related">
222
222
 
223
+ * * *
224
+
225
+ ## See Also
226
+
227
+ - <span class="package-name">[`@stdlib/array-to-iterator`][@stdlib/array/to-iterator]</span><span class="delimiter">: </span><span class="description">create an iterator from an array-like object.</span>
228
+ - <span class="package-name">[`@stdlib/string-to-grapheme-cluster-iterator-right`][@stdlib/string/to-grapheme-cluster-iterator-right]</span><span class="delimiter">: </span><span class="description">create an iterator which iterates from right to left over grapheme clusters.</span>
229
+
223
230
  </section>
224
231
 
225
232
  <!-- /.related -->
@@ -250,7 +257,7 @@ See [LICENSE][stdlib-license].
250
257
 
251
258
  ## Copyright
252
259
 
253
- Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
260
+ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
254
261
 
255
262
  </section>
256
263
 
@@ -263,8 +270,8 @@ Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
263
270
  [npm-image]: http://img.shields.io/npm/v/@stdlib/string-to-grapheme-cluster-iterator.svg
264
271
  [npm-url]: https://npmjs.org/package/@stdlib/string-to-grapheme-cluster-iterator
265
272
 
266
- [test-image]: https://github.com/stdlib-js/string-to-grapheme-cluster-iterator/actions/workflows/test.yml/badge.svg?branch=v0.1.0
267
- [test-url]: https://github.com/stdlib-js/string-to-grapheme-cluster-iterator/actions/workflows/test.yml?query=branch:v0.1.0
273
+ [test-image]: https://github.com/stdlib-js/string-to-grapheme-cluster-iterator/actions/workflows/test.yml/badge.svg?branch=v0.1.1
274
+ [test-url]: https://github.com/stdlib-js/string-to-grapheme-cluster-iterator/actions/workflows/test.yml?query=branch:v0.1.1
268
275
 
269
276
  [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/string-to-grapheme-cluster-iterator/main.svg
270
277
  [coverage-url]: https://codecov.io/github/stdlib-js/string-to-grapheme-cluster-iterator?branch=main
@@ -287,14 +294,25 @@ Copyright &copy; 2016-2023. The Stdlib [Authors][stdlib-authors].
287
294
  [es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
288
295
 
289
296
  [deno-url]: https://github.com/stdlib-js/string-to-grapheme-cluster-iterator/tree/deno
297
+ [deno-readme]: https://github.com/stdlib-js/string-to-grapheme-cluster-iterator/blob/deno/README.md
290
298
  [umd-url]: https://github.com/stdlib-js/string-to-grapheme-cluster-iterator/tree/umd
299
+ [umd-readme]: https://github.com/stdlib-js/string-to-grapheme-cluster-iterator/blob/umd/README.md
291
300
  [esm-url]: https://github.com/stdlib-js/string-to-grapheme-cluster-iterator/tree/esm
301
+ [esm-readme]: https://github.com/stdlib-js/string-to-grapheme-cluster-iterator/blob/esm/README.md
292
302
  [branches-url]: https://github.com/stdlib-js/string-to-grapheme-cluster-iterator/blob/main/branches.md
293
303
 
294
304
  [stdlib-license]: https://raw.githubusercontent.com/stdlib-js/string-to-grapheme-cluster-iterator/main/LICENSE
295
305
 
296
306
  [unicode-text-segmentation]: http://www.unicode.org/reports/tr29/
297
307
 
308
+ <!-- <related-links> -->
309
+
310
+ [@stdlib/array/to-iterator]: https://www.npmjs.com/package/@stdlib/array-to-iterator
311
+
312
+ [@stdlib/string/to-grapheme-cluster-iterator-right]: https://www.npmjs.com/package/@stdlib/string-to-grapheme-cluster-iterator-right
313
+
314
+ <!-- </related-links> -->
315
+
298
316
  </section>
299
317
 
300
318
  <!-- /.links -->
package/SECURITY.md ADDED
@@ -0,0 +1,5 @@
1
+ # Security
2
+
3
+ > Policy for reporting security vulnerabilities.
4
+
5
+ See the security policy [in the main project repository](https://github.com/stdlib-js/stdlib/security).
@@ -89,7 +89,7 @@ type MapFunction = Nullary | Unary | Binary | Ternary;
89
89
  * var bool = iter.next().done;
90
90
  * // returns true
91
91
  */
92
- declare function graphemeClusters2iterator( src: string, mapFcn?: MapFunction, thisArg?: any ): Iterator; // tslint:disable-line:max-line-length
92
+ declare function graphemeClusters2iterator( src: string, mapFcn?: MapFunction, thisArg?: any ): Iterator;
93
93
 
94
94
 
95
95
  // EXPORTS //
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stdlib/string-to-grapheme-cluster-iterator",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Create an iterator which iterates over grapheme clusters.",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -15,19 +15,12 @@
15
15
  ],
16
16
  "main": "./lib",
17
17
  "directories": {
18
- "benchmark": "./benchmark",
19
18
  "doc": "./docs",
20
- "example": "./examples",
21
19
  "lib": "./lib",
22
- "test": "./test"
20
+ "dist": "./dist"
23
21
  },
24
22
  "types": "./docs/types",
25
- "scripts": {
26
- "test": "make test",
27
- "test-cov": "make test-cov",
28
- "examples": "make examples",
29
- "benchmark": "make benchmark"
30
- },
23
+ "scripts": {},
31
24
  "homepage": "https://stdlib.io",
32
25
  "repository": {
33
26
  "type": "git",
@@ -37,25 +30,14 @@
37
30
  "url": "https://github.com/stdlib-js/stdlib/issues"
38
31
  },
39
32
  "dependencies": {
40
- "@stdlib/assert-is-function": "^0.1.0",
41
- "@stdlib/assert-is-string": "^0.1.0",
42
- "@stdlib/string-format": "^0.1.0",
43
- "@stdlib/string-next-grapheme-cluster-break": "^0.1.0",
44
- "@stdlib/symbol-iterator": "^0.1.0",
45
- "@stdlib/types": "^0.1.0",
46
- "@stdlib/utils-define-nonenumerable-read-only-property": "^0.1.0",
47
- "@stdlib/error-tools-fmtprodmsg": "^0.1.0"
48
- },
49
- "devDependencies": {
50
- "@stdlib/assert-is-iterator-like": "^0.1.0",
51
- "@stdlib/bench": "^0.1.0",
52
- "@stdlib/string-num-grapheme-clusters": "^0.0.9",
53
- "@stdlib/utils-noop": "^0.1.0",
54
- "proxyquire": "^2.0.0",
55
- "tape": "git+https://github.com/kgryte/tape.git#fix/globby",
56
- "istanbul": "^0.4.1",
57
- "tap-min": "git+https://github.com/Planeshifter/tap-min.git"
33
+ "@stdlib/assert-is-function": "^0.2.1",
34
+ "@stdlib/assert-is-string": "^0.2.1",
35
+ "@stdlib/string-format": "^0.2.1",
36
+ "@stdlib/string-next-grapheme-cluster-break": "^0.2.1",
37
+ "@stdlib/symbol-iterator": "^0.2.1",
38
+ "@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.1"
58
39
  },
40
+ "devDependencies": {},
59
41
  "engines": {
60
42
  "node": ">=0.10.0",
61
43
  "npm": ">2.7.0"
package/CITATION.cff DELETED
@@ -1,30 +0,0 @@
1
- cff-version: 1.2.0
2
- title: stdlib
3
- message: >-
4
- If you use this software, please cite it using the
5
- metadata from this file.
6
-
7
- type: software
8
-
9
- authors:
10
- - name: The Stdlib Authors
11
- url: https://github.com/stdlib-js/stdlib/graphs/contributors
12
-
13
- repository-code: https://github.com/stdlib-js/stdlib
14
- url: https://stdlib.io
15
-
16
- abstract: |
17
- Standard library for JavaScript and Node.js.
18
-
19
- keywords:
20
- - JavaScript
21
- - Node.js
22
- - TypeScript
23
- - standard library
24
- - scientific computing
25
- - numerical computing
26
- - statistical computing
27
-
28
- license: Apache-2.0 AND BSL-1.0
29
-
30
- date-released: 2016