@rsdk/decorators 5.4.0-next.1 → 5.4.0-next.10

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
@@ -3,6 +3,46 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [5.4.0-next.10](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.9...v5.4.0-next.10) (2024-12-03)
7
+
8
+ **Note:** Version bump only for package @rsdk/decorators
9
+
10
+ ## [5.4.0-next.9](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.8...v5.4.0-next.9) (2024-12-02)
11
+
12
+ ## [5.3.1-rc.1](https://github.com/R-Vision/rsdk/compare/v5.3.1-rc.0...v5.3.1-rc.1) (2024-11-28)
13
+
14
+ ## [5.3.1-rc.0](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.6...v5.3.1-rc.0) (2024-11-28)
15
+
16
+ **Note:** Version bump only for package @rsdk/decorators
17
+
18
+ ## [5.4.0-next.8](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.7...v5.4.0-next.8) (2024-11-28)
19
+
20
+ **Note:** Version bump only for package @rsdk/decorators
21
+
22
+ ## [5.4.0-next.7](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.6...v5.4.0-next.7) (2024-11-28)
23
+
24
+ **Note:** Version bump only for package @rsdk/decorators
25
+
26
+ ## [5.4.0-next.6](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.5...v5.4.0-next.6) (2024-11-28)
27
+
28
+ **Note:** Version bump only for package @rsdk/decorators
29
+
30
+ ## [5.4.0-next.5](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.4...v5.4.0-next.5) (2024-11-28)
31
+
32
+ **Note:** Version bump only for package @rsdk/decorators
33
+
34
+ ## [5.4.0-next.4](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.3...v5.4.0-next.4) (2024-11-27)
35
+
36
+ **Note:** Version bump only for package @rsdk/decorators
37
+
38
+ ## [5.4.0-next.3](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.2...v5.4.0-next.3) (2024-11-25)
39
+
40
+ **Note:** Version bump only for package @rsdk/decorators
41
+
42
+ ## [5.4.0-next.2](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.1...v5.4.0-next.2) (2024-11-25)
43
+
44
+ **Note:** Version bump only for package @rsdk/decorators
45
+
6
46
  ## [5.4.0-next.1](https://github.com/R-Vision/rsdk/compare/v5.4.0-next.0...v5.4.0-next.1) (2024-11-08)
7
47
 
8
48
  **Note:** Version bump only for package @rsdk/decorators
@@ -11,6 +51,14 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
11
51
 
12
52
  **Note:** Version bump only for package @rsdk/decorators
13
53
 
54
+ ## [5.3.1-rc.1](https://github.com/R-Vision/rsdk/compare/v5.3.1-rc.0...v5.3.1-rc.1) (2024-11-28)
55
+
56
+ **Note:** Version bump only for package @rsdk/decorators
57
+
58
+ ## [5.3.1-rc.0](https://github.com/R-Vision/rsdk/compare/v5.3.0...v5.3.1-rc.0) (2024-11-28)
59
+
60
+ **Note:** Version bump only for package @rsdk/decorators
61
+
14
62
  ## [5.3.0](https://github.com/R-Vision/rsdk/compare/v5.3.0-next.4...v5.3.0) (2024-11-08)
15
63
 
16
64
  **Note:** Version bump only for package @rsdk/decorators
package/dist/deprecate.js CHANGED
@@ -1,34 +1,11 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
2
  Object.defineProperty(exports, "__esModule", { value: true });
26
3
  exports.DeprecateMethod = void 0;
27
- const util = __importStar(require("node:util"));
4
+ const node_util_1 = require("node:util");
28
5
  const DeprecateMethod = (message) => (_, __, descriptor) => {
29
6
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
30
7
  // @ts-ignore
31
- descriptor.value = util.deprecate(descriptor.value, message);
8
+ descriptor.value = (0, node_util_1.deprecate)(descriptor.value, message);
32
9
  };
33
10
  exports.DeprecateMethod = DeprecateMethod;
34
11
  //# sourceMappingURL=deprecate.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"deprecate.js","sourceRoot":"","sources":["../src/deprecate.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAAkC;AAE3B,MAAM,eAAe,GAC1B,CAAC,OAAe,EAAmB,EAAE,CACrC,CAAC,CAAC,EAAE,EAAE,EAAE,UAAU,EAAQ,EAAE;IAC1B,6DAA6D;IAC7D,aAAa;IACb,UAAU,CAAC,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;AAC/D,CAAC,CAAC;AANS,QAAA,eAAe,mBAMxB"}
1
+ {"version":3,"file":"deprecate.js","sourceRoot":"","sources":["../src/deprecate.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAE/B,MAAM,eAAe,GAC1B,CAAC,OAAe,EAAmB,EAAE,CACrC,CAAC,CAAC,EAAE,EAAE,EAAE,UAAU,EAAQ,EAAE;IAC1B,6DAA6D;IAC7D,aAAa;IACb,UAAU,CAAC,KAAK,GAAG,IAAA,qBAAS,EAAC,UAAU,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;AAC1D,CAAC,CAAC;AANS,QAAA,eAAe,mBAMxB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsdk/decorators",
3
- "version": "5.4.0-next.1",
3
+ "version": "5.4.0-next.10",
4
4
  "description": "Useful built in decorators and tools for creating custom",
5
5
  "license": "Apache License 2.0",
6
6
  "publishConfig": {
@@ -15,5 +15,5 @@
15
15
  "@rsdk/logging": "*",
16
16
  "reflect-metadata": "^0.1.12 || ^0.2.0"
17
17
  },
18
- "gitHead": "de7a6d46a28e5d5e90eb9ba36cea1ee48891505a"
18
+ "gitHead": "e069174778f5d22396099fddfe3b10c4f30b467d"
19
19
  }
package/src/deprecate.ts CHANGED
@@ -1,9 +1,9 @@
1
- import * as util from 'node:util';
1
+ import { deprecate } from 'node:util';
2
2
 
3
3
  export const DeprecateMethod =
4
4
  (message: string): MethodDecorator =>
5
5
  (_, __, descriptor): void => {
6
6
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
7
7
  // @ts-ignore
8
- descriptor.value = util.deprecate(descriptor.value, message);
8
+ descriptor.value = deprecate(descriptor.value, message);
9
9
  };