New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@microsoft/generator-bot-adaptive

Package Overview
Dependencies
Maintainers
14
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microsoft/generator-bot-adaptive - npm Package Compare versions

Comparing version 1.0.0-rc1 to 1.0.0-rc2

generators/app/templates/js/functions/local.settings.json

29

generators/app/index.js

@@ -179,8 +179,4 @@ // Copyright (c) Microsoft Corporation.

_writeApplicationSettings() {
const {
applicationSettingsDirectory = '.',
botName,
integration,
platform,
} = this.options;
const { botName, integration, platform } = this.options;
const { applicationSettingsDirectory = '.' } = this;

@@ -196,3 +192,3 @@ const appSettings = this.fs.readJSON(

[platforms.dotnet]: `dotnet run --project ${botName}.csproj`,
[platforms.js]: 'node index.js',
[platforms.js]: 'npm run dev --',
}[platform];

@@ -242,3 +238,3 @@

const sdkVersion = '~4.13.0-preview.rc2';
const sdkVersion = '~4.13.0-preview.rc3';

@@ -254,10 +250,2 @@ const dependencies = {

const devDependencies =
{
// Note: in dev we need a server for testing bots via Composer
[integrations.functions]: {
'botbuilder-dialogs-adaptive-runtime-integration-express': sdkVersion,
},
}[integration] || {};
this.fs.writeJSON(this.destinationPath(botName, 'package.json'), {

@@ -267,5 +255,11 @@ name: botName,

scripts: {
start: 'node index.js',
dev: {
[integrations.functions]: 'cross-env NODE_ENV=dev func start',
[integrations.webapp]: 'cross-env NODE_ENV=dev node index.js',
}[integration],
},
dependencies: Object.assign(
{
'cross-env': 'latest',
},
this.packageReferences.reduce(

@@ -277,5 +271,4 @@ (acc, { name, version }) => Object.assign(acc, { [name]: version }),

),
devDependencies,
});
}
};

@@ -59,3 +59,7 @@ {

"traceTranscript": false,
"useInspection": false
"useInspection": false,
"setSpeak": {
"voiceFontName": "en-US-AriaNeural",
"fallbackToTextForSpeechIfEmpty": true
}
},

@@ -62,0 +66,0 @@ "components": [],

{
"version": "2.0"
}
}
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
const { start } = require('botbuilder-dialogs-adaptive-runtime-integration-express');
const { triggers } = require('botbuilder-dialogs-adaptive-runtime-integration-azure-functions');
(async function () {
try {
await start(process.cwd(), <%- settingsDirectory %>);
} catch (err) {
console.error(err);
process.exit(1);
}
})();
module.exports = triggers(process.cwd(), <%- settingsDirectory %>);

@@ -19,4 +19,4 @@ {

],
"scriptFile": "../triggers.js",
"scriptFile": "../index.js",
"entryPoint": "messageTrigger"
}

@@ -19,4 +19,4 @@ {

],
"scriptFile": "../triggers.js",
"scriptFile": "../index.js",
"entryPoint": "skillsTrigger"
}
{
"name": "@microsoft/generator-bot-adaptive",
"version": "1.0.0-rc1",
"version": "1.0.0-rc2",
"description": "Yeoman generator for creating a base bot built on the Azure Bot Framework and the Adaptive stack.",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc