Socket
Socket
Sign inDemoInstall

axe

Package Overview
Dependencies
Maintainers
2
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

axe - npm Package Compare versions

Comparing version 0.3.4 to 0.3.5

8

lib/components/apply.js

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

var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
exports.default = function () {

@@ -35,2 +37,6 @@ var _this = this;

if (_typeof(_this._params[p]) === 'object') {
throw new Error('Params must be a string or number!');
}
_this._stack.Parameters[key] = {

@@ -44,3 +50,3 @@ Type: 'String',

} else {
_this._stack.Parameters[key].UsePreviousValue = true;
params.push({ ParameterKey: key, UsePreviousValue: true });
}

@@ -47,0 +53,0 @@ });

2

lib/components/types.js

@@ -16,3 +16,3 @@ 'use strict';

var Properties = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
var Extras = arguments[2];
var Extras = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
return _defineProperty({}, Name, _extends({ Type: Type, Properties: Properties }, Extras));

@@ -19,0 +19,0 @@ };

@@ -96,2 +96,6 @@ 'use strict';

if (typeof data === 'function') {
data = data(this);
}
if (Array.isArray(data)) {

@@ -111,3 +115,3 @@ return data.forEach(function (i) {

var tags = _objectPath2.default.get(data[key], 'Properties.Tags');
if (tags) {
if (tags && !Array.isArray(tags)) {
data[key].Properties.Tags = Object.keys(tags).map(function (tag) {

@@ -114,0 +118,0 @@ return {

{
"name": "axe",
"version": "0.3.4",
"version": "0.3.5",
"description": "Create AWS infrastructure with Javascript",

@@ -5,0 +5,0 @@ "author": "Jason Maurer",

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