@herb-tools/rewriter 0.8.1 → 0.8.2
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/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/loader.cjs +4 -4
- package/dist/loader.cjs.map +1 -1
- package/dist/loader.esm.js +4 -4
- package/dist/loader.esm.js.map +1 -1
- package/package.json +4 -4
package/dist/loader.cjs
CHANGED
|
@@ -320,7 +320,7 @@ class Token {
|
|
|
320
320
|
}
|
|
321
321
|
|
|
322
322
|
// NOTE: This file is generated by the templates/template.rb script and should not
|
|
323
|
-
// be modified manually. See /Users/marcoroth/Development/herb-release-0.8.
|
|
323
|
+
// be modified manually. See /Users/marcoroth/Development/herb-release-0.8.2/templates/javascript/packages/core/src/errors.ts.erb
|
|
324
324
|
class HerbError {
|
|
325
325
|
type;
|
|
326
326
|
message;
|
|
@@ -850,7 +850,7 @@ function convertToUTF8(string) {
|
|
|
850
850
|
}
|
|
851
851
|
|
|
852
852
|
// NOTE: This file is generated by the templates/template.rb script and should not
|
|
853
|
-
// be modified manually. See /Users/marcoroth/Development/herb-release-0.8.
|
|
853
|
+
// be modified manually. See /Users/marcoroth/Development/herb-release-0.8.2/templates/javascript/packages/core/src/nodes.ts.erb
|
|
854
854
|
class Node {
|
|
855
855
|
type;
|
|
856
856
|
location;
|
|
@@ -3084,7 +3084,7 @@ class ParseResult extends Result {
|
|
|
3084
3084
|
}
|
|
3085
3085
|
|
|
3086
3086
|
// NOTE: This file is generated by the templates/template.rb script and should not
|
|
3087
|
-
// be modified manually. See /Users/marcoroth/Development/herb-release-0.8.
|
|
3087
|
+
// be modified manually. See /Users/marcoroth/Development/herb-release-0.8.2/templates/javascript/packages/core/src/node-type-guards.ts.erb
|
|
3088
3088
|
/**
|
|
3089
3089
|
* Type guard functions for AST nodes.
|
|
3090
3090
|
* These functions provide type checking by combining both instanceof
|
|
@@ -3477,7 +3477,7 @@ function getNodesAfterPosition(nodes, position, inclusive = true) {
|
|
|
3477
3477
|
}
|
|
3478
3478
|
|
|
3479
3479
|
// NOTE: This file is generated by the templates/template.rb script and should not
|
|
3480
|
-
// be modified manually. See /Users/marcoroth/Development/herb-release-0.8.
|
|
3480
|
+
// be modified manually. See /Users/marcoroth/Development/herb-release-0.8.2/templates/javascript/packages/core/src/visitor.ts.erb
|
|
3481
3481
|
class Visitor {
|
|
3482
3482
|
visit(node) {
|
|
3483
3483
|
if (!node)
|