diff --git a/package-lock.json b/package-lock.json index 9c535ed2..8210102c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "query-builder", - "version": "1.21.1", + "version": "1.21.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "query-builder", - "version": "1.21.1", + "version": "1.21.2", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index aad7706f..775f6423 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "query-builder", - "version": "1.21.1", + "version": "1.21.2", "description": "Introduces new user interfaces for building queries in Roam", "main": "./build/main.js", "author": { diff --git a/src/utils/compileDatalog.ts b/src/utils/compileDatalog.ts index 39496f45..d73e9335 100644 --- a/src/utils/compileDatalog.ts +++ b/src/utils/compileDatalog.ts @@ -6,7 +6,7 @@ import type { const indent = (n: number) => "".padStart(n * 2, " "); -const toVar = (v = "undefined") => v.replace(/[\s"()[\]{}/\\^@,]/g, ""); +const toVar = (v = "undefined") => v.replace(/[\s"()[\]{}/\\^@,~`]/g, ""); const compileDatalog = ( d: DatalogClause | DatalogArgument | DatalogBinding,