@xylabs/static-implements 7.0.2 → 7.0.3

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,3 +1,5 @@
1
+ > **Deprecated.** Use [`@ariestools/sdk`](../../ariestools-sdk/README.md) instead. This package is a backward-compatibility re-export shim.
2
+
1
3
  [![logo][]](https://xylabs.com)
2
4
 
3
5
  # @xylabs/static-implements
@@ -12,25 +14,25 @@
12
14
  Using npm:
13
15
 
14
16
  ```sh
15
- npm install {{name}}
17
+ npm install @xylabs/static-implements
16
18
  ```
17
19
 
18
20
  Using yarn:
19
21
 
20
22
  ```sh
21
- yarn add {{name}}
23
+ yarn add @xylabs/static-implements
22
24
  ```
23
25
 
24
26
  Using pnpm:
25
27
 
26
28
  ```sh
27
- pnpm add {{name}}
29
+ pnpm add @xylabs/static-implements
28
30
  ```
29
31
 
30
32
  Using bun:
31
33
 
32
34
  ```sh
33
- bun add {{name}}
35
+ bun add @xylabs/static-implements
34
36
  ```
35
37
 
36
38
 
@@ -1,2 +1,2 @@
1
- export * from './staticImplements.ts';
1
+ export * from '@ariestools/sdk/static-implements';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAA"}
@@ -1,10 +1,3 @@
1
- // src/staticImplements.ts
2
- function staticImplements() {
3
- return (constructor) => {
4
- constructor;
5
- };
6
- }
7
- export {
8
- staticImplements
9
- };
1
+ // src/index.ts
2
+ export * from "@ariestools/sdk/static-implements";
10
3
  //# sourceMappingURL=index.mjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/staticImplements.ts"],
4
- "sourcesContent": ["/**\n * Annotation to decorate classes which implement static methods\n * @returns The decorated class requiring it to implement\n * the members of the the type as static properties/methods\n */\nexport function staticImplements<T>() {\n return <U extends T>(constructor: U) => {\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions\n constructor\n }\n}\n"],
5
- "mappings": ";AAKO,SAAS,mBAAsB;AACpC,SAAO,CAAc,gBAAmB;AAEtC;AAAA,EACF;AACF;",
3
+ "sources": ["../../src/index.ts"],
4
+ "sourcesContent": ["export * from '@ariestools/sdk/static-implements'\n"],
5
+ "mappings": ";AAAA,cAAc;",
6
6
  "names": []
7
7
  }
package/package.json CHANGED
@@ -1,10 +1,8 @@
1
1
  {
2
2
  "name": "@xylabs/static-implements",
3
- "version": "7.0.2",
4
- "description": "Base functionality used throughout XY Labs TypeScript/JavaScript libraries",
3
+ "version": "7.0.3",
4
+ "description": "DEPRECATED use @ariestools/sdk/static-implements. Backward-compatibility re-export shim.",
5
5
  "keywords": [
6
- "static",
7
- "implements",
8
6
  "xylabs",
9
7
  "utility",
10
8
  "typescript",
@@ -41,22 +39,32 @@
41
39
  "!**/*.test.*",
42
40
  "README.md"
43
41
  ],
42
+ "dependencies": {
43
+ "@ariestools/sdk": "~7.0.3"
44
+ },
44
45
  "devDependencies": {
45
- "@xylabs/toolchain": "^8.5.3",
46
- "@xylabs/tsconfig": "^8.5.3",
46
+ "@opentelemetry/api": "^1.9.1",
47
+ "@opentelemetry/sdk-trace-base": "^2.8.0",
48
+ "@xylabs/toolchain": "^8.5.5",
49
+ "@xylabs/tsconfig": "^8.5.5",
50
+ "async-mutex": "^0.5.0",
47
51
  "browserslist": "4.28.4",
48
52
  "eslint": "^10.6.0",
49
53
  "eslint-import-resolver-typescript": "^4.4.5",
50
- "tslib": "^2.8.1",
51
54
  "typescript": "^6.0.3",
52
- "vite": "^8.1.0",
53
- "vitest": "^4.1.9",
54
- "@xylabs/vitest-extended": "~7.0.2"
55
+ "zod": "^4.4.3"
56
+ },
57
+ "peerDependencies": {
58
+ "@opentelemetry/api": "^1.9",
59
+ "@opentelemetry/sdk-trace-base": "^2.7",
60
+ "async-mutex": "^0.5",
61
+ "zod": "^4.4"
55
62
  },
56
63
  "engines": {
57
64
  "node": ">=18"
58
65
  },
59
66
  "publishConfig": {
60
67
  "access": "public"
61
- }
68
+ },
69
+ "deprecated": "Use @ariestools/sdk/static-implements instead. @xylabs/static-implements is a compatibility shim only and will not receive further updates."
62
70
  }
@@ -1,7 +0,0 @@
1
- /**
2
- * Annotation to decorate classes which implement static methods
3
- * @returns The decorated class requiring it to implement
4
- * the members of the the type as static properties/methods
5
- */
6
- export declare function staticImplements<T>(): <U extends T>(constructor: U) => void;
7
- //# sourceMappingURL=staticImplements.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"staticImplements.d.ts","sourceRoot":"","sources":["../../src/staticImplements.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,MACxB,CAAC,SAAS,CAAC,EAAE,aAAa,CAAC,UAIpC"}