@twin.org/nameof 0.9.1-next.9 → 0.9.2-next.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/dist/es/index.js CHANGED
@@ -1,33 +1,4 @@
1
1
  // Copyright 2024 IOTA Stiftung.
2
2
  // SPDX-License-Identifier: Apache-2.0.
3
- /**
4
- * Placeholder method which substitutes the type name as a string at runtime.
5
- * @param property The property to get the name of.
6
- * @param replaceParent Optional object name to replace the top level object of a property path.
7
- * @returns The type name as a string.
8
- */
9
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
10
- export function nameof(property, replaceParent) {
11
- return "@twin.org/nameof-transformer is not in the build pipeline, you need to use a compiler that supports transformer plugins.";
12
- }
13
- /**
14
- * Placeholder method which substitutes the type name as a string at runtime.
15
- * @param property The property to get the name of.
16
- * @param replaceParent Optional object name to replace the top level object of a property path.
17
- * @returns The type name as a string.
18
- */
19
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
20
- export function nameofKebabCase(property, replaceParent) {
21
- return "@twin.org/nameof-transformer is not in the build pipeline, you need to use a compiler that supports transformer plugins.";
22
- }
23
- /**
24
- * Placeholder method which substitutes the type name as a string at runtime.
25
- * @param property The property to get the name of.
26
- * @param replaceParent Optional object name to replace the top level object of a property path.
27
- * @returns The type name as a string.
28
- */
29
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
30
- export function nameofCamelCase(property, replaceParent) {
31
- return "@twin.org/nameof-transformer is not in the build pipeline, you need to use a compiler that supports transformer plugins.";
32
- }
3
+ export * from "./nameof.js";
33
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;;;GAKG;AACH,6DAA6D;AAC7D,MAAM,UAAU,MAAM,CAAI,QAAkB,EAAE,aAAsB;IACnE,OAAO,0HAA0H,CAAC;AACnI,CAAC;AAED;;;;;GAKG;AACH,6DAA6D;AAC7D,MAAM,UAAU,eAAe,CAAI,QAAkB,EAAE,aAAsB;IAC5E,OAAO,0HAA0H,CAAC;AACnI,CAAC;AAED;;;;;GAKG;AACH,6DAA6D;AAC7D,MAAM,UAAU,eAAe,CAAI,QAAkB,EAAE,aAAsB;IAC5E,OAAO,0HAA0H,CAAC;AACnI,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Placeholder method which substitutes the type name as a string at runtime.\n * @param property The property to get the name of.\n * @param replaceParent Optional object name to replace the top level object of a property path.\n * @returns The type name as a string.\n */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function nameof<T>(property?: unknown, replaceParent?: string): string {\n\treturn \"@twin.org/nameof-transformer is not in the build pipeline, you need to use a compiler that supports transformer plugins.\";\n}\n\n/**\n * Placeholder method which substitutes the type name as a string at runtime.\n * @param property The property to get the name of.\n * @param replaceParent Optional object name to replace the top level object of a property path.\n * @returns The type name as a string.\n */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function nameofKebabCase<T>(property?: unknown, replaceParent?: string): string {\n\treturn \"@twin.org/nameof-transformer is not in the build pipeline, you need to use a compiler that supports transformer plugins.\";\n}\n\n/**\n * Placeholder method which substitutes the type name as a string at runtime.\n * @param property The property to get the name of.\n * @param replaceParent Optional object name to replace the top level object of a property path.\n * @returns The type name as a string.\n */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function nameofCamelCase<T>(property?: unknown, replaceParent?: string): string {\n\treturn \"@twin.org/nameof-transformer is not in the build pipeline, you need to use a compiler that supports transformer plugins.\";\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,cAAc,aAAa,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nexport * from \"./nameof.js\";\n"]}
@@ -0,0 +1,33 @@
1
+ // Copyright 2024 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ /**
4
+ * Placeholder method which substitutes the type name as a string at runtime.
5
+ * @param property The property to get the name of.
6
+ * @param replaceParent Optional object name to replace the top level object of a property path.
7
+ * @returns The type name as a string.
8
+ */
9
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
10
+ export function nameof(property, replaceParent) {
11
+ return "@twin.org/nameof-transformer is not in the build pipeline, you need to use a compiler that supports transformer plugins.";
12
+ }
13
+ /**
14
+ * Placeholder method which substitutes the type name as a string at runtime.
15
+ * @param property The property to get the name of.
16
+ * @param replaceParent Optional object name to replace the top level object of a property path.
17
+ * @returns The type name as a string.
18
+ */
19
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
20
+ export function nameofKebabCase(property, replaceParent) {
21
+ return "@twin.org/nameof-transformer is not in the build pipeline, you need to use a compiler that supports transformer plugins.";
22
+ }
23
+ /**
24
+ * Placeholder method which substitutes the type name as a string at runtime.
25
+ * @param property The property to get the name of.
26
+ * @param replaceParent Optional object name to replace the top level object of a property path.
27
+ * @returns The type name as a string.
28
+ */
29
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
30
+ export function nameofCamelCase(property, replaceParent) {
31
+ return "@twin.org/nameof-transformer is not in the build pipeline, you need to use a compiler that supports transformer plugins.";
32
+ }
33
+ //# sourceMappingURL=nameof.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nameof.js","sourceRoot":"","sources":["../../src/nameof.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;;;GAKG;AACH,6DAA6D;AAC7D,MAAM,UAAU,MAAM,CAAI,QAAkB,EAAE,aAAsB;IACnE,OAAO,0HAA0H,CAAC;AACnI,CAAC;AAED;;;;;GAKG;AACH,6DAA6D;AAC7D,MAAM,UAAU,eAAe,CAAI,QAAkB,EAAE,aAAsB;IAC5E,OAAO,0HAA0H,CAAC;AACnI,CAAC;AAED;;;;;GAKG;AACH,6DAA6D;AAC7D,MAAM,UAAU,eAAe,CAAI,QAAkB,EAAE,aAAsB;IAC5E,OAAO,0HAA0H,CAAC;AACnI,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Placeholder method which substitutes the type name as a string at runtime.\n * @param property The property to get the name of.\n * @param replaceParent Optional object name to replace the top level object of a property path.\n * @returns The type name as a string.\n */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function nameof<T>(property?: unknown, replaceParent?: string): string {\n\treturn \"@twin.org/nameof-transformer is not in the build pipeline, you need to use a compiler that supports transformer plugins.\";\n}\n\n/**\n * Placeholder method which substitutes the type name as a string at runtime.\n * @param property The property to get the name of.\n * @param replaceParent Optional object name to replace the top level object of a property path.\n * @returns The type name as a string.\n */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function nameofKebabCase<T>(property?: unknown, replaceParent?: string): string {\n\treturn \"@twin.org/nameof-transformer is not in the build pipeline, you need to use a compiler that supports transformer plugins.\";\n}\n\n/**\n * Placeholder method which substitutes the type name as a string at runtime.\n * @param property The property to get the name of.\n * @param replaceParent Optional object name to replace the top level object of a property path.\n * @returns The type name as a string.\n */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function nameofCamelCase<T>(property?: unknown, replaceParent?: string): string {\n\treturn \"@twin.org/nameof-transformer is not in the build pipeline, you need to use a compiler that supports transformer plugins.\";\n}\n"]}
@@ -1,21 +1 @@
1
- /**
2
- * Placeholder method which substitutes the type name as a string at runtime.
3
- * @param property The property to get the name of.
4
- * @param replaceParent Optional object name to replace the top level object of a property path.
5
- * @returns The type name as a string.
6
- */
7
- export declare function nameof<T>(property?: unknown, replaceParent?: string): string;
8
- /**
9
- * Placeholder method which substitutes the type name as a string at runtime.
10
- * @param property The property to get the name of.
11
- * @param replaceParent Optional object name to replace the top level object of a property path.
12
- * @returns The type name as a string.
13
- */
14
- export declare function nameofKebabCase<T>(property?: unknown, replaceParent?: string): string;
15
- /**
16
- * Placeholder method which substitutes the type name as a string at runtime.
17
- * @param property The property to get the name of.
18
- * @param replaceParent Optional object name to replace the top level object of a property path.
19
- * @returns The type name as a string.
20
- */
21
- export declare function nameofCamelCase<T>(property?: unknown, replaceParent?: string): string;
1
+ export * from "./nameof.js";
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Placeholder method which substitutes the type name as a string at runtime.
3
+ * @param property The property to get the name of.
4
+ * @param replaceParent Optional object name to replace the top level object of a property path.
5
+ * @returns The type name as a string.
6
+ */
7
+ export declare function nameof<T>(property?: unknown, replaceParent?: string): string;
8
+ /**
9
+ * Placeholder method which substitutes the type name as a string at runtime.
10
+ * @param property The property to get the name of.
11
+ * @param replaceParent Optional object name to replace the top level object of a property path.
12
+ * @returns The type name as a string.
13
+ */
14
+ export declare function nameofKebabCase<T>(property?: unknown, replaceParent?: string): string;
15
+ /**
16
+ * Placeholder method which substitutes the type name as a string at runtime.
17
+ * @param property The property to get the name of.
18
+ * @param replaceParent Optional object name to replace the top level object of a property path.
19
+ * @returns The type name as a string.
20
+ */
21
+ export declare function nameofCamelCase<T>(property?: unknown, replaceParent?: string): string;
package/docs/changelog.md CHANGED
@@ -1,5 +1,66 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.9.2-next.1](https://github.com/iotaledger/twin-framework/compare/nameof-v0.9.2-next.0...nameof-v0.9.2-next.1) (2026-07-28)
4
+
5
+
6
+ ### Features
7
+
8
+ * add context id features ([#206](https://github.com/iotaledger/twin-framework/issues/206)) ([ef0d4ee](https://github.com/iotaledger/twin-framework/commit/ef0d4ee11a4f5fc6cc6f52a4958ce905c04ee13b))
9
+ * additional nameof operators ([a5aab60](https://github.com/iotaledger/twin-framework/commit/a5aab60bf66a86f1b7ff8af7c4f044cb03706d50))
10
+ * eslint migration to flat config ([74427d7](https://github.com/iotaledger/twin-framework/commit/74427d78d342167f7850e49ab87269326355befe))
11
+ * locales validation ([#197](https://github.com/iotaledger/twin-framework/issues/197)) ([55fdadb](https://github.com/iotaledger/twin-framework/commit/55fdadb13595ce0047f787bd1d4135d429a99f12))
12
+ * typescript 6 update ([1d10f31](https://github.com/iotaledger/twin-framework/commit/1d10f31e6516ec622773f45e88af82fe749b384a))
13
+ * update dependencies ([4da77ab](https://github.com/iotaledger/twin-framework/commit/4da77ab30f499e52825ac5a76f51436ceb59c26e))
14
+ * update dependencies ([f3bd015](https://github.com/iotaledger/twin-framework/commit/f3bd015efd169196b7e0335f5cab876ba6ca1d75))
15
+ * use cause instead of inner for errors ([1f4acc4](https://github.com/iotaledger/twin-framework/commit/1f4acc4d7a6b71a134d9547da9bf40de1e1e49da))
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * ensure __decorate is defined for decorators ([103a563](https://github.com/iotaledger/twin-framework/commit/103a563ce01ebdef6240d2e590e7b026e8692684))
21
+
22
+
23
+ ### Dependencies
24
+
25
+ * The following workspace dependencies were updated
26
+ * devDependencies
27
+ * @twin.org/nameof-transformer bumped from 0.9.2-next.0 to 0.9.2-next.1
28
+
29
+ ## [0.9.1](https://github.com/iotaledger/twin-framework/compare/nameof-v0.9.1...nameof-v0.9.1) (2026-07-26)
30
+
31
+
32
+ ### Features
33
+
34
+ * release to production ([b24cba1](https://github.com/iotaledger/twin-framework/commit/b24cba1b6a969278d638e632590602ec881e49fb))
35
+ * release to production ([787287d](https://github.com/iotaledger/twin-framework/commit/787287d06ea8319657401589d61fff369310c422))
36
+ * release to production ([53f4843](https://github.com/iotaledger/twin-framework/commit/53f484326b2851d7a506d2620db24c4a65cee7b3))
37
+ * release to production ([56cda4d](https://github.com/iotaledger/twin-framework/commit/56cda4da93e978c5be19ec7cfd421ae2a7fe4147))
38
+ * release to production ([f7c6586](https://github.com/iotaledger/twin-framework/commit/f7c6586f6976b903b647b4c5ac5ad9421e0c9051))
39
+ * release to production ([829d53d](https://github.com/iotaledger/twin-framework/commit/829d53d3953b1e1b40b0243c04cfdfd3842aac7b))
40
+ * release to production ([5cf3a76](https://github.com/iotaledger/twin-framework/commit/5cf3a76a09eff2e6414d0cba846c7c37400a11d6))
41
+ * release to production ([#330](https://github.com/iotaledger/twin-framework/issues/330)) ([d73f565](https://github.com/iotaledger/twin-framework/commit/d73f565588d156d23ef49b2a5718973756f7a696))
42
+ * release to production ([#382](https://github.com/iotaledger/twin-framework/issues/382)) ([bbed01a](https://github.com/iotaledger/twin-framework/commit/bbed01a605ee9724bda77a0f7feab249118c2d90))
43
+ * release to production ([#417](https://github.com/iotaledger/twin-framework/issues/417)) ([59727e7](https://github.com/iotaledger/twin-framework/commit/59727e73903a137310ca48fe469189cf29879cb9))
44
+
45
+
46
+ ### Miscellaneous Chores
47
+
48
+ * release to production ([63cae24](https://github.com/iotaledger/twin-framework/commit/63cae2401f6c11f93b2a01260b665064e8bd28e0))
49
+
50
+ ## [0.9.1-next.10](https://github.com/iotaledger/twin-framework/compare/nameof-v0.9.1-next.9...nameof-v0.9.1-next.10) (2026-07-20)
51
+
52
+
53
+ ### Miscellaneous Chores
54
+
55
+ * **nameof:** Synchronize repo versions
56
+
57
+
58
+ ### Dependencies
59
+
60
+ * The following workspace dependencies were updated
61
+ * devDependencies
62
+ * @twin.org/nameof-transformer bumped from 0.9.1-next.9 to 0.9.1-next.10
63
+
3
64
  ## [0.9.1-next.9](https://github.com/iotaledger/twin-framework/compare/nameof-v0.9.1-next.8...nameof-v0.9.1-next.9) (2026-07-20)
4
65
 
5
66
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/nameof",
3
- "version": "0.9.1-next.9",
3
+ "version": "0.9.2-next.1",
4
4
  "description": "The definitions for the methods which are processed by the nameof-transformer",
5
5
  "repository": {
6
6
  "type": "git",
@@ -11,7 +11,7 @@
11
11
  "license": "Apache-2.0",
12
12
  "type": "module",
13
13
  "engines": {
14
- "node": ">=20.0.0"
14
+ "node": ">=24.0.0"
15
15
  },
16
16
  "main": "./dist/es/index.js",
17
17
  "types": "./dist/types/index.d.ts",