@lchase/yak 0.6.0 → 0.6.1
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.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -344,7 +344,7 @@ import { promisify } from "util";
|
|
|
344
344
|
import jexl from "jexl";
|
|
345
345
|
var PLACEHOLDER_RE = /\{\{\s*([^}]+?)\s*\}\}/g;
|
|
346
346
|
var IDENTIFIER = /[A-Za-z_$][A-Za-z0-9_$]*/y;
|
|
347
|
-
var NOT_A_ROOT = /* @__PURE__ */ new Set(["true", "false", "in"]);
|
|
347
|
+
var NOT_A_ROOT = /* @__PURE__ */ new Set(["true", "false", "in", "null", "undefined"]);
|
|
348
348
|
function extractTemplateRoots(template) {
|
|
349
349
|
const roots = [];
|
|
350
350
|
const seen = /* @__PURE__ */ new Set();
|