alexa-ability-lambda-handler
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -1,19 +0,14 @@ | ||
"use strict"; | ||
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
value: true | ||
}); | ||
exports.handleAbility = handleAbility; | ||
function handleAbility(ability) { | ||
return function abilityHandler(event, context) { | ||
var _handleAbility = require('./handleAbility'); | ||
ability.handle(event, function (err, req) { | ||
if (err) { | ||
context.fail(err); | ||
} else { | ||
context.succeed(req.toJSON()); | ||
} | ||
}); | ||
}; | ||
} | ||
Object.defineProperty(exports, 'handleAbility', { | ||
enumerable: true, | ||
get: function get() { | ||
return _handleAbility.handleAbility; | ||
} | ||
}); |
{ | ||
"name": "alexa-ability-lambda-handler", | ||
"version": "0.3.0", | ||
"description": "", | ||
"version": "0.3.1", | ||
"description": "Expose an alexa-ability as an AWS Lambda function", | ||
"main": "lib/index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "./scripts/test.sh" | ||
}, | ||
@@ -13,3 +13,17 @@ "repository": { | ||
}, | ||
"keywords": [], | ||
"bugs": { | ||
"url": "http://github.com/nickclaw/alexa-ability-lambda-handler/issues" | ||
}, | ||
"keywords": [ | ||
"amazon", | ||
"alexa", | ||
"skills", | ||
"skill", | ||
"kit", | ||
"echo", | ||
"ability", | ||
"lambda", | ||
"aws", | ||
"alexa-ability" | ||
], | ||
"author": { | ||
@@ -22,3 +36,3 @@ "name": "Nicholas Clawson", | ||
"dependencies": { | ||
"lodash": "^4.0.1" | ||
"debug": "^2.2.0" | ||
}, | ||
@@ -28,8 +42,14 @@ "devDependencies": { | ||
"babel-cli": "^6.4.5", | ||
"babel-eslint": "^4.1.8", | ||
"babel-preset-es2015": "^6.3.13", | ||
"babel-preset-stage-1": "^6.3.13" | ||
}, | ||
"peerDependencies": { | ||
"alexa-ability": "^0.5.0" | ||
"babel-preset-stage-1": "^6.3.13", | ||
"babel-register": "^6.4.3", | ||
"chai": "^3.4.1", | ||
"eslint": "^1.10.3", | ||
"eslint-config-airbnb": "^4.0.0", | ||
"eslint-plugin-react": "^3.16.1", | ||
"mocha": "^2.3.4", | ||
"sinon": "^1.17.2", | ||
"sinon-chai": "^2.8.0" | ||
} | ||
} |
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
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 bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
5479
1
9
68
1
2
13
+ Addeddebug@^2.2.0
- Removedlodash@^4.0.1
- Removedalexa-ability@0.5.2(transitive)
- Removedalexa-ssml@0.3.2(transitive)
- Removedlodash@4.17.21(transitive)
- Removedtv4@1.3.0(transitive)
- Removedxmlbuilder@4.2.1(transitive)