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

alexa-response

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alexa-response - npm Package Compare versions

Comparing version 4.2.7 to 4.2.8

16

build/index.js

@@ -45,5 +45,3 @@ 'use strict';

card(_ref) {
var _ref$type = _ref.type;
let type = _ref$type === undefined ? alexaConstants.CardType.Simple : _ref$type,
let { type = alexaConstants.CardType.Simple } = _ref,
rest = _objectWithoutProperties(_ref, ['type']);

@@ -74,8 +72,3 @@

const directives = Array.isArray(directive) ? directive : [directive, ...rest];
var _ref2 = this.state.response || {},
_ref2$directives = _ref2.directives;
const previousDirectives = _ref2$directives === undefined ? [] : _ref2$directives;
const { directives: previousDirectives = [] } = this.state.response || {};
return new Response(_extends({}, this.state, {

@@ -127,7 +120,4 @@ response: _extends({}, this.state.response, {

const Directive = alexaConstants.AudioPlayer.Directive;
const PlayBehavior = alexaConstants.AudioPlayer.PlayBehavior;
const ClearBehavior = alexaConstants.AudioPlayer.ClearBehavior;
const { Directive, PlayBehavior, ClearBehavior } = alexaConstants.AudioPlayer;
var AudioPlayer$1 = {

@@ -134,0 +124,0 @@ play(stream) {

@@ -45,5 +45,3 @@ 'use strict';

card(_ref) {
var _ref$type = _ref.type;
let type = _ref$type === undefined ? alexaConstants.CardType.Simple : _ref$type,
let { type = alexaConstants.CardType.Simple } = _ref,
rest = _objectWithoutProperties(_ref, ['type']);

@@ -74,8 +72,3 @@

const directives = Array.isArray(directive) ? directive : [directive, ...rest];
var _ref2 = this.state.response || {},
_ref2$directives = _ref2.directives;
const previousDirectives = _ref2$directives === undefined ? [] : _ref2$directives;
const { directives: previousDirectives = [] } = this.state.response || {};
return new Response(_extends({}, this.state, {

@@ -127,7 +120,4 @@ response: _extends({}, this.state.response, {

const Directive = alexaConstants.AudioPlayer.Directive;
const PlayBehavior = alexaConstants.AudioPlayer.PlayBehavior;
const ClearBehavior = alexaConstants.AudioPlayer.ClearBehavior;
const { Directive, PlayBehavior, ClearBehavior } = alexaConstants.AudioPlayer;
var AudioPlayer$1 = {

@@ -134,0 +124,0 @@ play(stream) {

4

package.json
{
"name": "alexa-response",
"description": "Build JSON responses for Amazon Alexa, easily.",
"version": "4.2.7",
"version": "4.2.8",
"repository": "https://github.com/cameronhunter/alexa/tree/master/packages/alexa-response",

@@ -22,4 +22,4 @@ "author": "Cameron Hunter <hello@cameronhunter.co.uk>",

"alexa-constants": "^0.4.1",
"ssml-jsx": "^2.0.1"
"ssml-jsx": "^2.0.2"
}
}
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