ts-japi 1.10.0 → 1.10.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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.10.1](https://github.com/mathematic-inc/ts-japi/compare/v1.10.0...v1.10.1) (2024-04-06)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* bump for PR ([173364f](https://github.com/mathematic-inc/ts-japi/commit/173364f99041229747d53e9603c0f84985614156))
|
|
9
|
+
|
|
3
10
|
## [1.10.0](https://github.com/mathematic-inc/ts-japi/compare/v1.9.1...v1.10.0) (2024-03-21)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link.model.d.ts","sourceRoot":"","sources":["../../src/models/link.model.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"link.model.d.ts","sourceRoot":"","sources":["../../src/models/link.model.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,cAAc,CAAC;AAEhC,MAAM,CAAC,OAAO,OAAO,IAAI;IAChB,GAAG,EAAE,GAAG,CAAC;IACT,IAAI,CAAC,EAAE,IAAI,CAAC;gBACA,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,IAAI;IAIrC,MAAM;;;MAA4B;IAClC,QAAQ;;;;CAGhB"}
|
package/lib/models/link.model.js
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const url_1 = require("url");
|
|
4
3
|
class Link {
|
|
5
4
|
url;
|
|
6
5
|
meta;
|
|
7
6
|
constructor(href, meta) {
|
|
8
|
-
this.url = new
|
|
7
|
+
this.url = new URL(href);
|
|
9
8
|
this.meta = meta;
|
|
10
9
|
}
|
|
11
10
|
toJSON = this.toString.bind(this);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link.model.js","sourceRoot":"","sources":["../../src/models/link.model.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"link.model.js","sourceRoot":"","sources":["../../src/models/link.model.ts"],"names":[],"mappings":";;AAEA,MAAqB,IAAI;IAChB,GAAG,CAAM;IACT,IAAI,CAAQ;IACnB,YAAmB,IAAY,EAAE,IAAW;QAC1C,IAAI,CAAC,GAAG,GAAG,IAAI,GAAG,CAAC,IAAI,CAAC,CAAC;QACzB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;IACM,MAAM,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAClC,QAAQ;QACb,OAAO,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC;IAC9E,CAAC;CACF;AAXD,uBAWC"}
|
package/package.json
CHANGED