serverless-kms-alias 4.0.3 → 4.0.4

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.
Files changed (2) hide show
  1. package/.husky/pre-commit +1 -6
  2. package/package.json +15 -14
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/package.json CHANGED
@@ -1,46 +1,47 @@
1
1
  {
2
2
  "name": "serverless-kms-alias",
3
- "version": "4.0.3",
3
+ "version": "4.0.4",
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.509.0"
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",
12
+ "@types/serverless": "3.12.22",
13
+ "@typescript-eslint/eslint-plugin": "6.21.0",
14
+ "@typescript-eslint/parser": "6.21.0",
15
15
  "eslint": "8.56.0",
16
16
  "eslint-config-airbnb-base": "15.0.0",
17
17
  "eslint-config-airbnb-typescript": "17.1.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.0.6",
21
+ "eslint-plugin-prettier": "5.1.3",
22
22
  "eslint-plugin-promise": "6.1.1",
23
23
  "eslint-plugin-security": "2.1.0",
24
- "husky": "8.0.3",
25
- "lint-staged": "15.2.0",
26
- "markdownlint-cli": "0.38.0",
24
+ "husky": "9.0.10",
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",
29
+ "prettier": "3.2.5",
30
+ "prettier-plugin-packagejson": "2.4.10",
31
31
  "typescript": "5.3.3"
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": [