@architect/inventory 3.3.0 → 3.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/changelog.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@architect/inventory",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.1",
|
|
4
4
|
"description": "Architect project resource enumeration utility",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@architect/eslint-config": "~2.0.1",
|
|
31
|
-
"aws-sdk": "2.
|
|
31
|
+
"aws-sdk": "2.1055.0",
|
|
32
32
|
"aws-sdk-mock": "~5.6.2",
|
|
33
33
|
"cross-env": "~7.0.3",
|
|
34
34
|
"dotenv": "~16.0.0",
|
|
@@ -95,7 +95,9 @@ function populate (type, pragma, inventory, errors, plugin) {
|
|
|
95
95
|
config.fifo = config.fifo === undefined ? true : config.fifo
|
|
96
96
|
}
|
|
97
97
|
if (type === 'http') {
|
|
98
|
-
if (name.startsWith('get ') || name.startsWith('any '))
|
|
98
|
+
if (name.startsWith('get ') || name.startsWith('any ')) {
|
|
99
|
+
config.views = config.views === undefined ? true : config.views
|
|
100
|
+
}
|
|
99
101
|
}
|
|
100
102
|
|
|
101
103
|
// Now let's check in on the function config
|
package/src/env/index.js
CHANGED
|
@@ -11,7 +11,7 @@ module.exports = function env (params, inventory, callback) {
|
|
|
11
11
|
/* istanbul ignore next */
|
|
12
12
|
try {
|
|
13
13
|
// eslint-disable-next-line
|
|
14
|
-
|
|
14
|
+
var aws = require('aws-sdk')
|
|
15
15
|
}
|
|
16
16
|
catch (err) {
|
|
17
17
|
let msg = `'aws-sdk' not found, please install locally or globally (see also readme#aws-sdk-caveat)`
|