botbuilder-ai
Advanced tools
Comparing version 4.7.2 to 4.8.0-preview-109324
@@ -40,1 +40,2 @@ /** | ||
} | ||
//# sourceMappingURL=dateTimeSpec.d.ts.map |
@@ -25,1 +25,2 @@ /** | ||
} | ||
//# sourceMappingURL=geographyV2.d.ts.map |
@@ -8,4 +8,3 @@ /** | ||
*/ | ||
export * from './luisRecognizer'; | ||
export * from './qnaMaker'; | ||
export * from './qnamaker-interfaces'; | ||
export * from './dateTimeSpec'; | ||
@@ -15,4 +14,7 @@ export * from './geographyV2'; | ||
export * from './intentData'; | ||
export * from './luisRecognizer'; | ||
export * from './numberWithUnits'; | ||
export * from './qnamaker-interfaces/index'; | ||
export * from './ordinalV2'; | ||
export * from './qnaMaker'; | ||
export * from './qnaMakerDialog'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -6,13 +6,7 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
* @module botbuilder-ai | ||
*/ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. | ||
*/ | ||
__export(require("./geographyV2")); | ||
__export(require("./luisRecognizer")); | ||
__export(require("./ordinalV2")); | ||
__export(require("./qnaMaker")); | ||
__export(require("./geographyV2")); | ||
__export(require("./ordinalV2")); | ||
__export(require("./qnaMakerDialog")); | ||
//# sourceMappingURL=index.js.map |
@@ -33,1 +33,2 @@ /** | ||
} | ||
//# sourceMappingURL=instanceData.d.ts.map |
@@ -21,1 +21,2 @@ /** | ||
} | ||
//# sourceMappingURL=intentData.d.ts.map |
@@ -300,1 +300,2 @@ /** | ||
} | ||
//# sourceMappingURL=luisRecognizer.d.ts.map |
@@ -15,1 +15,2 @@ /** | ||
} | ||
//# sourceMappingURL=luisRecognizerOptions.d.ts.map |
@@ -35,1 +35,2 @@ /** | ||
} | ||
//# sourceMappingURL=luisRecognizerOptionsV2.d.ts.map |
@@ -20,1 +20,2 @@ /** | ||
} | ||
//# sourceMappingURL=luisRecognizerOptionsV3.d.ts.map |
@@ -16,1 +16,2 @@ /** | ||
} | ||
//# sourceMappingURL=luisTelemetryConstants.d.ts.map |
@@ -18,1 +18,2 @@ /** | ||
} | ||
//# sourceMappingURL=numberWithUnits.d.ts.map |
@@ -29,1 +29,2 @@ /** | ||
} | ||
//# sourceMappingURL=ordinalV2.d.ts.map |
@@ -25,1 +25,2 @@ /** | ||
} | ||
//# sourceMappingURL=feedbackRecord.d.ts.map |
@@ -18,1 +18,2 @@ /** | ||
} | ||
//# sourceMappingURL=feedbackRecords.d.ts.map |
@@ -15,1 +15,2 @@ /** | ||
export * from './feedbackRecords'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -26,1 +26,2 @@ /** | ||
} | ||
//# sourceMappingURL=qnamakerEndpoint.d.ts.map |
@@ -21,1 +21,2 @@ /** | ||
} | ||
//# sourceMappingURL=qnamakerMetadata.d.ts.map |
@@ -58,1 +58,2 @@ /** | ||
} | ||
//# sourceMappingURL=qnamakerOptions.d.ts.map |
@@ -29,1 +29,2 @@ /** | ||
} | ||
//# sourceMappingURL=qnamakerPrompt.d.ts.map |
@@ -42,1 +42,2 @@ /** | ||
} | ||
//# sourceMappingURL=qnamakerResult.d.ts.map |
@@ -22,1 +22,2 @@ /** | ||
} | ||
//# sourceMappingURL=qnamakerResults.d.ts.map |
@@ -52,1 +52,2 @@ /** | ||
} | ||
//# sourceMappingURL=qnamakerTraceInfo.d.ts.map |
@@ -21,1 +21,2 @@ /** | ||
} | ||
//# sourceMappingURL=qnaRequestContext.d.ts.map |
@@ -18,1 +18,2 @@ /** | ||
} | ||
//# sourceMappingURL=qnaResponseContext.d.ts.map |
@@ -25,1 +25,2 @@ /** | ||
} | ||
//# sourceMappingURL=rankerTypes.d.ts.map |
@@ -23,1 +23,2 @@ /** | ||
} | ||
//# sourceMappingURL=activeLearningUtils.d.ts.map |
@@ -70,1 +70,2 @@ /** | ||
} | ||
//# sourceMappingURL=generateAnswerUtils.d.ts.map |
@@ -38,1 +38,2 @@ /** | ||
} | ||
//# sourceMappingURL=httpRequestUtils.d.ts.map |
@@ -20,3 +20,4 @@ "use strict"; | ||
const pjson = require('../../package.json'); | ||
const request = (new Function('require', 'if (!this.hasOwnProperty("fetch")) { return require("node-fetch"); } else { return this.fetch; }'))(require); | ||
const globals_1 = require("../globals"); | ||
const fetch = globals_1.getFetch(); | ||
/** | ||
@@ -49,3 +50,3 @@ * Http request utils class. | ||
const headers = this.getHeaders(endpoint); | ||
const qnaResult = yield request(requestUrl, { | ||
const qnaResult = yield fetch(requestUrl, { | ||
method: 'POST', | ||
@@ -52,0 +53,0 @@ headers: headers, |
@@ -32,1 +32,2 @@ /** | ||
} | ||
//# sourceMappingURL=trainUtils.d.ts.map |
@@ -180,1 +180,2 @@ /** | ||
} | ||
//# sourceMappingURL=qnaMaker.d.ts.map |
@@ -17,1 +17,2 @@ /** | ||
} | ||
//# sourceMappingURL=qnaTelemetryConstants.d.ts.map |
@@ -5,3 +5,3 @@ { | ||
"description": "Cognitive services extensions for Microsoft BotBuilder.", | ||
"version": "4.7.2", | ||
"version": "4.8.0-preview-109324", | ||
"license": "MIT", | ||
@@ -28,3 +28,4 @@ "keywords": [ | ||
"@types/node": "^10.12.18", | ||
"botbuilder-core": "4.7.2", | ||
"botbuilder-core": "4.8.0-preview-109324", | ||
"botbuilder-dialogs": "4.8.0-preview-109324", | ||
"moment": "^2.20.1", | ||
@@ -51,3 +52,3 @@ "node-fetch": "^2.3.0", | ||
"clean": "erase /q /s .\\lib", | ||
"set-version": "npm version --allow-same-version 4.7.2" | ||
"set-version": "npm version --allow-same-version 4.8.0-preview-109324" | ||
}, | ||
@@ -54,0 +55,0 @@ "files": [ |
@@ -8,4 +8,3 @@ /** | ||
*/ | ||
export * from './luisRecognizer'; | ||
export * from './qnaMaker'; | ||
export * from './qnamaker-interfaces'; | ||
export * from './dateTimeSpec'; | ||
@@ -15,4 +14,6 @@ export * from './geographyV2'; | ||
export * from './intentData'; | ||
export * from './luisRecognizer'; | ||
export * from './numberWithUnits'; | ||
export * from './qnamaker-interfaces/index' | ||
export * from './ordinalV2'; | ||
export * from './qnaMaker'; | ||
export * from './qnaMakerDialog'; |
@@ -11,6 +11,8 @@ /** | ||
const pjson: any = require('../../package.json'); | ||
const request = (new Function('require', 'if (!this.hasOwnProperty("fetch")) { return require("node-fetch"); } else { return this.fetch; }'))(require); | ||
import { QnAMakerEndpoint } from '../qnamaker-interfaces/qnamakerEndpoint'; | ||
import { getFetch } from '../globals'; | ||
const fetch = getFetch(); | ||
/** | ||
@@ -47,3 +49,3 @@ * Http request utils class. | ||
const qnaResult: any = await request(requestUrl, { | ||
const qnaResult: any = await fetch(requestUrl, { | ||
method: 'POST', | ||
@@ -50,0 +52,0 @@ headers: headers, |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
344178
178
6370
9
2
+ Added@microsoft/recognizers-text-choice@1.1.4(transitive)
+ Added@microsoft/recognizers-text-date-time@1.1.4(transitive)
+ Added@microsoft/recognizers-text-sequence@1.1.4(transitive)
+ Added@microsoft/recognizers-text-suite@1.1.4(transitive)
+ Addedbotbuilder-core@4.8.0-preview-109324(transitive)
+ Addedbotbuilder-dialogs@4.8.0-preview-109324(transitive)
+ Addedbotframework-schema@4.8.0-preview-109324(transitive)
+ Addedcldrjs@0.5.5(transitive)
+ Addedglobalize@1.7.0(transitive)
+ Addedgrapheme-splitter@1.0.4(transitive)
- Removedbotbuilder-core@4.7.2(transitive)
- Removedbotframework-schema@4.7.2(transitive)