Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ignore-scripts=true
3,690 changes: 1,368 additions & 2,322 deletions package-lock.json

Large diffs are not rendered by default.

44 changes: 22 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,43 +14,43 @@
"coverage": "vitest run --coverage"
},
"dependencies": {
"@tailwindcss/typography": "^0.5.20",
"clsx": "^2.1.1",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"source-map": "github:rmuratov/source-map",
"stacktrace-parser": "^0.1.11"
"daisyui": "^4.12.24",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"source-map": "^0.7.6",
"stacktrace-parser": "^0.1.11",
"tailwindcss": "^3.4.19"
},
"devDependencies": {
"@eslint/js": "^9.19.0",
"@tailwindcss/typography": "^0.5.19",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/node": "^24.12.0",
"@types/react": "^19.2.14",
"@types/node": "^24.13.2",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.2.0",
"@vitest/browser": "^3.0.4",
"@vitest/coverage-v8": "^3.2.4",
"autoprefixer": "^10.4.27",
"@vitejs/plugin-react": "^6.0.2",
"@vitest/browser": "^4.1.8",
"@vitest/coverage-v8": "^4.1.8",
"autoprefixer": "^10.5.0",
"blob-polyfill": "^9.0.20240710",
"daisyui": "^4.12.24",
"eslint": "^9.39.4",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-perfectionist": "^5.7.0",
"eslint-plugin-perfectionist": "^5.9.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.2",
"eslint-plugin-testing-library": "^7.16.1",
"jsdom": "^27.4.0",
"postcss": "^8.5.8",
"prettier": "^3.8.1",
"tailwindcss": "^3.4.19",
"eslint-plugin-testing-library": "^7.16.2",
"jsdom": "^29.1.1",
"postcss": "^8.5.15",
"prettier": "^3.8.4",
"typescript": "^5.9.3",
"typescript-eslint": "^8.57.1",
"vite": "^7.3.1",
"typescript-eslint": "^8.61.0",
"vite": "^8.0.16",
"vite-plugin-sitemap": "^0.8.2",
"vitest": "^3.0.4"
"vitest": "^4.1.8"
}
}
2 changes: 1 addition & 1 deletion src/__tests__/app.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ describe('source maps', () => {
} as unknown as ChangeEvent<HTMLInputElement>

// Trigger the change event directly
fireEvent.change(sourceMapFileInput, mockEvent as Parameters<typeof fireEvent.change>[1])
fireEvent.change(sourceMapFileInput, mockEvent)

// Should not crash and no source maps should be added
const sourcemapList = screen.queryByRole('list', { name: /sourcemaps list/i })
Expand Down
1 change: 0 additions & 1 deletion src/__tests__/setup.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import '@testing-library/jest-dom'
import 'blob-polyfill' // we need this to be able to call the `file.text()`.
import { vi } from 'vitest'

mockPrefersColorScheme(false)
Expand Down
5 changes: 2 additions & 3 deletions src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@ import { SourceMapConsumer } from 'source-map'
import App from './app.tsx'
import './index.css'

// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-expect-error
// @ts-expect-error -- initialize is typed on the instance interface, not the constructor, in source-map@0.7.x types
SourceMapConsumer.initialize({
'lib/mappings.wasm': 'https://unpkg.com/source-map@0.7.3/lib/mappings.wasm',
'lib/mappings.wasm': 'https://unpkg.com/source-map@0.7.6/lib/mappings.wasm',
})

const container = document.getElementById('root')
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,

"types": ["vitest/globals"],
"types": ["vitest/globals", "node"],

"verbatimModuleSyntax": true
},
Expand Down
Loading