@_linked/server 2.23.0 → 2.23.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,11 @@
1
1
  # @\_linked/server
2
2
 
3
+ ## 2.23.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#146](https://github.com/linked-fw/server/pull/146) [`93c8692`](https://github.com/linked-fw/server/commit/93c8692b9fb5eb89e222680dda8f78d7a850f1ee) Thanks [@flyon](https://github.com/flyon)! - Remove unused dependency n3
8
+
3
9
  ## 2.23.0
4
10
 
5
11
  ### Minor Changes
@@ -6,5 +6,5 @@ export default class LincdServerBackendProvider extends BackendProvider {
6
6
  askQuery(json: any): Promise<boolean>;
7
7
  updateQuery(json: any): Promise<unknown>;
8
8
  createQuery(json: any): Promise<unknown>;
9
- deleteQuery(json: any): Promise<import("@_linked/core/queries/DeleteQuery").DeleteResponse>;
9
+ deleteQuery(json: any): Promise<import("@_linked/core/queries/DeleteQuery.js").DeleteResponse>;
10
10
  }
@@ -35,32 +35,32 @@ export declare var loadData: () => Promise<{
35
35
  * `LinkedServer`, `LincdAPI` and `LincdWebApp` (`sh:targetClass`, `sh:path`), which boot sync
36
36
  * rewrites (delete, then recreate) the next time the server starts.
37
37
  */
38
- export declare var ns: (term: string) => import("@_linked/core/utils/NodeReference").NodeReferenceValue;
39
- export declare var _self: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
38
+ export declare var ns: (term: string) => import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
39
+ export declare var _self: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
40
40
  export declare const server: {
41
- LincdServer: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
42
- BackendFileStore: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
43
- NodeFileStore: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
44
- BackendStore: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
45
- N3FileStore: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
46
- BackendAPIStore: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
47
- LincdWebApp: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
48
- ownPackage: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
49
- maintainsPackage: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
50
- LincdAPI: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
51
- hasAPI: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
41
+ LincdServer: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
42
+ BackendFileStore: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
43
+ NodeFileStore: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
44
+ BackendStore: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
45
+ N3FileStore: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
46
+ BackendAPIStore: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
47
+ LincdWebApp: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
48
+ ownPackage: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
49
+ maintainsPackage: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
50
+ LincdAPI: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
51
+ hasAPI: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
52
52
  };
53
53
  /** @deprecated use `server` — same object, kept under its old name. */
54
54
  export declare const lincdServer: {
55
- LincdServer: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
56
- BackendFileStore: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
57
- NodeFileStore: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
58
- BackendStore: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
59
- N3FileStore: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
60
- BackendAPIStore: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
61
- LincdWebApp: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
62
- ownPackage: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
63
- maintainsPackage: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
64
- LincdAPI: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
65
- hasAPI: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
55
+ LincdServer: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
56
+ BackendFileStore: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
57
+ NodeFileStore: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
58
+ BackendStore: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
59
+ N3FileStore: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
60
+ BackendAPIStore: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
61
+ LincdWebApp: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
62
+ ownPackage: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
63
+ maintainsPackage: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
64
+ LincdAPI: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
65
+ hasAPI: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
66
66
  };
@@ -1,4 +1,4 @@
1
1
  export declare const linkedShape: {
2
2
  <T extends typeof import("@_linked/core").Shape>(constructor: T): void;
3
3
  <T extends typeof import("@_linked/core").Shape>(config?: import("@_linked/core/utils/Package").ShapeConfig): (constructor: T) => void;
4
- }, linkedUtil: (constructor: any) => any, linkedOntology: (allFileExports: any, nameSpace: (term: string) => import("@_linked/core/utils/NodeReference").NodeReferenceValue, suggestedPrefixAndFileName: string, loadDataFunction?: () => Promise<any>, dataSource?: string | string[]) => void, packageExports: any, packageName: string;
4
+ }, linkedUtil: (constructor: any) => any, linkedOntology: (allFileExports: any, nameSpace: (term: string) => import("@_linked/core/utils/NodeReference.js").NodeReferenceValue, suggestedPrefixAndFileName: string, loadDataFunction?: () => Promise<any>, dataSource?: string | string[]) => void, packageExports: any, packageName: string;
@@ -13,7 +13,7 @@ export type ShapeSummary = {
13
13
  numInstances: number;
14
14
  };
