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.
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "1.10.0"
2
+ ".": "1.10.1"
3
3
  }
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,5 +1,3 @@
1
- /// <reference types="node" />
2
- import { URL } from 'url';
3
1
  import Meta from './meta.model';
4
2
  export default class Link {
5
3
  url: URL;
@@ -1 +1 @@
1
- {"version":3,"file":"link.model.d.ts","sourceRoot":"","sources":["../../src/models/link.model.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,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"}
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"}
@@ -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 url_1.URL(href);
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":";;AAAA,6BAA0B;AAG1B,MAAqB,IAAI;IAChB,GAAG,CAAM;IACT,IAAI,CAAQ;IACnB,YAAmB,IAAY,EAAE,IAAW;QAC1C,IAAI,CAAC,GAAG,GAAG,IAAI,SAAG,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"}
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-japi",
3
- "version": "1.10.0",
3
+ "version": "1.10.1",
4
4
  "description": "A highly-modular (typescript-friendly)-framework agnostic library for serializing data to the JSON:API specification",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {