Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ branding:
color: 'blue'
runs:
using: 'node20'
main: 'lib/main.js'
main: 'dist/index.js'
4 changes: 4 additions & 0 deletions dist/action.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
if (!yy.ast) {
yy.ast = _ast;
_ast.initialize();
}
3,756 changes: 3,756 additions & 0 deletions dist/esprima.js

Large diffs are not rendered by default.

115,350 changes: 115,350 additions & 0 deletions dist/index.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/index.js.map

Large diffs are not rendered by default.

2,862 changes: 2,862 additions & 0 deletions dist/licenses.txt

Large diffs are not rendered by default.

34 changes: 34 additions & 0 deletions dist/module.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
var _ast = {

initialize: function() {
this._nodes = [];
this._node = {};
this._stash = [];
},

set: function(props) {
for (var k in props) this._node[k] = props[k];
return this._node;
},

node: function(obj) {
if (arguments.length) this._node = obj;
return this._node;
},

push: function() {
this._nodes.push(this._node);
this._node = {};
},

unshift: function() {
this._nodes.unshift(this._node);
this._node = {};
},

yield: function() {
var _nodes = this._nodes;
this.initialize();
return _nodes;
}
};
1 change: 1 addition & 0 deletions dist/sourcemap-register.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
"main": "lib/main.js",
"scripts": {
"build": "tsc",
"package": "ncc build lib/main.js -o dist --source-map --license licenses.txt",
"all": "npm run build && npm run package",
"test": "jest"
},
"repository": {
Expand Down
Loading