@stdlib/assert-is-uri 0.2.0 → 0.2.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/README.md CHANGED
@@ -242,8 +242,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
242
242
  [npm-image]: http://img.shields.io/npm/v/@stdlib/assert-is-uri.svg
243
243
  [npm-url]: https://npmjs.org/package/@stdlib/assert-is-uri
244
244
 
245
- [test-image]: https://github.com/stdlib-js/assert-is-uri/actions/workflows/test.yml/badge.svg?branch=v0.2.0
246
- [test-url]: https://github.com/stdlib-js/assert-is-uri/actions/workflows/test.yml?query=branch:v0.2.0
245
+ [test-image]: https://github.com/stdlib-js/assert-is-uri/actions/workflows/test.yml/badge.svg?branch=v0.2.2
246
+ [test-url]: https://github.com/stdlib-js/assert-is-uri/actions/workflows/test.yml?query=branch:v0.2.2
247
247
 
248
248
  [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/assert-is-uri/main.svg
249
249
  [coverage-url]: https://codecov.io/github/stdlib-js/assert-is-uri?branch=main
@@ -119,7 +119,7 @@
119
119
  * var bool = isURI( 'http://example.w3.org/%at' );
120
120
  * // returns false
121
121
  */
122
- declare function isURI( value: any ): value is string;
122
+ declare function isURI( value: any ): boolean;
123
123
 
124
124
 
125
125
  // EXPORTS //
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stdlib/assert-is-uri",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "Test if a value is a URI.",
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,14 +30,9 @@
37
30
  "url": "https://github.com/stdlib-js/stdlib/issues"
38
31
  },
39
32
  "dependencies": {
40
- "@stdlib/assert-is-string": "^0.2.0"
41
- },
42
- "devDependencies": {
43
- "tape": "git+https://github.com/kgryte/tape.git#fix/globby",
44
- "proxyquire": "^2.0.0",
45
- "istanbul": "^0.4.1",
46
- "tap-min": "git+https://github.com/Planeshifter/tap-min.git"
33
+ "@stdlib/assert-is-string": "^0.2.2"
47
34
  },
35
+ "devDependencies": {},
48
36
  "engines": {
49
37
  "node": ">=0.10.0",
50
38
  "npm": ">2.7.0"