@uipath/packager-tool-workflowcompiler 1.207.0-preview.396 → 1.207.0-preview.399

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -3
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1002,8 +1002,10 @@ var SHA256_INITIAL_STATE = new Uint32Array([
1002
1002
  // ../../common/src/singleton.ts
1003
1003
  var PREFIX = "@uipath/common/";
1004
1004
  var _g = globalThis;
1005
- function singleton(ctorOrName) {
1006
- const name = typeof ctorOrName === "string" ? ctorOrName : ctorOrName.name;
1005
+ function singleton(name) {
1006
+ if (typeof name !== "string") {
1007
+ throw new TypeError("singleton() takes a string name. A class name is not stable across bundles.");
1008
+ }
1007
1009
  const key = Symbol.for(PREFIX + name);
1008
1010
  return {
1009
1011
  get(fallback) {
@@ -2527,4 +2529,4 @@ export {
2527
2529
  setupWorkflowCompiler
2528
2530
  };
2529
2531
 
2530
- //# debugId=18DBD526A6AA316164756E2164756E21
2532
+ //# debugId=2BB1E047AB1059F064756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/packager-tool-workflowcompiler",
3
- "version": "1.207.0-preview.396",
3
+ "version": "1.207.0-preview.399",
4
4
  "description": "UiPath Workflow Compiler tool implementation",
5
5
  "type": "module",
6
6
  "exports": {
@@ -24,5 +24,5 @@
24
24
  "@uipath/solutionpackager-tool-core": "1.207.0"
25
25
  },
26
26
  "dependencies": {},
27
- "gitHead": "84db055b46dc1f4bf3e2cf9e02eecd3bc0d06a13"
27
+ "gitHead": "040ed6e68e4b6e5268c0efc17f67d7309de8c630"
28
28
  }