serverless-kms-alias 4.0.3 → 4.0.5

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
@@ -1,10 +1,5 @@
1
- #!/bin/sh
2
- # shellcheck disable=SC1090,SC1091
3
- . "$(dirname "$0")/_/husky.sh"
4
-
5
1
  PATH=$PATH:/usr/local/bin:/opt/homebrew/bin
6
2
 
7
3
  echo 'NOTE: If node or npm is not found, you may need to run brew link for your specific node version'
8
4
  npm run lint-staged
9
- npm run build
10
- git add dist/
5
+ npm run check:types
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Change Log
2
2
 
3
+ ## 4.0.5 - 2024-03-11
4
+
5
+ - Update npms
6
+
7
+ ## 4.0.4 - 2024-02-07
8
+
9
+ - Update npms
10
+
3
11
  ## 4.0.3 - 2024-01-05
4
12
 
5
13
  - Update npms
package/package.json CHANGED
@@ -1,46 +1,47 @@
1
1
  {
2
2
  "name": "serverless-kms-alias",
3
- "version": "4.0.3",
3
+ "version": "4.0.5",
4
4
  "engines": {
5
5
  "node": ">= 18"
6
6
  },
7
7
  "dependencies": {
8
- "@aws-sdk/client-kms": "^3.487.0"
8
+ "@aws-sdk/client-kms": "^3.529.1"
9
9
  },
10
10
  "devDependencies": {
11
11
  "@types/lodash": "4.14.202",
12
- "@types/serverless": "3.12.20",
13
- "@typescript-eslint/eslint-plugin": "6.17.0",
14
- "@typescript-eslint/parser": "6.17.0",
15
- "eslint": "8.56.0",
12
+ "@types/serverless": "3.12.22",
13
+ "@typescript-eslint/eslint-plugin": "7.2.0",
14
+ "@typescript-eslint/parser": "7.2.0",
15
+ "eslint": "8.57.0",
16
16
  "eslint-config-airbnb-base": "15.0.0",
17
- "eslint-config-airbnb-typescript": "17.1.0",
17
+ "eslint-config-airbnb-typescript": "18.0.0",
18
18
  "eslint-config-prettier": "9.1.0",
19
19
  "eslint-plugin-import": "2.29.1",
20
- "eslint-plugin-jsdoc": "48.0.2",
21
- "eslint-plugin-prettier": "5.1.2",
20
+ "eslint-plugin-jsdoc": "48.2.1",
21
+ "eslint-plugin-prettier": "5.1.3",
22
22
  "eslint-plugin-promise": "6.1.1",
23
- "eslint-plugin-security": "2.1.0",
24
- "husky": "8.0.3",
25
- "lint-staged": "15.2.0",
26
- "markdownlint-cli": "0.38.0",
23
+ "eslint-plugin-security": "2.1.1",
24
+ "husky": "9.0.11",
25
+ "lint-staged": "15.2.2",
26
+ "markdownlint-cli": "0.39.0",
27
27
  "npm-run-all": "4.1.5",
28
28
  "pinst": "3.0.0",
29
- "prettier": "3.1.1",
30
- "prettier-plugin-packagejson": "2.4.9",
31
- "typescript": "5.3.3"
29
+ "prettier": "3.2.5",
30
+ "prettier-plugin-packagejson": "2.4.12",
31
+ "typescript": "5.4.2"
32
32
  },
33
33
  "main": "dist/index.js",
34
34
  "license": "MIT",
35
35
  "scripts": {
36
36
  "build": "tsc",
37
+ "check:types": "tsc --noEmit",
37
38
  "lint:markdown": "prettier --write '*.md' '!(node_modules|dist)/**/*.md' && markdownlint '*.md' '!(node_modules|dist)/**/*.md' --config=.github/linters/.markdown-lint.yml --fix",
38
39
  "lint:code": "prettier --write *.json .eslintrc.js .prettierrc.js && eslint --fix --ext .ts src",
39
40
  "lint": "run-p lint:*",
40
41
  "lint-staged": "lint-staged",
41
42
  "prepublishOnly": "rm -rf dist && npm run build && npm run lint && pinst --disable",
42
- "_postinstall": "husky install",
43
- "postpublish": "pinst --enable"
43
+ "postpublish": "pinst --enable",
44
+ "prepare": "husky"
44
45
  },
45
46
  "lint-staged": {
46
47
  "*.md": [
@@ -1,11 +1,11 @@
1
- import type { AwsAuthInputConfig } from '@aws-sdk/middleware-signing/dist-types';
1
+ import type { HttpAuthSchemeInputConfig } from '@aws-sdk/client-kms/dist-types/auth/httpAuthSchemeProvider';
2
2
 
3
3
  import type { KmsAliasSettings } from './KmsAliasSettings';
4
4
 
5
5
  export interface ServerlessInstance {
6
6
  providers: {
7
7
  aws: {
8
- getCredentials(): AwsAuthInputConfig['credentials'];
8
+ getCredentials(): HttpAuthSchemeInputConfig['credentials'];
9
9
  getRegion(): string;
10
10
  };
11
11
  };