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.1 to 4.2.2

6

build/index.js

@@ -7,4 +7,4 @@ 'use strict';

var alexaSsmlJsx = require('alexa-ssml-jsx');
var alexaSsmlJsx__default = _interopDefault(alexaSsmlJsx);
var ssmlJsx = require('ssml-jsx');
var ssmlJsx__default = _interopDefault(ssmlJsx);
var alexaConstants = require('alexa-constants');

@@ -119,3 +119,3 @@

if (type === alexaConstants.SpeechType.SSML || typeof text === 'object') {
const speech = typeof text === 'object' ? alexaSsmlJsx.renderToString(text) : text;
const speech = typeof text === 'object' ? ssmlJsx.renderToString(text) : text;
return { outputSpeech: { type: alexaConstants.SpeechType.SSML, ssml: speech } };

@@ -122,0 +122,0 @@ } else {

@@ -7,4 +7,4 @@ 'use strict';

var alexaSsmlJsx = require('alexa-ssml-jsx');
var alexaSsmlJsx__default = _interopDefault(alexaSsmlJsx);
var ssmlJsx = require('ssml-jsx');
var ssmlJsx__default = _interopDefault(ssmlJsx);
var alexaConstants = require('alexa-constants');

@@ -119,3 +119,3 @@

if (type === alexaConstants.SpeechType.SSML || typeof text === 'object') {
const speech = typeof text === 'object' ? alexaSsmlJsx.renderToString(text) : text;
const speech = typeof text === 'object' ? ssmlJsx.renderToString(text) : text;
return { outputSpeech: { type: alexaConstants.SpeechType.SSML, ssml: speech } };

@@ -122,0 +122,0 @@ } else {

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

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

"dependencies": {
"alexa-ssml-jsx": "^1.3.1",
"alexa-constants": "^0.4.1"
"alexa-constants": "^0.4.1",
"ssml-jsx": "^1.3.2"
}
}

@@ -102,3 +102,3 @@ # Alexa Response

directly by including `babel-plugin-transform-react-jsx` in your `.babelrc` and
importing `ssml` from [`alexa-ssml-jsx`](https://github.com/cameronhunter/alexa) in your source file.
importing `ssml` from [`ssml-jsx`](https://github.com/cameronhunter/alexa) in your source file.

@@ -115,3 +115,3 @@ ```json

import Response from 'alexa-response';
import ssml from 'alexa-ssml-jsx';
import ssml from 'ssml-jsx';

@@ -118,0 +118,0 @@ Response.ask(

@@ -1,2 +0,2 @@

import ssml, { renderToString } from 'alexa-ssml-jsx';
import ssml, { renderToString } from 'ssml-jsx';
import { CardType, SpeechType } from 'alexa-constants';

@@ -3,0 +3,0 @@

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