@gasket/plugin-elastic-apm 6.0.12 → 6.15.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # `@gasket/plugin-elastic-apm`
2
2
 
3
+ ### 6.10.0
4
+
5
+ - TypeScript definitions for config & lifecycles ([#311])
6
+
3
7
  ### 6.0.12
4
8
 
5
9
  - Initial release.
10
+
11
+
12
+ [#311]:https://github.com/godaddy/gasket/pull/311
package/lib/index.d.ts ADDED
@@ -0,0 +1,9 @@
1
+ import type { AgentConfigOptions } from 'elastic-apm-node';
2
+
3
+ declare module '@gasket/engine' {
4
+ export interface GasketConfig {
5
+ elasticAPM?: AgentConfigOptions & {
6
+ sensitiveCookies?: Array<string>
7
+ },
8
+ }
9
+ }
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@gasket/plugin-elastic-apm",
3
- "version": "6.0.12",
3
+ "version": "6.15.2",
4
4
  "description": "Adds Elastic APM instrumentation to your application",
5
5
  "main": "index.js",
6
+ "types": "lib/index.d.ts",
6
7
  "scripts": {
7
8
  "lint": "eslint index.js test",
8
9
  "lint:fix": "npm run lint -- --fix",
@@ -34,21 +35,35 @@
34
35
  "bugs": {
35
36
  "url": "https://github.com/godaddy/gasket/issues"
36
37
  },
37
- "homepage": "https://github.com/godaddy/gasket/tree/master/packages/gasket-plugin-elastic-apm",
38
+ "homepage": "https://github.com/godaddy/gasket/tree/main/packages/gasket-plugin-elastic-apm",
38
39
  "dependencies": {
39
- "elastic-apm-node": "3.12.1"
40
+ "elastic-apm-node": "^3.26.0"
40
41
  },
41
42
  "devDependencies": {
42
- "eslint": "^7.17.0",
43
- "eslint-config-godaddy": "^4.0.1",
44
- "eslint-plugin-jest": "^24.1.3",
45
- "eslint-plugin-json": "^2.1.2",
46
- "eslint-plugin-mocha": "^8.0.0",
47
- "jest": "^26.6.3",
43
+ "@gasket/engine": "^6.15.2",
44
+ "eslint": "^8.7.0",
45
+ "eslint-config-godaddy": "^6.0.0",
46
+ "eslint-plugin-jest": "^25.7.0",
47
+ "eslint-plugin-json": "^3.1.0",
48
+ "eslint-plugin-mocha": "^10.0.3",
49
+ "eslint-plugin-unicorn": "^40.1.0",
50
+ "jest": "^27.4.3",
48
51
  "nyc": "^15.1.0"
49
52
  },
53
+ "eslintConfig": {
54
+ "extends": [
55
+ "godaddy",
56
+ "plugin:jest/recommended"
57
+ ],
58
+ "plugins": [
59
+ "unicorn"
60
+ ],
61
+ "rules": {
62
+ "unicorn/filename-case": "error"
63
+ }
64
+ },
50
65
  "jest": {
51
66
  "testEnvironment": "node"
52
67
  },
53
- "gitHead": "ae1e28cf31d8e15de7e0c4fe92dbdf577efcfbd3"
68
+ "gitHead": "6b4a3ad6b1f2e3a4b9085fb6b1090d7a9add1b38"
54
69
  }