@honeybadger-io/nextjs 5.10.13 → 5.10.14
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@honeybadger-io/nextjs",
|
|
3
|
-
"version": "5.10.
|
|
3
|
+
"version": "5.10.14",
|
|
4
4
|
"description": "Next.js integration for Honeybadger",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"nextjs",
|
|
@@ -42,16 +42,18 @@
|
|
|
42
42
|
"next": ">= 13.x"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@honeybadger-io/js": "^6.15.
|
|
46
|
-
"@honeybadger-io/webpack": "^6.3.
|
|
45
|
+
"@honeybadger-io/js": "^6.15.3",
|
|
46
|
+
"@honeybadger-io/webpack": "^6.3.4"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@honeybadger-io/react": "^6.1.
|
|
49
|
+
"@honeybadger-io/react": "^6.1.29",
|
|
50
50
|
"@rollup/plugin-commonjs": "^22.0.0",
|
|
51
51
|
"@types/jest": "^29.5.3",
|
|
52
52
|
"jest": "^29.6.1",
|
|
53
53
|
"mock-fs": "^5.2.0",
|
|
54
54
|
"next": "^13.2.3",
|
|
55
|
+
"react": "^18.2.0",
|
|
56
|
+
"react-dom": "^18.2.0",
|
|
55
57
|
"rollup": "^2.70.2",
|
|
56
58
|
"rollup-plugin-copy": "^3.4.0",
|
|
57
59
|
"ts-jest": "^29.1.1",
|
|
@@ -63,5 +65,5 @@
|
|
|
63
65
|
"publishConfig": {
|
|
64
66
|
"access": "public"
|
|
65
67
|
},
|
|
66
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "1aed5993c01a5cd73ea5ac57cd18c813b9c0fa86"
|
|
67
69
|
}
|
|
@@ -4,7 +4,16 @@ import path from 'path'
|
|
|
4
4
|
import { copyConfigFiles } from './copy-config-files';
|
|
5
5
|
describe('copy-config-files', () => {
|
|
6
6
|
|
|
7
|
+
// mock-fs replaces the real filesystem; Jest's BufferedConsole lazily reads
|
|
8
|
+
// jest-util from disk when logging. Under pnpm that path lives deep in
|
|
9
|
+
// node_modules/.pnpm and isn't present in the mock, so console.log throws.
|
|
10
|
+
// The production log isn't under test — stub it while the fs is mocked.
|
|
11
|
+
beforeEach(() => {
|
|
12
|
+
jest.spyOn(console, 'log').mockImplementation(() => undefined)
|
|
13
|
+
})
|
|
14
|
+
|
|
7
15
|
afterEach(() => {
|
|
16
|
+
jest.restoreAllMocks()
|
|
8
17
|
mock.restore()
|
|
9
18
|
})
|
|
10
19
|
|