quasiurl 1.1.7 → 1.1.8

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/dist/index.d.ts CHANGED
@@ -4,30 +4,32 @@
4
4
  * - preserves templating characters without URL-encoding them.
5
5
  */
6
6
  export declare class QuasiURL {
7
- _protocol: string;
8
- _hostname: string;
9
- _port: string;
10
- _pathname: string;
11
- _search: string;
12
- _hash: string;
13
- constructor(url: string);
14
- get href(): string;
15
- set href(value: string);
16
- get protocol(): string;
17
- set protocol(value: string);
18
- get hostname(): string;
19
- set hostname(value: string);
20
- get port(): string;
21
- set port(value: string | number);
22
- get host(): string;
23
- set host(value: string);
24
- get origin(): string;
25
- set origin(value: string);
26
- get pathname(): string;
27
- set pathname(value: string);
28
- get search(): string;
29
- set search(value: string | URLSearchParams);
30
- get hash(): string;
31
- set hash(value: string);
32
- toString(): string;
7
+ _protocol: string;
8
+ _hostname: string;
9
+ _port: string;
10
+ _pathname: string;
11
+ _search: string;
12
+ _hash: string;
13
+ constructor(url: string);
14
+ get href(): string;
15
+ set href(value: string);
16
+ get protocol(): string;
17
+ set protocol(value: string);
18
+ get hostname(): string;
19
+ set hostname(value: string);
20
+ get port(): string;
21
+ set port(value: string | number);
22
+ get host(): string;
23
+ set host(value: string);
24
+ get origin(): string;
25
+ set origin(value: string);
26
+ get pathname(): string;
27
+ set pathname(value: string);
28
+ get search(): string;
29
+ set search(value: string | URLSearchParams);
30
+ get hash(): string;
31
+ set hash(value: string);
32
+ toString(): string;
33
33
  }
34
+
35
+ export {};
package/package.json CHANGED
@@ -1,34 +1,28 @@
1
- {
2
- "name": "quasiurl",
3
- "version": "1.1.7",
4
- "description": "URL for templating",
5
- "type": "module",
6
- "main": "dist/index.js",
7
- "types": "dist/index.d.ts",
8
- "scripts": {
9
- "build": "npx npm-run-all clean -p compile compile-tests -s types",
10
- "clean": "node -e \"require('node:fs').rmSync('dist', { force: true, recursive: true });\"",
11
- "compile": "npx esbuild index.ts --bundle --outdir=dist --platform=neutral",
12
- "compile-tests": "npx esbuild tests.ts --bundle --outdir=dist --platform=neutral",
13
- "prepublishOnly": "npm run build",
14
- "preversion": "npx npm-run-all typecheck shape build test",
15
- "shape": "npx codeshape",
16
- "test": "node dist/tests.js",
17
- "typecheck": "tsc --noEmit",
18
- "types": "tsc --emitDeclarationOnly"
19
- },
20
- "author": "axtk",
21
- "license": "MIT",
22
- "repository": {
23
- "type": "git",
24
- "url": "git://github.com/t8js/quasiurl.git"
25
- },
26
- "keywords": [
27
- "url",
28
- "template"
29
- ],
30
- "devDependencies": {
31
- "@types/node": "^24.0.4",
32
- "typescript": "^5.9.2"
33
- }
34
- }
1
+ {
2
+ "name": "quasiurl",
3
+ "version": "1.1.8",
4
+ "description": "URL for templating",
5
+ "type": "module",
6
+ "main": "dist/index.js",
7
+ "types": "dist/index.d.ts",
8
+ "scripts": {
9
+ "clean": "node -e \"require('node:fs').rmSync('dist', { force: true, recursive: true });\"",
10
+ "compile": "npx esbuild index.ts --bundle --outdir=dist --platform=neutral",
11
+ "preversion": "npx npm-run-all clean shape compile test",
12
+ "shape": "npx codeshape --typecheck --emit-types",
13
+ "test": "node tests.ts"
14
+ },
15
+ "author": "axtk",
16
+ "license": "MIT",
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git://github.com/t8js/quasiurl.git"
20
+ },
21
+ "keywords": [
22
+ "url",
23
+ "template"
24
+ ],
25
+ "devDependencies": {
26
+ "@types/node": "^24.0.4"
27
+ }
28
+ }
package/dist/tests.d.ts DELETED
@@ -1 +0,0 @@
1
- export {};