Skip to content

Commit

Permalink
test with [email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
paed01 committed Sep 28, 2024
1 parent 68e2192 commit 25f4849
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ ProcessOutputDataObject.prototype.write = function writeDataObject(broker, excha
return broker.publish(exchange, `${routingKeyPrefix}response`, { id, name, type, value }, messageProperties);
};

const nodeRequire = node_module.createRequire(node_url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.src || new URL('index.cjs', document.baseURI).href))));
const nodeRequire = node_module.createRequire(node_url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index.cjs', document.baseURI).href))));
const { version: engineVersion } = nodeRequire('../package.json');

const kEngine = Symbol.for('engine');
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
],
"devDependencies": {
"@bonniernews/hot-bev": "^0.4.0",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-commonjs": "^28.0.0",
"@types/bpmn-moddle": "^5.1.6",
"@types/node": "^18.19.31",
"bent": "^7.3.12",
Expand Down
7 changes: 4 additions & 3 deletions test/feature/extend-feature.js
Original file line number Diff line number Diff line change
Expand Up @@ -401,11 +401,12 @@ Feature('extending behaviour', () => {
<startEvent id="start" />
<sequenceFlow id="flow1" sourceRef="start" targetRef="decision" />
<exclusiveGateway id="decision" default="flow2" />
<sequenceFlow id="flow2" name="pick me" sourceRef="decision" targetRef="end" />
<sequenceFlow id="flow3" name="no, pick me" sourceRef="decision" targetRef="end">
<sequenceFlow id="flow2" name="pick me" sourceRef="decision" targetRef="end1" />
<sequenceFlow id="flow3" name="no, pick me" sourceRef="decision" targetRef="end2">
<conditionExpression xsi:type="tFormalExpression">\${content.condition}</conditionExpression>
</sequenceFlow>
<endEvent id="end" />
<endEvent id="end1" />
<endEvent id="end2" />
</process>
</definitions>`;
});
Expand Down

0 comments on commit 25f4849

Please sign in to comment.