botbuilder-lg
Advanced tools
Comparing version 4.23.0-dev.20240405 to 4.23.0-rc1
@@ -76,6 +76,3 @@ "use strict"; | ||
else if (key.toLowerCase() === this.replaceNullKey.toLowerCase()) { | ||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
this.nullSubstitution = (path) => | ||
// eslint-disable-next-line security/detect-eval-with-expression | ||
eval('`' + value.replace(this.nullKeyReplaceStrRegex, '${path}') + '`'); | ||
this.nullSubstitution = (path) => value.replace(this.nullKeyReplaceStrRegex, `${path}`); | ||
} | ||
@@ -82,0 +79,0 @@ else if (key.toLowerCase() === this.lineBreakKey.toLowerCase()) { |
"use strict"; | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; | ||
result["default"] = mod; | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -12,4 +19,4 @@ /* eslint-disable security/detect-object-injection */ | ||
*/ | ||
const fs = require("fs"); | ||
const path = require("path"); | ||
const fs = __importStar(require("fs")); | ||
const path = __importStar(require("path")); | ||
const tree_1 = require("antlr4ts/tree"); | ||
@@ -16,0 +23,0 @@ const customizedMemory_1 = require("./customizedMemory"); |
"use strict"; | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; | ||
result["default"] = mod; | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -12,4 +19,4 @@ /* eslint-disable security/detect-object-injection */ | ||
*/ | ||
const fs = require("fs"); | ||
const path = require("path"); | ||
const fs = __importStar(require("fs")); | ||
const path = __importStar(require("path")); | ||
const tree_1 = require("antlr4ts/tree"); | ||
@@ -16,0 +23,0 @@ const customizedMemory_1 = require("./customizedMemory"); |
"use strict"; | ||
// Generated from src/LGFileLexer.g4 by ANTLR 4.7.3-SNAPSHOT | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; | ||
result["default"] = mod; | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -8,3 +15,3 @@ const ATNDeserializer_1 = require("antlr4ts/atn/ATNDeserializer"); | ||
const VocabularyImpl_1 = require("antlr4ts/VocabularyImpl"); | ||
const Utils = require("antlr4ts/misc/Utils"); | ||
const Utils = __importStar(require("antlr4ts/misc/Utils")); | ||
class LGFileLexer extends Lexer_1.Lexer { | ||
@@ -11,0 +18,0 @@ constructor(input) { |
"use strict"; | ||
// Generated from src/LGFileParser.g4 by ANTLR 4.7.3-SNAPSHOT | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; | ||
result["default"] = mod; | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -20,3 +27,3 @@ /** | ||
const VocabularyImpl_1 = require("antlr4ts/VocabularyImpl"); | ||
const Utils = require("antlr4ts/misc/Utils"); | ||
const Utils = __importStar(require("antlr4ts/misc/Utils")); | ||
class LGFileParser extends Parser_1.Parser { | ||
@@ -23,0 +30,0 @@ constructor(input) { |
"use strict"; | ||
// Generated from src/LGTemplateLexer.g4 by ANTLR 4.7.3-SNAPSHOT | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; | ||
result["default"] = mod; | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -8,3 +15,3 @@ const ATNDeserializer_1 = require("antlr4ts/atn/ATNDeserializer"); | ||
const VocabularyImpl_1 = require("antlr4ts/VocabularyImpl"); | ||
const Utils = require("antlr4ts/misc/Utils"); | ||
const Utils = __importStar(require("antlr4ts/misc/Utils")); | ||
class LGTemplateLexer extends Lexer_1.Lexer { | ||
@@ -11,0 +18,0 @@ constructor(input) { |
@@ -10,4 +10,11 @@ "use strict"; | ||
*/ | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; | ||
result["default"] = mod; | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const path = require("path"); | ||
const path = __importStar(require("path")); | ||
const position_1 = require("./position"); | ||
@@ -14,0 +21,0 @@ const range_1 = require("./range"); |
"use strict"; | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; | ||
result["default"] = mod; | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -11,4 +18,4 @@ /* eslint-disable security/detect-non-literal-fs-filename */ | ||
*/ | ||
const fs = require("fs"); | ||
const path = require("path"); | ||
const fs = __importStar(require("fs")); | ||
const path = __importStar(require("path")); | ||
const ANTLRInputStream_1 = require("antlr4ts/ANTLRInputStream"); | ||
@@ -15,0 +22,0 @@ const tree_1 = require("antlr4ts/tree"); |
@@ -5,3 +5,3 @@ { | ||
"description": "Bot Builder Language Generation is a library to help build sophisticated bot responses with multiple phrases and context-based expressions.", | ||
"version": "4.23.0-dev.20240405", | ||
"version": "4.23.0-rc1", | ||
"license": "MIT", | ||
@@ -23,3 +23,3 @@ "keywords": [ | ||
"dependencies": { | ||
"adaptive-expressions": "4.23.0-dev.20240405", | ||
"adaptive-expressions": "4.23.0-rc1", | ||
"antlr4ts": "0.5.0-alpha.3", | ||
@@ -26,0 +26,0 @@ "lodash": "^4.17.19", |
@@ -90,6 +90,3 @@ /* eslint-disable security/detect-object-injection */ | ||
} else if (key.toLowerCase() === this.replaceNullKey.toLowerCase()) { | ||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
this.nullSubstitution = (path) => | ||
// eslint-disable-next-line security/detect-eval-with-expression | ||
eval('`' + value.replace(this.nullKeyReplaceStrRegex, '${path}') + '`'); | ||
this.nullSubstitution = (path) => value.replace(this.nullKeyReplaceStrRegex, `${path}`); | ||
} else if (key.toLowerCase() === this.lineBreakKey.toLowerCase()) { | ||
@@ -96,0 +93,0 @@ this.LineBreakStyle = |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
1214718
23365
+ Addedadaptive-expressions@4.23.0-rc1(transitive)
- Removedadaptive-expressions@4.23.0-dev.20240405(transitive)