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

alexa-verifier

Package Overview
Dependencies
Maintainers
2
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alexa-verifier - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

test/echo-api-cert-8.pem

4

package.json
{
"name": "alexa-verifier",
"version": "2.0.1",
"version": "2.0.2",
"description": "Verify HTTP requests sent to an Alexa skill are sent from Amazon",

@@ -23,3 +23,3 @@ "main": "index.js",

"dependencies": {
"node-forge": "^0.7.0",
"node-forge": "^0.10.0",
"validator": "^9.0.0"

@@ -26,0 +26,0 @@ },

@@ -9,3 +9,3 @@ 'use strict'

var cert_url = 'https://s3.amazonaws.com/echo.api/echo-api-cert-5.pem' // latest valid cert
var cert_url = 'https://s3.amazonaws.com/echo.api/echo-api-cert-8.pem' // latest valid cert

@@ -12,0 +12,0 @@ test('handle missing cert_url parameter', function (t) {

@@ -106,5 +106,5 @@ 'use strict'

test('approves valid certifcate', function (t) {
var pem = fs.readFileSync(__dirname + '/cert-latest.pem')
var pem = fs.readFileSync(__dirname + '/echo-api-cert-8.pem')
t.assert(validate(pem) === undefined, 'Certificate should be valid')
t.end()
})
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