quasiurl 1.1.10 → 1.1.11

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
@@ -1,6 +1,6 @@
1
1
  # QuasiURL
2
2
 
3
- *`URL`-like object for URL templates*
3
+ `URL`-like object applicable to partial URLs and URL templates
4
4
 
5
5
  [![npm](https://img.shields.io/npm/v/quasiurl?labelColor=345&color=46e)](https://www.npmjs.com/package/quasiurl) ![Lightweight](https://img.shields.io/bundlephobia/minzip/quasiurl?label=minzip&labelColor=345&color=46e)
6
6
 
package/dist/index.cjs CHANGED
@@ -1,9 +1,10 @@
1
1
  /**
2
- * `URL`-like object for URL templates.
2
+ * `URL`-like object applicable to partial URLs and URL templates.
3
3
  *
4
4
  * Unlike `URL`, `QuasiURL`:
5
5
  * - can have an empty `origin`, `pathname`, `hostname`, `protocol`;
6
- * - preserves templating characters without URL-encoding them.
6
+ * - preserves templating characters without URL-encoding them;
7
+ * - doesn't implement the entire `URL` spec.
7
8
  */
8
9
  var QuasiURL = class {
9
10
  _protocol = "";
package/dist/index.d.ts CHANGED
@@ -1,9 +1,10 @@
1
1
  /**
2
- * `URL`-like object for URL templates.
2
+ * `URL`-like object applicable to partial URLs and URL templates.
3
3
  *
4
4
  * Unlike `URL`, `QuasiURL`:
5
5
  * - can have an empty `origin`, `pathname`, `hostname`, `protocol`;
6
- * - preserves templating characters without URL-encoding them.
6
+ * - preserves templating characters without URL-encoding them;
7
+ * - doesn't implement the entire `URL` spec.
7
8
  */
8
9
  declare class QuasiURL {
9
10
  _protocol: string;
package/dist/index.mjs CHANGED
@@ -1,9 +1,10 @@
1
1
  /**
2
- * `URL`-like object for URL templates.
2
+ * `URL`-like object applicable to partial URLs and URL templates.
3
3
  *
4
4
  * Unlike `URL`, `QuasiURL`:
5
5
  * - can have an empty `origin`, `pathname`, `hostname`, `protocol`;
6
- * - preserves templating characters without URL-encoding them.
6
+ * - preserves templating characters without URL-encoding them;
7
+ * - doesn't implement the entire `URL` spec.
7
8
  */
8
9
  var QuasiURL = class {
9
10
  _protocol = "";
package/index.ts CHANGED
@@ -1,9 +1,10 @@
1
1
  /**
2
- * `URL`-like object for URL templates.
2
+ * `URL`-like object applicable to partial URLs and URL templates.
3
3
  *
4
4
  * Unlike `URL`, `QuasiURL`:
5
5
  * - can have an empty `origin`, `pathname`, `hostname`, `protocol`;
6
- * - preserves templating characters without URL-encoding them.
6
+ * - preserves templating characters without URL-encoding them;
7
+ * - doesn't implement the entire `URL` spec.
7
8
  */
8
9
  export class QuasiURL {
9
10
  _protocol = "";
package/package.json CHANGED
@@ -1,27 +1,28 @@
1
- {
2
- "name": "quasiurl",
3
- "version": "1.1.10",
4
- "description": "URL-like object for URL templates",
5
- "type": "module",
6
- "main": "./dist/index.cjs",
7
- "module": "./dist/index.mjs",
8
- "types": "./dist/index.d.ts",
9
- "scripts": {
10
- "preversion": "npx npm-run-all shape test",
11
- "shape": "npx codeshape",
12
- "test": "node tests.ts"
13
- },
14
- "author": "axtk",
15
- "license": "MIT",
16
- "repository": {
17
- "type": "git",
18
- "url": "git://github.com/t8js/quasiurl.git"
19
- },
20
- "keywords": [
21
- "url",
22
- "template"
23
- ],
24
- "devDependencies": {
25
- "@types/node": "^24.0.4"
26
- }
27
- }
1
+ {
2
+ "name": "quasiurl",
3
+ "version": "1.1.11",
4
+ "description": "URL-like object applicable to partial URLs and URL templates",
5
+ "type": "module",
6
+ "main": "./dist/index.cjs",
7
+ "module": "./dist/index.mjs",
8
+ "types": "./dist/index.d.ts",
9
+ "scripts": {
10
+ "preversion": "npx npm-run-all shape test",
11
+ "shape": "npx codeshape",
12
+ "test": "node tests.ts"
13
+ },
14
+ "author": "axtk",
15
+ "license": "MIT",
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "git://github.com/t8js/quasiurl.git"
19
+ },
20
+ "keywords": [
21
+ "url",
22
+ "partial url",
23
+ "url template"
24
+ ],
25
+ "devDependencies": {
26
+ "@types/node": "^24.0.4"
27
+ }
28
+ }