@elastic/synthetics 1.24.1 → 1.24.3

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.
@@ -0,0 +1,7 @@
1
+ // Skip if husky is not installed (CI, production, embedded installs with --omit=dev)
2
+ try {
3
+ const husky = await import('husky');
4
+ husky.default();
5
+ } catch (e) {
6
+ if (e.code !== 'ERR_MODULE_NOT_FOUND') throw e;
7
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elastic/synthetics",
3
- "version": "1.24.1",
3
+ "version": "1.24.3",
4
4
  "description": "Elastic synthetic monitoring agent",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -19,7 +19,7 @@
19
19
  "test:unit": "jest",
20
20
  "test:browser-service": "WSENDPOINT=ws://localhost:9322 npm run test:unit",
21
21
  "coverage": "jest --coverage",
22
- "prepare": "node .husky/install.mjs"
22
+ "prepare": "node .husky/install.mjs || true"
23
23
  },
24
24
  "bin": {
25
25
  "@elastic/synthetics": "dist/cli.js",
@@ -28,7 +28,8 @@
28
28
  "files": [
29
29
  "dist",
30
30
  "src",
31
- "templates"
31
+ "templates",
32
+ ".husky/install.mjs"
32
33
  ],
33
34
  "lint-staged": {
34
35
  "*.{js,ts}": [
@@ -97,11 +98,11 @@
97
98
  "typescript": "^5.1.6"
98
99
  },
99
100
  "overrides": {
100
- "follow-redirects": "^1.15.6",
101
+ "follow-redirects": "^1.16.0",
101
102
  "cross-spawn": "^7.0.5",
102
103
  "brace-expansion@1": "^1.1.13",
103
104
  "brace-expansion@2": "^2.0.3",
104
- "brace-expansion@5": "^5.0.5",
105
+ "brace-expansion@5": "^5.0.6",
105
106
  "archiver": {
106
107
  "archiver-utils": {
107
108
  "lodash": "^4.18.0"