15
15
  export declare class LincdAPI extends Shape {
16
- static targetClass: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
16
+ static targetClass: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
17
17
  process(request: any, response: any, httpMethod: 'get' | 'post' | 'put' | 'delete'): Promise<void>;
18
18
  get_shape_details({ shapes, }: {
19
19
  shapes: string[];
@@ -33,9 +33,9 @@ export declare class LincdAPI extends Shape {
33
33
  }): Promise<unknown>;
34
34
  post_delete({ query }: {
35
35
  query: any;
36
- }): Promise<import("@_linked/core/queries/DeleteQuery").DeleteResponse>;
36
+ }): Promise<import("@_linked/core/queries/DeleteQuery.js").DeleteResponse>;
37
37
  post_select_raw({ query }: {
38
38
  query: any;
39
- }): Promise<void | import("@_linked/core/sparql/resultMapping").SparqlQueryResults>;
39
+ }): Promise<void | import("@_linked/core/sparql/resultMapping.js").SparqlQueryResults>;
40
40
  private checkRawQuerySupport;
41
41
  }
@@ -1,7 +1,7 @@
1
1
  import { Shape } from '@_linked/core/shapes/Shape';
2
2
  import { Lincd_API_Client } from '@_linked/server-utils/shapes/Lincd_API_Client';
3
3
  export declare class LincdWebApp extends Shape {
4
- static targetClass: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
4
+ static targetClass: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
5
5
  static get localApp(): LincdWebApp;
6
6
  get api(): Lincd_API_Client;
7
7
  }
@@ -26,7 +26,7 @@ export declare class LinkedServer extends Shape {
26
26
  /**
27
27
  * indicates that instances of this shape need to have this rdf.type
28
28
  */
29
- static targetClass: import("@_linked/core/utils/NodeReference").NodeReferenceValue;
29
+ static targetClass: import("@_linked/core/utils/NodeReference.js").NodeReferenceValue;
30
30
  private config;
31
31
  private cachedPaths;
32
32
  private assets;
@@ -30,4 +30,4 @@ export declare const resizedImagesPurpose = "resizedImages";
30
30
  * request handler surfaces as a hung request rather than an error. Registering
31
31
  * on the way past is idempotent and removes the ordering rule entirely.
32
32
  */
33
- export declare function getResizedImagesStore(): import("@_linked/core/interfaces/IFileStore").IFileStore;
33
+ export declare function getResizedImagesStore(): import("@_linked/core/interfaces/IFileStore.js").IFileStore;
package/package.json CHANGED
@@ -10,8 +10,8 @@
10
10
  "type": "git",
11
11
  "url": "git+https://github.com/linked-fw/server.git"
12
12
  },
13
- "version": "2.23.0",
14
- "packageManager": "npm@11.20.0",
13
+ "version": "2.23.1",
14
+ "packageManager": "npm@11.21.0",
15
15
  "linkedPackage": true,
16
16
  "type": "module",
17
17
  "main": "lib/esm/index.js",
@@ -44,7 +44,6 @@
44
44
  "cron": "^4.3.4",
45
45
  "express": "^4.18.3",
46
46
  "fetch-cookie": "^3.1.0",
47
- "n3": "^1.17.2",
48
47
  "node-addon-api": "^8.2.2",
49
48
  "open": "^8.4.0",
50
49
  "proper-lockfile": "^4.1.2",
@@ -65,12 +64,12 @@
65
64
  "@changesets/changelog-github": "^1.0.0",
66
65
  "@changesets/cli": "^3.0.0",
67
66
  "@jest/globals": "^30.0.0",
68
- "@types/jest": "^29.5.14",
67
+ "@types/jest": "^30.0.0",
69
68
  "@types/node": "^24.0.0",
70
69
  "@types/react-dom": "^19.3.0",
71
70
  "copyfiles": "^2.4.1",
72
71
  "cross-env": "^7.0.3",
73
- "jest": "^29.7.0",
72
+ "jest": "^30.0.0",
74
73
  "prettier": "3.9.9",
75
74
  "ts-jest": "^29.4.12",
76
75
  "typescript-plugin-css-modules": "^5.1.0"