Skip to content

Commit 31bed60

Browse files
authored
Refresh workspace and GitHub Actions dependencies (#170)
* Refresh workspace dependencies * Harden dependency refresh and compatibility * Refresh GitHub Actions * Refresh workspace dependency patches * Harden dependency refresh and CI supply chain * Refresh September dependencies and clear security advisories * Make dependency refresh safe to rerun and clear new advisory * Keep dependency refresh surgical and verify sample logger * Delete example/browser/test/text-area-logger.test.js * Remove unused sample test project and redundant overrides
1 parent 6170055 commit 31bed60

22 files changed

Lines changed: 7485 additions & 9039 deletions

File tree

‎.github/workflows/build.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
name: Node ${{ matrix.node_version }} on ${{ matrix.os }}
2121
steps:
2222
- name: Checkout
23-
uses: actions/checkout@v6
23+
uses: actions/checkout@v7
2424
with:
2525
fetch-depth: 0
2626
- name: Build Reason
@@ -39,17 +39,17 @@ jobs:
3939
echo "GIT_BRANCH_SUFFIX=$branch" >> $GITHUB_ENV
4040
echo "ref: $GITHUB_REF event: $GITHUB_EVENT_NAME branch_suffix: $branch"
4141
- name: Setup Node.js environment
42-
uses: actions/setup-node@v6
42+
uses: actions/setup-node@v7
4343
with:
4444
node-version: ${{ matrix.node_version }}
4545
registry-url: "https://registry.npmjs.org"
4646
- name: Cache node_modules
47-
uses: actions/cache@v5
47+
uses: actions/cache@v6
4848
with:
4949
path: node_modules
5050
key: ${{ matrix.node_version }}-${{ runner.os }}-node-modules-${{ hashFiles('package-lock.json') }}
5151
- name: Setup .NET SDK for MinVer
52-
uses: actions/setup-dotnet@v5
52+
uses: actions/setup-dotnet@v6
5353
with:
5454
dotnet-version: "10.0.x"
5555
- name: Build Version
@@ -86,7 +86,7 @@ jobs:
8686
run: npm publish --workspaces --access public
8787
- name: Setup GitHub CI Node.js environment
8888
if: github.event_name != 'pull_request' && startsWith(github.ref, 'refs/heads/') && matrix.os == 'ubuntu-latest' && contains(steps.version.outputs.version, '-')
89-
uses: actions/setup-node@v6
89+
uses: actions/setup-node@v7
9090
with:
9191
node-version: ${{ matrix.node_version }}
9292
registry-url: "https://npm.pkg.github.com"

‎.npmrc‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
legacy-peer-deps=true
22
min-release-age=7
3+
min-release-age-exclude[]=source-map-js

‎example/browser/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"access": "restricted"
1818
},
1919
"devDependencies": {
20-
"vite": "^8.0.16"
20+
"vite": "^8.3.1"
2121
},
2222
"dependencies": {
2323
"@exceptionless/browser": "3.0.0-dev",

‎example/browser/text-area-logger.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ export class TextAreaLogger {
66

77
this.logger = logger;
88
this.messageBuffer = [];
9-
if (document.readyState === "complete") {
9+
if (document.readyState !== "loading") {
1010
this.element = document.getElementById(elementId);
1111
} else {
1212
document.addEventListener("DOMContentLoaded", () => {
1313
this.element = document.getElementById(elementId);
14-
this.element.innerHTML = this.messageBuffer.join("\n") + this.element.innerHTML;
14+
this.element.value = this.messageBuffer.join("\n") + this.element.value;
1515
this.messageBuffer = [];
1616
});
1717
}
@@ -37,7 +37,7 @@ export class TextAreaLogger {
3737
log(level, message) {
3838
const formattedMessage = `${new Date().toISOString()} [${level}] ${message}`;
3939
if (this.element) {
40-
this.element.innerHTML += `\n${formattedMessage}`;
40+
this.element.value += `\n${formattedMessage}`;
4141
} else {
4242
this.messageBuffer.push(formattedMessage);
4343
}

‎example/expo/App.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ function TopDiagnostics() {
6363
<View style={styles.diagnostics}>
6464
<View style={styles.diagnosticsTitleRow}>
6565
<Text style={styles.diagnosticsTitle}>Exceptionless Expo</Text>
66-
<Text style={styles.diagnosticsPill}>SDK 56</Text>
66+
<Text style={styles.diagnosticsPill}>SDK 57</Text>
6767
</View>
6868
<Text style={styles.diagnosticsServer} numberOfLines={1}>
6969
{serverUrl}

‎example/expo/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This example exercises `@exceptionless/react-native` from an Expo app. It covers
44

55
Native iOS crash reporting uses the package's custom native module, so it requires an Expo development build or a standalone app. Expo Go can run JavaScript reporting paths only; it cannot load the native crash reporter.
66

7-
This app tracks Expo SDK 56.
7+
This app tracks Expo SDK 57.
88

99
## Prerequisites
1010

‎example/expo/app.json‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@
77
"icon": "./assets/icon.png",
88
"scheme": "exceptionless-expo",
99
"userInterfaceStyle": "light",
10-
"splash": {
11-
"image": "./assets/splash.png",
12-
"resizeMode": "contain",
13-
"backgroundColor": "#ffffff"
14-
},
1510
"ios": {
1611
"supportsTablet": true,
1712
"bundleIdentifier": "com.exceptionless.expo.example",

‎example/expo/package.json‎

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,25 @@
1414
},
1515
"dependencies": {
1616
"@exceptionless/react-native": "3.0.0-dev",
17-
"@expo/metro-runtime": "~56.0.15",
17+
"@expo/metro-runtime": "~57.0.16",
1818
"@react-native-async-storage/async-storage": "2.2.0",
19-
"expo": "~56.0.11",
20-
"expo-application": "~56.0.3",
21-
"expo-constants": "~56.0.16",
22-
"expo-dev-client": "~56.0.20",
23-
"expo-device": "~56.0.4",
24-
"expo-splash-screen": "~56.0.10",
25-
"expo-status-bar": "~56.0.4",
19+
"expo": "~57.0.25",
20+
"expo-application": "~57.0.3",
21+
"expo-constants": "~57.0.19",
22+
"expo-dev-client": "~57.0.19",
23+
"expo-device": "~57.0.2",
24+
"expo-splash-screen": "~57.0.9",
25+
"expo-status-bar": "~57.0.1",
2626
"react": "19.2.3",
2727
"react-dom": "19.2.3",
28-
"react-native": "0.85.3",
28+
"react-native": "0.86.3",
2929
"react-native-safe-area-context": "~5.7.0",
30-
"react-native-screens": "4.25.2",
31-
"react-native-web": "^0.21.0"
30+
"react-native-screens": "~4.26.2",
31+
"react-native-web": "^0.21.3"
3232
},
3333
"devDependencies": {
34-
"@babel/core": "^7.29.7",
35-
"@react-native/js-polyfills": "^0.79.6",
36-
"@types/react": "~19.2.10",
34+
"@react-native/js-polyfills": "^0.86.3",
35+
"@types/react": "~19.2.18",
3736
"typescript": "~6.0.3"
3837
},
3938
"publishConfig": {

‎example/nextjs/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"dependencies": {
1111
"@exceptionless/browser": "3.0.0-dev",
1212
"@exceptionless/node": "3.0.0-dev",
13-
"next": "^16.2.7",
13+
"next": "^16.3.6",
1414
"react": "19.2.3",
1515
"react-dom": "19.2.3"
1616
},

‎example/react/package.json‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@
2525
]
2626
},
2727
"devDependencies": {
28-
"@testing-library/react": "^16.3.2",
29-
"@testing-library/user-event": "^14.6.1",
30-
"@vitejs/plugin-react": "^6.0.2",
31-
"vite": "^8.0.16"
28+
"@testing-library/dom": "^10.4.2",
29+
"@testing-library/react": "^16.3.3",
30+
"@testing-library/user-event": "^14.6.7",
31+
"@vitejs/plugin-react": "^6.1.1",
32+
"vite": "^8.3.1"
3233
},
3334
"dependencies": {
3435
"@exceptionless/react": "3.0.0-dev",

0 commit comments

Comments
 (0)