@dataform/core
Advanced tools
Comparing version 1.0.0-alpha to 1.0.0-alpha.1
@@ -7,7 +7,7 @@ { | ||
"dependencies": { | ||
"@dataform/protos": "1.0.0-alpha", | ||
"@dataform/protos": "1.0.0-alpha.1", | ||
"moo": "^0.5.0", | ||
"protobufjs": "^6.8.8" | ||
}, | ||
"version": "1.0.0-alpha", | ||
"version": "1.0.0-alpha.1", | ||
"homepage": "https://github.com/dataform-co/dataform", | ||
@@ -14,0 +14,0 @@ "license": "MIT", |
@@ -78,20 +78,21 @@ (function (factory) { | ||
for (const token of lexer) { | ||
const state = parseState.computeState(token); | ||
const previousState = parseState.currentState; | ||
const newState = parseState.computeState(token); | ||
if (token.type === SQL_LEXER_TOKEN_NAMES.STATEMENT_SEPERATOR || | ||
token.type === INNER_SQL_BLOCK_LEXER_TOKEN_NAMES.STATEMENT_SEPERATOR) { | ||
if (state === "incremental") { | ||
if (newState === "incremental") { | ||
throw new Error("Incremental code blocks may not contain SQL statement separators ('---')."); | ||
} | ||
results[state].push(""); | ||
results[newState].push(""); | ||
} | ||
if (Array.isArray(results[state])) { | ||
results[state][results[state].length - 1] += token.value; | ||
if (Array.isArray(results[newState])) { | ||
results[newState][results[newState].length - 1] += token.value; | ||
} | ||
else { | ||
results[state] += token.value; | ||
results[newState] += token.value; | ||
} | ||
if (previousState === "js" && newState !== "js") { | ||
results.js = results.js.substring(0, results.js.length - 1); | ||
} | ||
} | ||
if (results.js) { | ||
results.js = results.js.substring(0, results.js.length - 1); | ||
} | ||
return results; | ||
@@ -239,2 +240,2 @@ } | ||
}); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3FseF9wYXJzZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9jb3JlL3NxbHhfcGFyc2VyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0lBQUEsMkJBQTJCO0lBRTNC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bGV4ZXJTdGF0ZXM7XG59XG4iXX0= |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
251909
2104
0
+ Added@dataform/protos@1.0.0-alpha.1(transitive)
- Removed@dataform/protos@1.0.0-alpha(transitive)