gatsby-plugin-rudderstack 4.0.2 → 4.0.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/package.json +34 -25
package/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [4.0.3](https://github.com/rudderlabs/gatsby-plugin-rudderstack/compare/v4.0.2...v4.0.3) (2025-04-14)
6
+
5
7
  ### [4.0.2](https://github.com/rudderlabs/gatsby-plugin-rudderstack/compare/v4.0.1...v4.0.2) (2024-10-09)
6
8
 
7
9
 
package/package.json CHANGED
@@ -1,19 +1,20 @@
1
1
  {
2
2
  "name": "gatsby-plugin-rudderstack",
3
- "version": "4.0.2",
3
+ "version": "4.0.3",
4
4
  "description": "Event tracking with RudderStack in your Gatsby frontend.",
5
5
  "main": "gatsby-ssr.js",
6
6
  "scripts": {
7
+ "setup": "npm install",
7
8
  "build": "babel src --out-dir ./dist --ignore __tests__ && npm run copy:files",
8
9
  "watch": "babel -w src --out-dir ./dist --ignore __tests__",
9
- "clean": "rm -rf dist",
10
- "check:lint": "eslint \"src/**/*.js\"",
11
- "check:lint:ci": "eslint \"src/**/*.js\" -f json -o reports/eslint.json || exit 0",
10
+ "clean": "rm -rf dist && git clean -xdf node_modules",
11
+ "check:lint": "eslint \"src/**/*.js\" --config eslint.config.mjs",
12
+ "check:lint:ci": "eslint \"src/**/*.js\" --config eslint.config.mjs -f json -o reports/eslint.json || exit 0",
12
13
  "check:circular": "madge --circular --extensions js ./src || exit 0",
13
14
  "check:duplicates": "jscpd src --threshold 5",
14
- "check:security": "npm audit --recursive --audit-level=high",
15
+ "check:security": "npm audit --recursive --audit-level=high --omit=dev",
15
16
  "format": "prettier --write .",
16
- "lint:fix": "eslint . --fix",
17
+ "lint:fix": "eslint . --config eslint.config.mjs --fix",
17
18
  "prepare": "husky",
18
19
  "pre-commit": "npm run test && npx lint-staged",
19
20
  "commit-msg": "commitlint --edit",
@@ -40,36 +41,37 @@
40
41
  },
41
42
  "homepage": "https://github.com/rudderlabs/gatsby-plugin-rudderstack#readme",
42
43
  "devDependencies": {
43
- "@babel/cli": "7.25.7",
44
- "@babel/core": "7.25.7",
45
- "@babel/eslint-parser": "7.25.7",
44
+ "@babel/cli": "7.27.0",
45
+ "@babel/core": "7.26.10",
46
+ "@babel/eslint-parser": "7.27.0",
46
47
  "@babel/plugin-proposal-object-rest-spread": "7.20.7",
47
- "@babel/preset-env": "7.25.7",
48
- "@babel/preset-react": "7.25.7",
49
- "@commitlint/config-conventional": "19.5.0",
48
+ "@babel/preset-env": "7.26.9",
49
+ "@babel/preset-react": "7.26.3",
50
+ "@commitlint/config-conventional": "19.8.0",
50
51
  "@digitalroute/cz-conventional-changelog-for-jira": "8.0.1",
52
+ "@eslint/js": "9.24.0",
53
+ "@typescript-eslint/eslint-plugin": "8.29.1",
54
+ "@typescript-eslint/parser": "8.29.1",
51
55
  "commitizen": "4.3.1",
52
- "commitlint": "19.5.0",
56
+ "commitlint": "19.8.0",
53
57
  "conventional-changelog-cli": "5.0.0",
54
58
  "conventional-github-releaser": "3.1.5",
55
- "eslint": "8.57.0",
56
- "eslint-config-airbnb": "19.0.4",
57
- "eslint-config-airbnb-base": "15.0.0",
58
- "eslint-config-prettier": "9.1.0",
59
- "eslint-plugin-compat": "6.0.1",
59
+ "eslint": "9.24.0",
60
+ "eslint-config-prettier": "10.1.2",
61
+ "eslint-plugin-compat": "6.0.2",
60
62
  "eslint-plugin-import": "2.31.0",
61
- "eslint-plugin-sonarjs": "2.0.3",
62
- "eslint-plugin-unicorn": "56.0.0",
63
+ "eslint-plugin-sonarjs": "3.0.2",
64
+ "eslint-plugin-unicorn": "58.0.0",
63
65
  "git-cz": "4.9.0",
64
- "husky": "9.1.6",
66
+ "husky": "9.1.7",
65
67
  "jscpd": "4.0.5",
66
- "lint-staged": "15.2.10",
68
+ "lint-staged": "15.5.1",
67
69
  "madge": "8.0.0",
68
- "prettier": "3.3.3",
70
+ "prettier": "3.5.3",
69
71
  "standard-version": "9.5.0"
70
72
  },
71
73
  "lint-staged": {
72
- "*.js": "eslint --cache --fix",
74
+ "*.js": "eslint --config eslint.config.mjs --cache --fix",
73
75
  "*.{json,js,md,ts}": "prettier --write"
74
76
  },
75
77
  "config": {
@@ -92,7 +94,14 @@
92
94
  },
93
95
  "resolutions": {
94
96
  "dot-prop": "5.3.0",
97
+ "http-cache-semantics": "4.1.1",
95
98
  "semver-regex": "3.1.4",
96
- "trim-newlines": "3.0.1"
99
+ "trim-newlines": "3.0.1",
100
+ "cross-spawn": "7.0.6",
101
+ "nanoid": "3.3.8",
102
+ "@babel/runtime": "7.26.10",
103
+ "conventional-github-releaser": {
104
+ "conventional-changelog-core": "4.2.2"
105
+ }
97
106
  }
98
107
  }