alexa-lambda-skill
Advanced tools
Comparing version 0.1.21 to 0.1.22
@@ -1,1 +0,1 @@ | ||
!function(t,e){for(var r in e)t[r]=e[r]}(exports,function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var r={};return e.m=t,e.c=r,e.p="",e(0)}([function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},u=r(12),i=n(u),c=r(2),a=n(c);e["default"]=o({Handler:i["default"]},a["default"]),t.exports=e["default"]},function(t,e){"use strict";var r=Function.prototype.toString,n=function(t){try{return r.call(t),!0}catch(e){return!1}},o=Object.prototype.toString,u="[object Function]",i="[object GeneratorFunction]",c="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;t.exports=function(t){if("function"!=typeof t)return!1;if(c)return n(t);var e=o.call(t);return e===u||e===i}},function(t,e){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var n=Array.prototype.slice,o=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),u=function(){function t(){r(this,t),this.state=Object.assign.apply(Object,[{shouldEndSession:!1}].concat(n.call(arguments)))}return o(t,[{key:"say",value:function(e){return new t(this.state,{outputSpeech:{type:"PlainText",text:e}})}},{key:"card",value:function(e,r){var n=arguments.length<=2||void 0===arguments[2]?"Simple":arguments[2];return new t(this.state,{card:{type:n,title:e,content:r}})}},{key:"reprompt",value:function(e){return new t(this.state,{reprompt:{outputSpeech:{type:"PlainText",text:e}}})}},{key:"shouldEndSession",value:function(e){return new t(this.state,{shouldEndSession:e})}}]),t}();e["default"]={Response:u,say:(new u).say,card:(new u).card,reprompt:(new u).reprompt,shouldEndSession:(new u).shouldEndSession},t.exports=e["default"]},function(t,e,r){"use strict";var n=r(9),o=r(20),u="function"==typeof Symbol&&"symbol"==typeof Symbol(),i=Object.prototype.toString,c=function(t){return"function"==typeof t&&"[object Function]"===i.call(t)},a=function(){var t={};try{Object.defineProperty(t,"x",{value:t,enumerable:!1});for(var e in t)return!1;return t.x===t}catch(r){return!1}},s=Object.defineProperty&&a(),l=function(t,e,r,n){(!(e in t)||c(n)&&n())&&(s?Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:!0,value:r}):t[e]=r)},f=function(t,e){var r=arguments.length>2?arguments[2]:{},i=n(e);u&&(i=i.concat(Object.getOwnPropertySymbols(e))),o(i,function(n){l(t,n,e[n],r[n])})};f.supportsDescriptors=!!s,t.exports=f},function(t,e){var r=Object.prototype.hasOwnProperty;t.exports=Object.assign||function(t,e){for(var n in e)r.call(e,n)&&(t[n]=e[n]);return t}},function(t,e){var r=Number.isNaN||function(t){return t!==t};t.exports=Number.isFinite||function(t){return"number"==typeof t&&!r(t)&&t!==1/0&&t!==-(1/0)}},function(t,e){t.exports=function(t,e){var r=t%e;return Math.floor(r>=0?r:r+e)}},function(t,e){t.exports=function(t){return t>=0?1:-1}},function(t,e){t.exports=function(t){return null===t||"function"!=typeof t&&"object"!=typeof t}},function(t,e,r){"use strict";var n=Object.prototype.hasOwnProperty,o=Object.prototype.toString,u=Array.prototype.slice,i=r(24),c=!{toString:null}.propertyIsEnumerable("toString"),a=function(){}.propertyIsEnumerable("prototype"),s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],l=function(t){var e=t.constructor;return e&&e.prototype===t},f={$window:!0,$console:!0,$parent:!0,$self:!0,$frames:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0},p=function(){if("undefined"==typeof window)return!1;for(var t in window)if(!f["$"+t]&&n.call(window,t)&&null!==window[t]&&"object"==typeof window[t])try{l(window[t])}catch(e){return!0}return!1}(),b=function(t){if("undefined"==typeof window&&!p)return l(t);try{return l(t)}catch(e){return!1}},y=function(t){var e=null!==t&&"object"==typeof t,r="[object Function]"===o.call(t),u=i(t),l=e&&"[object String]"===o.call(t),f=[];if(!e&&!r&&!u)throw new TypeError("Object.keys called on a non-object");var p=a&&r;if(l&&t.length>0&&!n.call(t,0))for(var y=0;y<t.length;++y)f.push(String(y));if(u&&t.length>0)for(var v=0;v<t.length;++v)f.push(String(v));else for(var m in t)p&&"prototype"===m||!n.call(t,m)||f.push(String(m));if(c)for(var g=b(t),h=0;h<s.length;++h)g&&"constructor"===s[h]||!n.call(t,s[h])||f.push(s[h]);return f};y.shim=function(){if(Object.keys){var t=function(){return 2===(Object.keys(arguments)||"").length}(1,2);if(!t){var e=Object.keys;Object.keys=function(t){return e(i(t)?u.call(t):t)}}}else Object.keys=y;return Object.keys||y},t.exports=y},function(t,e,r){"use strict";var n=r(16),o=r(9);t.exports=function(t){for(var e=n.RequireObjectCoercible(t),r=o(e),u=[],i=0;i<r.length;++i)u.push(e[r[i]]);return u}},function(t,e,r){"use strict";var n=r(10);t.exports=function(){return"function"==typeof Object.values?Object.values:n}},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function o(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function u(t){var e=arguments.length<=1||void 0===arguments[1]?a["default"]:arguments[1];return function(){var r=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],n=arguments.length<=1||void 0===arguments[1]?p:arguments[1],u=r.request,a=void 0===u?{}:u,l=r.session;l=void 0===l?{}:l;var b=l.attributes,y=void 0===b?{}:b,v=a.intent;v=void 0===v?{}:v;var m=v.slots,g=void 0===m?{}:m,h=e(a,t)||c.NotFound,d=f["default"](g).reduce(function(t){var e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],r=e.name,n=e.value;return Object.assign({},t,r&&n?o({},r,n):null)},{});Promise.resolve(h(d)).then(function(t){return t&&t instanceof s.Response?t.state:t}).then(function(t){var e=t?{version:"1.0",sessionAttributes:y,response:i({shouldEndSession:!0},t)}:void 0;n.succeed(e)})["catch"](function(t){n.fail(t||"Unknown error")})}}Object.defineProperty(e,"__esModule",{value:!0});var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};e["default"]=u;var c=r(13),a=n(c),s=r(2),l=r(25),f=n(l),p={success:function(){},fail:function(){},done:function(){}};t.exports=e["default"]},function(t,e){"use strict";function r(t,e){var r=t.type,c=t.reason,a=t.intent;a=void 0===a?{}:a;var s=a.name;return[r==n&&e[s],r==n&&e.intent&&e.intent.bind(e,s),r==o&&e.launch,r==u&&e.sessionEnded&&e.sessionEnded.bind(e,c),e.notFound||i].filter(function(t){return!!t})[0]}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=r;var n="IntentRequest",o="LaunchRequest",u="SessionEndedRequest",i=function(){return Promise.reject("404 Not Found")};e.NotFound=i},function(t,e,r){"use strict";var n=Number.isNaN||function(t){return t!==t},o=r(5),u=r(7),i=r(6),c=r(1),a=r(18),s={ToPrimitive:a,ToBoolean:function(t){return Boolean(t)},ToNumber:function(t){return Number(t)},ToInteger:function(t){var e=this.ToNumber(t);return n(e)?0:0!==e&&o(e)?u(e)*Math.floor(Math.abs(e)):e},ToInt32:function(t){return this.ToNumber(t)>>0},ToUint32:function(t){return this.ToNumber(t)>>>0},ToUint16:function(t){var e=this.ToNumber(t);if(n(e)||0===e||!o(e))return 0;var r=u(e)*Math.floor(Math.abs(e));return i(r,65536)},ToString:function(t){return String(t)},ToObject:function(t){return this.CheckObjectCoercible(t),Object(t)},CheckObjectCoercible:function(t,e){if(null==t)throw new TypeError(e||"Cannot call method on "+t);return t},IsCallable:c,SameValue:function(t,e){return t===e?0===t?1/t===1/e:!0:n(t)&&n(e)}};t.exports=s},function(t,e,r){"use strict";var n=Object.prototype.toString,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,u=o?Symbol.prototype.toString:n,i=Number.isNaN||function(t){return t!==t},c=r(5),a=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,s=r(4),l=r(7),f=r(6),p=r(17),b=r(19),y=parseInt,v=r(21),m=v.call(Function.call,String.prototype.slice),g=v.call(Function.call,RegExp.prototype.test,/^0b/i),h=v.call(Function.call,RegExp.prototype.test,/^0o/i),d=r(14),j=s(s({},d),{Call:function(t,e){var r=arguments.length>2?arguments[2]:[];if(!this.IsCallable(t))throw new TypeError(t+" is not a function");return t.apply(e,r)},ToPrimitive:b,ToNumber:function(t){var e=p(t)?t:b(t,"number");if("symbol"==typeof e)throw new TypeError("Cannot convert a Symbol value to a number");if("string"==typeof e){if(g(e))return Number(y(m(e,2),2));if(h(e))return Number(y(m(e,2),8))}return Number(e)},ToInt16:function(t){var e=this.ToUint16(t);return e>=32768?e-65536:e},ToInt8:function(t){var e=this.ToUint8(t);return e>=128?e-256:e},ToUint8:function(t){var e=this.ToNumber(t);if(i(e)||0===e||!c(e))return 0;var r=l(e)*Math.floor(Math.abs(e));return f(r,256)},ToUint8Clamp:function(t){var e=this.ToNumber(t);if(i(e)||0>=e)return 0;if(e>=255)return 255;var r=Math.floor(t);return e>r+.5?r+1:r+.5>e?r:r%2!==0?r+1:r},ToString:function(t){if("symbol"==typeof t)throw new TypeError("Cannot convert a Symbol value to a string");return String(t)},ToObject:function(t){return this.RequireObjectCoercible(t),Object(t)},ToPropertyKey:function(t){var e=this.ToPrimitive(t,String);return"symbol"==typeof e?u.call(e):this.ToString(e)},ToLength:function(t){var e=this.ToInteger(t);return 0>=e?0:e>a?a:e},CanonicalNumericIndexString:function(t){if("[object String]"!==n.call(t))throw new TypeError("must be a string");if("-0"===t)return-0;var e=this.ToNumber(t);return this.SameValue(this.ToString(e),t)?e:void 0},RequireObjectCoercible:d.CheckObjectCoercible,IsArray:Array.isArray||function(t){return"[object Array]"===n.call(t)},IsConstructor:function(t){return this.IsCallable(t)},IsExtensible:function(t){return Object.preventExtensions?p(t)?!1:Object.isExtensible(t):!0},IsInteger:function(t){if("number"!=typeof t||i(t)||!c(t))return!1;var e=Math.abs(t);return Math.floor(e)===e},IsPropertyKey:function(t){return"string"==typeof t||"symbol"==typeof t},IsRegExp:function(t){return"[object RegExp]"===n.call(t)},SameValueZero:function(t,e){return t===e||i(t)&&i(e)}});delete j.CheckObjectCoercible,t.exports=j},function(t,e,r){"use strict";var n=r(15),o=r(4),u=o(n,{});t.exports=u},function(t,e){t.exports=function(t){return null===t||"function"!=typeof t&&"object"!=typeof t}},function(t,e,r){"use strict";var n=Object.prototype.toString,o=r(8);r(1);t.exports=function(t,e){if(o(t))return t;if(arguments.length<2&&(e="[object Date]"===n.call(t)?String:Number),e===String)return String(t);if(e===Number)return Number(t);throw new TypeError("invalid PreferredType supplied")}},function(t,e,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,o=r(8),u=r(1),i=r(22),c=r(23),a=function(t,e){if(null==t)throw new TypeError("Cannot call method on "+t);if("string"!=typeof e||"number"!==e&&"string"!==e)throw new TypeError('hint must be "string" or "number"');var r,n,i,c="string"===e?["toString","valueOf"]:["valueOf","toString"];for(i=0;i<c.length;++i)if(r=t[c[i]],u(r)&&(n=r.call(t),o(n)))return n;throw new TypeError("No default value")};t.exports=function(t,e){if(o(t))return t;var r="default";arguments.length>1&&(e===String?r="string":e===Number&&(r="number"));var u;if(n){if(Symbol.toPrimitive)throw new TypeError("Symbol.toPrimitive not supported yet");c(t)&&(u=Symbol.prototype.valueOf)}if("undefined"!=typeof u){var s=u.call(t,r);if(o(s))return s;throw new TypeError("unable to convert exotic object to primitive")}return"default"===r&&(i(t)||c(t))&&(r="string"),a(t,"default"===r?"number":r)}},function(t,e){var r=Object.prototype.hasOwnProperty,n=Object.prototype.toString;t.exports=function(t,e,o){if("[object Function]"!==n.call(e))throw new TypeError("iterator must be a function");var u=t.length;if(u===+u)for(var i=0;u>i;i++)e.call(o,t[i],i,t);else for(var c in t)r.call(t,c)&&e.call(o,t[c],c,t)}},function(t,e){var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,o=Object.prototype.toString,u="[object Function]";t.exports=function(t){var e=this;if("function"!=typeof e||o.call(e)!==u)throw new TypeError(r+e);for(var i=n.call(arguments,1),c=function(){if(this instanceof f){var r=e.apply(this,i.concat(n.call(arguments)));return Object(r)===r?r:this}return e.apply(t,i.concat(n.call(arguments)))},a=Math.max(0,e.length-i.length),s=[],l=0;a>l;l++)s.push("$"+l);var f=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")(c);if(e.prototype){var p=function(){};p.prototype=e.prototype,f.prototype=new p,p.prototype=null}return f}},function(t,e){"use strict";var r=Date.prototype.getDay;t.exports=function(t){try{return r.call(t),!0}catch(e){return!1}}},function(t,e){"use strict";var r=Object.prototype.toString,n="function"==typeof Symbol&&"symbol"==typeof Symbol();if(n){var o=Symbol.prototype.toString,u=/^Symbol\(.*\)$/,i=function(t){return"symbol"!=typeof t.valueOf()?!1:u.test(o.call(t))};t.exports=function(t){if("symbol"==typeof t)return!0;if("[object Symbol]"!==r.call(t))return!1;try{return i(t)}catch(e){return!1}}}else t.exports=function(t){return!1}},function(t,e){"use strict";var r=Object.prototype.toString;t.exports=function(t){var e=r.call(t),n="[object Arguments]"===e;return n||(n="[object Array]"!==e&&null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Function]"===r.call(t.callee)),n}},function(t,e,r){"use strict";var n=r(3),o=r(10),u=r(11),i=r(26);n(o,{getPolyfill:u,implementation:o,shim:i}),t.exports=o},function(t,e,r){"use strict";var n=r(11),o=r(3);t.exports=function(){var t=n();return o(Object,{values:t},{values:function(){return Object.values!==t}}),t}}])); | ||
!function(t,e){for(var r in e)t[r]=e[r]}(exports,function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var r={};return e.m=t,e.c=r,e.p="",e(0)}([function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0});var o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},u=r(15),i=n(u),c=r(4),a=n(c);e["default"]=o({Handler:i["default"]},a["default"]),t.exports=e["default"]},function(t,e,r){"use strict";var n=r(2),o=r(23),u="function"==typeof Symbol&&"symbol"==typeof Symbol(),i=Object.prototype.toString,c=function(t){return"function"==typeof t&&"[object Function]"===i.call(t)},a=function(){var t={};try{Object.defineProperty(t,"x",{value:t,enumerable:!1});for(var e in t)return!1;return t.x===t}catch(r){return!1}},s=Object.defineProperty&&a(),l=function(t,e,r,n){(!(e in t)||c(n)&&n())&&(s?Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:!0,value:r}):t[e]=r)},f=function(t,e){var r=arguments.length>2?arguments[2]:{},i=n(e);u&&(i=i.concat(Object.getOwnPropertySymbols(e))),o(i,function(n){l(t,n,e[n],r[n])})};f.supportsDescriptors=!!s,t.exports=f},function(t,e,r){"use strict";var n=Object.prototype.hasOwnProperty,o=Object.prototype.toString,u=Array.prototype.slice,i=r(26),c=!{toString:null}.propertyIsEnumerable("toString"),a=function(){}.propertyIsEnumerable("prototype"),s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],l=function(t){var e=t.constructor;return e&&e.prototype===t},f={$window:!0,$console:!0,$parent:!0,$self:!0,$frames:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0},p=function(){if("undefined"==typeof window)return!1;for(var t in window)if(!f["$"+t]&&n.call(window,t)&&null!==window[t]&&"object"==typeof window[t])try{l(window[t])}catch(e){return!0}return!1}(),y=function(t){if("undefined"==typeof window&&!p)return l(t);try{return l(t)}catch(e){return!1}},b=function(t){var e=null!==t&&"object"==typeof t,r="[object Function]"===o.call(t),u=i(t),l=e&&"[object String]"===o.call(t),f=[];if(!e&&!r&&!u)throw new TypeError("Object.keys called on a non-object");var p=a&&r;if(l&&t.length>0&&!n.call(t,0))for(var b=0;b<t.length;++b)f.push(String(b));if(u&&t.length>0)for(var v=0;v<t.length;++v)f.push(String(v));else for(var m in t)p&&"prototype"===m||!n.call(t,m)||f.push(String(m));if(c)for(var g=y(t),h=0;h<s.length;++h)g&&"constructor"===s[h]||!n.call(t,s[h])||f.push(s[h]);return f};b.shim=function(){if(Object.keys){var t=function(){return 2===(Object.keys(arguments)||"").length}(1,2);if(!t){var e=Object.keys;Object.keys=function(t){return e(i(t)?u.call(t):t)}}}else Object.keys=b;return Object.keys||b},t.exports=b},function(t,e){"use strict";var r=Function.prototype.toString,n=function(t){try{return r.call(t),!0}catch(e){return!1}},o=Object.prototype.toString,u="[object Function]",i="[object GeneratorFunction]",c="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;t.exports=function(t){if("function"!=typeof t)return!1;if(c)return n(t);var e=o.call(t);return e===u||e===i}},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var u=Array.prototype.slice,i=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),c=r(28),a=n(c),s=function(){function t(){o(this,t),this.state=a["default"].apply(void 0,[{shouldEndSession:!1}].concat(u.call(arguments)))}return i(t,[{key:"say",value:function(e){return new t(this.state,{outputSpeech:{type:"PlainText",text:e}})}},{key:"card",value:function(e,r){var n=arguments.length<=2||void 0===arguments[2]?"Simple":arguments[2];return new t(this.state,{card:{type:n,title:e,content:r}})}},{key:"reprompt",value:function(e){return new t(this.state,{reprompt:{outputSpeech:{type:"PlainText",text:e}}})}},{key:"shouldEndSession",value:function(e){return new t(this.state,{shouldEndSession:e})}}]),t}();e["default"]={Response:s,say:(new s).say,card:(new s).card,reprompt:(new s).reprompt,shouldEndSession:(new s).shouldEndSession},t.exports=e["default"]},function(t,e){var r=Object.prototype.hasOwnProperty;t.exports=Object.assign||function(t,e){for(var n in e)r.call(e,n)&&(t[n]=e[n]);return t}},function(t,e){var r=Number.isNaN||function(t){return t!==t};t.exports=Number.isFinite||function(t){return"number"==typeof t&&!r(t)&&t!==1/0&&t!==-(1/0)}},function(t,e){t.exports=function(t,e){var r=t%e;return Math.floor(r>=0?r:r+e)}},function(t,e){t.exports=function(t){return t>=0?1:-1}},function(t,e){t.exports=function(t){return null===t||"function"!=typeof t&&"object"!=typeof t}},function(t,e){var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,o=Object.prototype.toString,u="[object Function]";t.exports=function(t){var e=this;if("function"!=typeof e||o.call(e)!==u)throw new TypeError(r+e);for(var i=n.call(arguments,1),c=function(){if(this instanceof f){var r=e.apply(this,i.concat(n.call(arguments)));return Object(r)===r?r:this}return e.apply(t,i.concat(n.call(arguments)))},a=Math.max(0,e.length-i.length),s=[],l=0;a>l;l++)s.push("$"+l);var f=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")(c);if(e.prototype){var p=function(){};p.prototype=e.prototype,f.prototype=new p,p.prototype=null}return f}},function(t,e,r){"use strict";var n=r(2),o=r(10),u=function(t){return"undefined"!=typeof t&&null!==t},i=r(27)(),c=Object,a=o.call(Function.call,Array.prototype.push),s=o.call(Function.call,Object.prototype.propertyIsEnumerable);t.exports=function(t,e){if(!u(t))throw new TypeError("target must be an object");var r,o,l,f,p,y=c(t);for(r=1;r<arguments.length;++r){if(o=c(arguments[r]),f=n(o),i&&Object.getOwnPropertySymbols)for(p=Object.getOwnPropertySymbols(o),l=0;l<p.length;++l)s(o,p[l])&&a(f,p[l]);for(l=0;l<f.length;++l)y[f[l]]=o[f[l]]}return y}},function(t,e,r){"use strict";var n=r(11),o=function(){if(!Object.assign||!Object.preventExtensions)return!1;var t=Object.preventExtensions({1:2});try{Object.assign(t,"xy")}catch(e){return"y"===t[1]}};t.exports=function(){return!Object.assign||o()?n:Object.assign}},function(t,e,r){"use strict";var n=r(19),o=r(2);t.exports=function(t){for(var e=n.RequireObjectCoercible(t),r=o(e),u=[],i=0;i<r.length;++i)u.push(e[r[i]]);return u}},function(t,e,r){"use strict";var n=r(13);t.exports=function(){return"function"==typeof Object.values?Object.values:n}},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function o(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function u(t){var e=arguments.length<=1||void 0===arguments[1]?a["default"]:arguments[1];return function(){var r=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],n=arguments.length<=1||void 0===arguments[1]?p:arguments[1],u=r.request,a=void 0===u?{}:u,l=r.session;l=void 0===l?{}:l;var y=l.attributes,b=void 0===y?{}:y,v=a.intent;v=void 0===v?{}:v;var m=v.slots,g=void 0===m?{}:m,h=e(a,t)||c.NotFound,d=f["default"](g).reduce(function(t){var e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],r=e.name,n=e.value;return Object.assign({},t,r&&n?o({},r,n):null)},{});Promise.resolve(h(d)).then(function(t){return t&&t instanceof s.Response?t.state:t}).then(function(t){var e=t?{version:"1.0",sessionAttributes:b,response:i({shouldEndSession:!0},t)}:void 0;n.succeed(e)})["catch"](function(t){n.fail(t||"Unknown error")})}}Object.defineProperty(e,"__esModule",{value:!0});var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};e["default"]=u;var c=r(16),a=n(c),s=r(4),l=r(30),f=n(l),p={success:function(){},fail:function(){},done:function(){}};t.exports=e["default"]},function(t,e){"use strict";function r(t,e){var r=t.type,c=t.reason,a=t.intent;a=void 0===a?{}:a;var s=a.name;return[r==n&&e[s],r==n&&e.intent&&e.intent.bind(e,s),r==o&&e.launch,r==u&&e.sessionEnded&&e.sessionEnded.bind(e,c),e.notFound||i].filter(function(t){return!!t})[0]}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=r;var n="IntentRequest",o="LaunchRequest",u="SessionEndedRequest",i=function(){return Promise.reject("404 Not Found")};e.NotFound=i},function(t,e,r){"use strict";var n=Number.isNaN||function(t){return t!==t},o=r(6),u=r(8),i=r(7),c=r(3),a=r(21),s={ToPrimitive:a,ToBoolean:function(t){return Boolean(t)},ToNumber:function(t){return Number(t)},ToInteger:function(t){var e=this.ToNumber(t);return n(e)?0:0!==e&&o(e)?u(e)*Math.floor(Math.abs(e)):e},ToInt32:function(t){return this.ToNumber(t)>>0},ToUint32:function(t){return this.ToNumber(t)>>>0},ToUint16:function(t){var e=this.ToNumber(t);if(n(e)||0===e||!o(e))return 0;var r=u(e)*Math.floor(Math.abs(e));return i(r,65536)},ToString:function(t){return String(t)},ToObject:function(t){return this.CheckObjectCoercible(t),Object(t)},CheckObjectCoercible:function(t,e){if(null==t)throw new TypeError(e||"Cannot call method on "+t);return t},IsCallable:c,SameValue:function(t,e){return t===e?0===t?1/t===1/e:!0:n(t)&&n(e)}};t.exports=s},function(t,e,r){"use strict";var n=Object.prototype.toString,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,u=o?Symbol.prototype.toString:n,i=Number.isNaN||function(t){return t!==t},c=r(6),a=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,s=r(5),l=r(8),f=r(7),p=r(20),y=r(22),b=parseInt,v=r(10),m=v.call(Function.call,String.prototype.slice),g=v.call(Function.call,RegExp.prototype.test,/^0b/i),h=v.call(Function.call,RegExp.prototype.test,/^0o/i),d=r(17),j=s(s({},d),{Call:function(t,e){var r=arguments.length>2?arguments[2]:[];if(!this.IsCallable(t))throw new TypeError(t+" is not a function");return t.apply(e,r)},ToPrimitive:y,ToNumber:function(t){var e=p(t)?t:y(t,"number");if("symbol"==typeof e)throw new TypeError("Cannot convert a Symbol value to a number");if("string"==typeof e){if(g(e))return Number(b(m(e,2),2));if(h(e))return Number(b(m(e,2),8))}return Number(e)},ToInt16:function(t){var e=this.ToUint16(t);return e>=32768?e-65536:e},ToInt8:function(t){var e=this.ToUint8(t);return e>=128?e-256:e},ToUint8:function(t){var e=this.ToNumber(t);if(i(e)||0===e||!c(e))return 0;var r=l(e)*Math.floor(Math.abs(e));return f(r,256)},ToUint8Clamp:function(t){var e=this.ToNumber(t);if(i(e)||0>=e)return 0;if(e>=255)return 255;var r=Math.floor(t);return e>r+.5?r+1:r+.5>e?r:r%2!==0?r+1:r},ToString:function(t){if("symbol"==typeof t)throw new TypeError("Cannot convert a Symbol value to a string");return String(t)},ToObject:function(t){return this.RequireObjectCoercible(t),Object(t)},ToPropertyKey:function(t){var e=this.ToPrimitive(t,String);return"symbol"==typeof e?u.call(e):this.ToString(e)},ToLength:function(t){var e=this.ToInteger(t);return 0>=e?0:e>a?a:e},CanonicalNumericIndexString:function(t){if("[object String]"!==n.call(t))throw new TypeError("must be a string");if("-0"===t)return-0;var e=this.ToNumber(t);return this.SameValue(this.ToString(e),t)?e:void 0},RequireObjectCoercible:d.CheckObjectCoercible,IsArray:Array.isArray||function(t){return"[object Array]"===n.call(t)},IsConstructor:function(t){return this.IsCallable(t)},IsExtensible:function(t){return Object.preventExtensions?p(t)?!1:Object.isExtensible(t):!0},IsInteger:function(t){if("number"!=typeof t||i(t)||!c(t))return!1;var e=Math.abs(t);return Math.floor(e)===e},IsPropertyKey:function(t){return"string"==typeof t||"symbol"==typeof t},IsRegExp:function(t){return"[object RegExp]"===n.call(t)},SameValueZero:function(t,e){return t===e||i(t)&&i(e)}});delete j.CheckObjectCoercible,t.exports=j},function(t,e,r){"use strict";var n=r(18),o=r(5),u=o(n,{});t.exports=u},function(t,e){t.exports=function(t){return null===t||"function"!=typeof t&&"object"!=typeof t}},function(t,e,r){"use strict";var n=Object.prototype.toString,o=r(9);r(3);t.exports=function(t,e){if(o(t))return t;if(arguments.length<2&&(e="[object Date]"===n.call(t)?String:Number),e===String)return String(t);if(e===Number)return Number(t);throw new TypeError("invalid PreferredType supplied")}},function(t,e,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,o=r(9),u=r(3),i=r(24),c=r(25),a=function(t,e){if(null==t)throw new TypeError("Cannot call method on "+t);if("string"!=typeof e||"number"!==e&&"string"!==e)throw new TypeError('hint must be "string" or "number"');var r,n,i,c="string"===e?["toString","valueOf"]:["valueOf","toString"];for(i=0;i<c.length;++i)if(r=t[c[i]],u(r)&&(n=r.call(t),o(n)))return n;throw new TypeError("No default value")};t.exports=function(t,e){if(o(t))return t;var r="default";arguments.length>1&&(e===String?r="string":e===Number&&(r="number"));var u;if(n){if(Symbol.toPrimitive)throw new TypeError("Symbol.toPrimitive not supported yet");c(t)&&(u=Symbol.prototype.valueOf)}if("undefined"!=typeof u){var s=u.call(t,r);if(o(s))return s;throw new TypeError("unable to convert exotic object to primitive")}return"default"===r&&(i(t)||c(t))&&(r="string"),a(t,"default"===r?"number":r)}},function(t,e){var r=Object.prototype.hasOwnProperty,n=Object.prototype.toString;t.exports=function(t,e,o){if("[object Function]"!==n.call(e))throw new TypeError("iterator must be a function");var u=t.length;if(u===+u)for(var i=0;u>i;i++)e.call(o,t[i],i,t);else for(var c in t)r.call(t,c)&&e.call(o,t[c],c,t)}},function(t,e){"use strict";var r=Date.prototype.getDay;t.exports=function(t){try{return r.call(t),!0}catch(e){return!1}}},function(t,e){"use strict";var r=Object.prototype.toString,n="function"==typeof Symbol&&"symbol"==typeof Symbol();if(n){var o=Symbol.prototype.toString,u=/^Symbol\(.*\)$/,i=function(t){return"symbol"!=typeof t.valueOf()?!1:u.test(o.call(t))};t.exports=function(t){if("symbol"==typeof t)return!0;if("[object Symbol]"!==r.call(t))return!1;try{return i(t)}catch(e){return!1}}}else t.exports=function(t){return!1}},function(t,e){"use strict";var r=Object.prototype.toString;t.exports=function(t){var e=r.call(t),n="[object Arguments]"===e;return n||(n="[object Array]"!==e&&null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Function]"===r.call(t.callee)),n}},function(t,e,r){"use strict";var n=r(2);t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test");if("string"==typeof e)return!1;if(e instanceof Symbol)return!1;t[e]=42;for(e in t)return!1;if(0!==n(t).length)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var r=Object.getOwnPropertySymbols(t);if(1!==r.length||r[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(42!==o.value||o.enumerable!==!0)return!1}return!0}},function(t,e,r){"use strict";var n=r(1),o=r(11),u=r(12),i=r(29);n(o,{implementation:o,getPolyfill:u,shim:i}),t.exports=o},function(t,e,r){"use strict";var n=r(1),o=r(12);t.exports=function(){var t=o();return Object.assign!==t&&n(Object,{assign:t}),t}},function(t,e,r){"use strict";var n=r(1),o=r(13),u=r(14),i=r(31);n(o,{getPolyfill:u,implementation:o,shim:i}),t.exports=o},function(t,e,r){"use strict";var n=r(14),o=r(1);t.exports=function(){var t=n();return o(Object,{values:t},{values:function(){return Object.values!==t}}),t}}])); |
@@ -5,3 +5,3 @@ { | ||
"description": "Create Alexa Skills for AWS Lambda, easily.", | ||
"version": "0.1.21", | ||
"version": "0.1.22", | ||
"main": "dist/index.js", | ||
@@ -18,2 +18,3 @@ "license": "MIT", | ||
"babel-loader": "^5.3.2", | ||
"object.assign": "^4.0.1", | ||
"object.values": "^1.0.1", | ||
@@ -20,0 +21,0 @@ "webpack": "^1.12.2" |
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
18438
4