@cumulusds/aws-apig-bypass 0.3.0-jnnode21.1.gaa6b5b9 → 0.3.0
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/.babelrc.js +15 -0
- package/.eslintrc.js +15 -0
- package/.flowconfig +13 -0
- package/.yarn/plugins/@yarnpkg/plugin-version.cjs +550 -0
- package/.yarn/versions/fd5879cf.yml +0 -0
- package/doc/CreateAccessKey.png +0 -0
- package/doc/development.md +244 -0
- package/doc/prettier-watchers-pc.xml +222 -0
- package/doc/prettier-watchers-unix.xml +222 -0
- package/doc/webstorm-file-watcher-prettier.png +0 -0
- package/doc/webstorm-flow.png +0 -0
- package/flow-typed/npm/jest_v26.x.x.js +1218 -0
- package/package.json +5 -9
- package/prettier.config.js +3 -0
- package/test/unit/index.test.js +145 -0
- package/lib/create-api-gateway-event.js +0 -58
- package/lib/create-client.js +0 -23
- package/lib/create-lambda-client.js +0 -37
- package/lib/json-stringify.js +0 -20
- package/lib/lambda-invoke.js +0 -1
- package/lib/parse-payload.js +0 -27
- package/lib/response.js +0 -1
- /package/{lib/create-api-gateway-event.js.flow → src/create-api-gateway-event.js} +0 -0
- /package/{lib/create-client.js.flow → src/create-client.js} +0 -0
- /package/{lib/create-lambda-client.js.flow → src/create-lambda-client.js} +0 -0
- /package/{lib/index.js.flow → src/index.js} +0 -0
- /package/{lib/json-stringify.js.flow → src/json-stringify.js} +0 -0
- /package/{lib/lambda-invoke.js.flow → src/lambda-invoke.js} +0 -0
- /package/{lib/parse-payload.js.flow → src/parse-payload.js} +0 -0
- /package/{lib/response.js.flow → src/response.js} +0 -0
package/.babelrc.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
presets: [
|
|
3
|
+
[
|
|
4
|
+
"@babel/preset-env",
|
|
5
|
+
{
|
|
6
|
+
targets: {
|
|
7
|
+
node: "10.15.0"
|
|
8
|
+
},
|
|
9
|
+
exclude: ["proposal-async-generator-functions"] // Do not transform async generator functions, since they are supported natively in Node 10 & 12.
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"@babel/preset-flow"
|
|
13
|
+
],
|
|
14
|
+
plugins: ["@babel/plugin-proposal-nullish-coalescing-operator", "@babel/plugin-proposal-optional-chaining"]
|
|
15
|
+
};
|
package/.eslintrc.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
extends: ["airbnb-base", "plugin:prettier/recommended", "plugin:flowtype/recommended"],
|
|
3
|
+
rules: {
|
|
4
|
+
"linebreak-style": "off",
|
|
5
|
+
"no-console": "off",
|
|
6
|
+
"no-restricted-syntax": "off"
|
|
7
|
+
},
|
|
8
|
+
plugins: ["jest", "flowtype"],
|
|
9
|
+
env: {
|
|
10
|
+
"jest/globals": true
|
|
11
|
+
},
|
|
12
|
+
parserOptions: {
|
|
13
|
+
ecmaVersion: 2020
|
|
14
|
+
}
|
|
15
|
+
};
|
package/.flowconfig
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
[ignore]
|
|
2
|
+
<PROJECT_ROOT>/node_modules/config-chain/test/broken.json
|
|
3
|
+
<PROJECT_ROOT>/node_modules/license-checker/tests/config/custom_format_broken.json
|
|
4
|
+
<PROJECT_ROOT>/lib
|
|
5
|
+
<PROJECT_ROOT>/node_modules/jest-resolve/node_modules/resolve/test/resolver/malformed_package_json/package.json
|
|
6
|
+
|
|
7
|
+
[libs]
|
|
8
|
+
node_modules/@cumulusds/flow-aws-sdk/index.js
|
|
9
|
+
node_modules/@cumulusds/flow-aws-sdk/clients
|
|
10
|
+
node_modules/@cumulusds/flow-aws-sdk/lib
|
|
11
|
+
|
|
12
|
+
[lints]
|
|
13
|
+
all=error
|