serverless-kms-alias 1.0.0 → 2.0.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/.husky/pre-commit CHANGED
@@ -2,7 +2,7 @@
2
2
  # shellcheck disable=SC1090,SC1091
3
3
  . "$(dirname "$0")/_/husky.sh"
4
4
 
5
- PATH=$PATH:/usr/local/bin
5
+ PATH=$PATH:/usr/local/bin:/opt/homebrew/bin
6
6
 
7
7
  echo 'NOTE: If node or npm is not found, you may need to run brew link for your specific node version'
8
8
  npm run lint-staged
package/CHANGELOG.md ADDED
@@ -0,0 +1,19 @@
1
+ # Change Log
2
+
3
+ ## 2.0.0 - 2022-05-23
4
+
5
+ - Drop Node.js 12 support
6
+ - Update npms
7
+
8
+ ## 1.0.2 - 2022-04-13
9
+
10
+ - Update npms
11
+
12
+ ## 1.0.1 - 2022-02-22
13
+
14
+ - Update npms
15
+ - Update husky to support Apple silicon homebrew package links
16
+
17
+ ## 1.0.0 - 2022-01-18
18
+
19
+ - Initial release
package/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # serverless-kms-alias
2
2
 
3
+ [![NPM version](https://img.shields.io/npm/v/serverless-kms-alias.svg?style=flat)](https://npmjs.org/package/serverless-kms-alias)
4
+ [![node version](https://img.shields.io/node/v/serverless-kms-alias.svg?style=flat)](https://nodejs.org)
5
+
3
6
  Serverless plugin to expand a KMS alias variable to the ARN of the KMS key
4
7
 
5
8
  ## Usage
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -11,4 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
11
15
  };
12
16
  Object.defineProperty(exports, "__esModule", { value: true });
13
17
  __exportStar(require("./ServerlessInstance"), exports);
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvdHlwZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7O0FBQUEsdURBQXFDIn0=
18
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvdHlwZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLHVEQUFxQyJ9
package/package.json CHANGED
@@ -1,34 +1,34 @@
1
1
  {
2
2
  "name": "serverless-kms-alias",
3
- "version": "1.0.0",
3
+ "version": "2.0.0",
4
4
  "engines": {
5
- "node": ">= 12"
5
+ "node": ">= 14"
6
6
  },
7
7
  "dependencies": {
8
- "@aws-sdk/client-kms": "^3.47.0"
8
+ "@aws-sdk/client-kms": "^3.95.0"
9
9
  },
10
10
  "devDependencies": {
11
- "@types/lodash": "4.14.178",
12
- "@types/serverless": "1.78.41",
13
- "@typescript-eslint/eslint-plugin": "5.10.0",
14
- "@typescript-eslint/parser": "5.10.0",
15
- "eslint": "8.7.0",
11
+ "@types/lodash": "4.14.182",
12
+ "@types/serverless": "3.12.5",
13
+ "@typescript-eslint/eslint-plugin": "5.26.0",
14
+ "@typescript-eslint/parser": "5.26.0",
15
+ "eslint": "8.16.0",
16
16
  "eslint-config-airbnb-base": "15.0.0",
17
- "eslint-config-airbnb-typescript": "16.1.0",
18
- "eslint-config-prettier": "8.3.0",
19
- "eslint-plugin-import": "2.25.4",
20
- "eslint-plugin-jsdoc": "37.6.1",
17
+ "eslint-config-airbnb-typescript": "17.0.0",
18
+ "eslint-config-prettier": "8.5.0",
19
+ "eslint-plugin-import": "2.26.0",
20
+ "eslint-plugin-jsdoc": "39.3.0",
21
21
  "eslint-plugin-prettier": "4.0.0",
22
22
  "eslint-plugin-promise": "6.0.0",
23
- "eslint-plugin-security": "1.4.0",
24
- "husky": "7.0.4",
25
- "lint-staged": "12.2.0",
26
- "markdownlint-cli": "0.30.0",
23
+ "eslint-plugin-security": "1.5.0",
24
+ "husky": "8.0.1",
25
+ "lint-staged": "12.4.1",
26
+ "markdownlint-cli": "0.31.1",
27
27
  "npm-run-all": "4.1.5",
28
- "pinst": "2.1.6",
29
- "prettier": "2.5.1",
30
- "prettier-plugin-packagejson": "2.2.15",
31
- "typescript": "4.5.4"
28
+ "pinst": "3.0.0",
29
+ "prettier": "2.6.2",
30
+ "prettier-plugin-packagejson": "2.2.18",
31
+ "typescript": "4.6.4"
32
32
  },
33
33
  "main": "dist/index.js",
34
34
  "license": "MIT",
package/tsconfig.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "target": "es2018",
3
+ "target": "es2020",
4
4
  "lib": ["esnext"],
5
5
  "module": "commonjs",
6
6
  "moduleResolution": "node",