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 +1 -6
- package/CHANGELOG.md +8 -0
- package/package.json +19 -18
- package/src/types/ServerlessInstance.ts +2 -2
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
|
|
10
|
-
git add dist/
|
|
5
|
+
npm run check:types
|
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,46 +1,47 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "serverless-kms-alias",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.5",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">= 18"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@aws-sdk/client-kms": "^3.
|
|
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.
|
|
13
|
-
"@typescript-eslint/eslint-plugin": "
|
|
14
|
-
"@typescript-eslint/parser": "
|
|
15
|
-
"eslint": "8.
|
|
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
|
+
"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.
|
|
21
|
-
"eslint-plugin-prettier": "5.1.
|
|
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.
|
|
24
|
-
"husky": "
|
|
25
|
-
"lint-staged": "15.2.
|
|
26
|
-
"markdownlint-cli": "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.
|
|
30
|
-
"prettier-plugin-packagejson": "2.4.
|
|
31
|
-
"typescript": "5.
|
|
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
|
-
"
|
|
43
|
-
"
|
|
43
|
+
"postpublish": "pinst --enable",
|
|
44
|
+
"prepare": "husky"
|
|
44
45
|
},
|
|
45
46
|
"lint-staged": {
|
|
46
47
|
"*.md": [
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type {
|
|
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():
|
|
8
|
+
getCredentials(): HttpAuthSchemeInputConfig['credentials'];
|
|
9
9
|
getRegion(): string;
|
|
10
10
|
};
|
|
11
11
|
};
|