Skip to content

Commit

Permalink
Building for release
Browse files Browse the repository at this point in the history
  • Loading branch information
rustedgrail committed Jul 24, 2023
1 parent 7bd3ae7 commit cdf7009
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graphlib-dot",
"version": "1.0.0",
"version": "1.0.2",
"main": [
"dist/graphlib-dot.core.js",
"dist/graphlib-dot.core.min.js"
Expand Down
8 changes: 4 additions & 4 deletions dist/graphlib-dot.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ function handleEdgeStmt(g, stmt, defaultStack, sg) {
name = uniqueId("edge");
}
if (!g.hasEdge(v, w, name)) {
g.setEdge(v, w, Object.assign({}, defaultStack[defaultStack.length - 1].edge), name);
g.setEdge(v, w, structuredClone(defaultStack[defaultStack.length - 1].edge), name);
}
Object.assign(g.edge(v, w, name), attrs);
});
Expand All @@ -121,7 +121,7 @@ function handleSubgraphStmt(g, stmt, defaultStack, sg) {
id = generateSubgraphId(g);
}

defaultStack.push(Object.assign({}, defaultStack[defaultStack.length - 1]));
defaultStack.push(structuredClone(defaultStack[defaultStack.length - 1]));

maybeCreateNode(g, id, defaultStack, sg);

Expand Down Expand Up @@ -157,7 +157,7 @@ function generateSubgraphId(g) {

function maybeCreateNode(g, v, defaultStack, sg) {
if (!g.hasNode(v)) {
g.setNode(v, Object.assign({}, defaultStack[defaultStack.length - 1].node));
g.setNode(v, structuredClone(defaultStack[defaultStack.length - 1].node));
g.setParent(v, sg);
}
}
Expand Down Expand Up @@ -2599,7 +2599,7 @@ module.exports = function readOne(str) {


},{"./build-graph":3,"./dot-grammar":4}],7:[function(require,module,exports){
module.exports = '1.0.0';
module.exports = '1.0.2';

},{}],8:[function(require,module,exports){
module.exports = writeOne;
Expand Down
6 changes: 3 additions & 3 deletions dist/graphlib-dot.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/version.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = '1.0.1-pre';
module.exports = '1.0.2';
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cdf7009

Please sign in to comment.