Skip to content

Commit

Permalink
chore(deps): Upgrade more dependencies (#539)
Browse files Browse the repository at this point in the history
  • Loading branch information
BYK authored Oct 8, 2024
1 parent ab76f8f commit bdf7997
Show file tree
Hide file tree
Showing 18 changed files with 3,723 additions and 6,638 deletions.
3 changes: 0 additions & 3 deletions demos/astro-playground/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ import svelte from '@astrojs/svelte';
// https://astro.build/config
export default defineConfig({
output: 'server',
experimental: {
devOverlay: true,
},
vite: {
build: {
sourcemap: true,
Expand Down
22 changes: 11 additions & 11 deletions demos/astro-playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@
"clean": "rimraf .astro dist"
},
"dependencies": {
"@astrojs/check": "^0.3.1",
"@astrojs/node": "^6.0.4",
"@astrojs/react": "^3.0.5",
"@astrojs/check": "^0.3.4",
"@astrojs/node": "^6.1.0",
"@astrojs/react": "^3.6.2",
"@astrojs/svelte": "^4.0.4",
"@sentry/astro": "^8.7.0",
"@sentry/astro": "^8.33.1",
"@spotlightjs/astro": "workspace:*",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"astro": "^3.5.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"svelte": "^5.0.0-next.1",
"typescript": "^5.2.2"
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.0",
"astro": "^4.15.12",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"svelte": "5.0.0-next.263",
"typescript": "^5.6.2"
},
"volta": {
"extends": "../../package.json"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
reprehenderit enim dolor officia magna. Cupidatat ex culpa eu minim qui
voluptate ex.
</p>
<button on:click={throwError}>Throw an island error</button>
<button onclick={throwError}>Throw an island error</button>

<button onclick={fetchData}>Throw a server endpoint error</button>
</div>
1 change: 1 addition & 0 deletions demos/astro-playground/src/env.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/// <reference path="../.astro/types.d.ts" />
/// <reference types="astro/client" />
32 changes: 16 additions & 16 deletions demos/sveltekit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,28 @@
"clean": "rimraf .svelte-kit"
},
"dependencies": {
"@sentry/sveltekit": "^8.16.0",
"@sentry/sveltekit": "^8.33.1",
"@spotlightjs/spotlight": "workspace:*"
},
"devDependencies": {
"@fontsource/fira-mono": "^4.5.10",
"@neoconfetti/svelte": "^1.0.0",
"@sveltejs/adapter-auto": "^2.0.0",
"@sveltejs/kit": "^1.27.4",
"@types/cookie": "^0.5.1",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.28.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-svelte": "^2.30.0",
"prettier": "^3.0.0",
"prettier-plugin-svelte": "^3.0.0",
"svelte": "^4.2.7",
"svelte-check": "^3.6.0",
"tslib": "^2.4.1",
"typescript": "^5.0.0",
"@sveltejs/adapter-auto": "^2.1.1",
"@sveltejs/kit": "^1.30.4",
"@types/cookie": "^0.5.4",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.44.1",
"prettier": "^3.3.3",
"prettier-plugin-svelte": "^3.2.7",
"svelte": "^4.2.19",
"svelte-check": "^3.8.6",
"tslib": "^2.7.0",
"typescript": "^5.6.2",
"vite": "^4.5.5",
"vitest": "^0.34.0"
"vitest": "^0.34.6"
},
"type": "module",
"volta": {
Expand Down
14 changes: 7 additions & 7 deletions e2e-tests/astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
"test:e2e:ci": "pnpm test:e2e:prepare && playwright test"
},
"dependencies": {
"@astrojs/node": "^6.0.4",
"@sentry/astro": "8.0.0-alpha.7",
"@astrojs/node": "^6.1.0",
"@sentry/astro": "^8.33.1",
"@spotlightjs/astro": "workspace:^",
"astro": "^4.0.1"
"astro": "^4.15.12"
},
"devDependencies": {
"@astrojs/check": "^0.3.1",
"@playwright/test": "^1.40.1",
"@types/node": "^18",
"typescript": "^5.3.2"
"@astrojs/check": "^0.3.4",
"@playwright/test": "^1.48.0",
"@types/node": "^18.19.55",
"typescript": "^5.6.2"
}
}
4 changes: 2 additions & 2 deletions e2e-tests/astro/tests/spotlightAstro.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { expect, test } from '@playwright/test';
import { waitForAstroToolbar } from './utils/test-utils';

const ASTRO_TOOLBAR_SPOTLIGHT_BTN = 'button[data-plugin-id="spotlight-plugin"]';
const ASTRO_TOOLBAR_SPOTLIGHT_BTN = 'button[data-app-id="spotlight-plugin"]';

test('has Astro Dev Toolbar', async ({ page }) => {
await page.goto('http://localhost:4321');
Expand All @@ -10,7 +10,7 @@ test('has Astro Dev Toolbar', async ({ page }) => {

await waitForAstroToolbar(page);

const toolbarVisible = await page.isVisible('#dev-overlay');
const toolbarVisible = await page.isVisible('#dev-bar');
expect(toolbarVisible).toBe(true);
});

Expand Down
2 changes: 1 addition & 1 deletion e2e-tests/astro/tests/utils/test-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ import type { Page } from '@playwright/test';
* Extracted in case we need to change the selector.
*/
export async function waitForAstroToolbar(page: Page) {
return page.waitForSelector('#dev-overlay');
return page.waitForSelector('#dev-bar');
}
8 changes: 4 additions & 4 deletions e2e-tests/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
"test:e2e:ci": "pnpm test:e2e:prepare && pnpm test:e2e"
},
"dependencies": {
"@sentry/nextjs": "8.0.0-alpha.7",
"@sentry/nextjs": "^8.33.1",
"next": "latest",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@playwright/test": "^1.48.0",
"@spotlightjs/spotlight": "workspace:*",
"@playwright/test": "^1.40.1",
"@types/node": "20.10.4",
"@types/react": "18.2.45",
"typescript": "5.3.3",
Expand Down
34 changes: 17 additions & 17 deletions e2e-tests/sveltekit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,25 +21,25 @@
"devDependencies": {
"@fontsource/fira-mono": "^4.5.10",
"@neoconfetti/svelte": "^1.0.0",
"@playwright/test": "^1.48.0",
"@spotlightjs/spotlight": "workspace:*",
"@sveltejs/adapter-auto": "^2.0.0",
"@sveltejs/kit": "^1.27.4",
"@types/cookie": "^0.5.1",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.28.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-svelte": "^2.30.0",
"prettier": "^3.0.0",
"prettier-plugin-svelte": "^3.0.0",
"svelte": "^4.2.7",
"svelte-check": "^3.6.0",
"tslib": "^2.4.1",
"typescript": "^5.0.0",
"vite": "^4.5.5",
"vitest": "^0.34.0",
"@sveltejs/adapter-auto": "^2.1.1",
"@sveltejs/kit": "^1.30.4",
"@types/cookie": "^0.5.4",
"@types/node": "20.10.4",
"@playwright/test": "^1.40.1"
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.44.1",
"prettier": "^3.3.3",
"prettier-plugin-svelte": "^3.2.7",
"svelte": "^4.2.19",
"svelte-check": "^3.8.6",
"tslib": "^2.7.0",
"typescript": "^5.6.2",
"vite": "^4.5.5",
"vitest": "^0.34.6"
},
"type": "module",
"volta": {
Expand Down
8 changes: 4 additions & 4 deletions packages/astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@
".": "./src/index.ts"
},
"peerDependencies": {
"astro": ">=4.0.0",
"@sentry/astro": ">=7.84.0"
"@sentry/astro": ">=7.84.0",
"astro": ">=4.0.0"
},
"dependencies": {
"@spotlightjs/spotlight": "workspace:*"
},
"devDependencies": {
"astro": "^4.0.0",
"typescript": "^5.0.2",
"astro": "^4.15.12",
"typescript": "^5.6.2",
"vite": "^4.5.5"
},
"volta": {
Expand Down
8 changes: 4 additions & 4 deletions packages/electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@
"build:mac": "pnpm --filter '@spotlightjs/electron...' build && node electron-builder.js"
},
"dependencies": {
"@sentry/electron": "^5.3.0",
"@sentry/electron": "^5.6.0",
"@spotlightjs/overlay": "workspace:*",
"@spotlightjs/sidecar": "workspace:*",
"electron-store": "^10.0.0"
},
"devDependencies": {
"@electron/notarize": "^2.3.2",
"@sentry/vite-plugin": "^2.22.1",
"@electron/notarize": "^2.5.0",
"@sentry/vite-plugin": "^2.22.5",
"dotenv": "^16.4.5",
"electron": "^31.3.1",
"electron": "^31.6.0",
"electron-builder": "^24.13.3",
"electron-vite": "^2.3.0",
"rollup-plugin-sourcemaps2": "^0.4.1"
Expand Down
48 changes: 24 additions & 24 deletions packages/overlay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,40 +28,40 @@
}
},
"devDependencies": {
"@fontsource/raleway": "^5.0.8",
"@sentry/types": "^8.0.0-alpha.7",
"@sentry/utils": "^8.0.0-alpha.7",
"@fontsource/raleway": "^5.1.0",
"@sentry/types": "^8.33.1",
"@sentry/utils": "^8.33.1",
"@spotlightjs/sidecar": "workspace:*",
"@spotlightjs/tsconfig": "workspace:*",
"@types/beautify": "^0.0.3",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"@vitejs/plugin-react": "^4.0.3",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vitejs/plugin-react": "^4.3.2",
"@vitest/coverage-v8": "^0.34.6",
"autoprefixer": "^10.4.15",
"autoprefixer": "^10.4.20",
"beautify": "^0.0.8",
"dayjs": "^1.11.9",
"eslint": "^8.45.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.3",
"dayjs": "^1.11.13",
"eslint": "^8.57.1",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.12",
"happy-dom": "^15.7.4",
"magic-string": "^0.30.5",
"platformicons": "^5.8.3",
"postcss": "^8.4.28",
"react": "^18.2.0",
"magic-string": "^0.30.11",
"platformicons": "^5.10.10",
"postcss": "^8.4.47",
"react": "^18.3.1",
"react-diff-viewer-continued": "^3.4.0",
"react-dom": "^18.2.0",
"react-dom": "^18.3.1",
"react-json-view": "^1.21.3",
"react-router-dom": "^6.18.0",
"react-router-dom": "^6.26.2",
"sql-formatter": "^12.2.4",
"tailwindcss": "^3.3.3",
"typescript": "^5.0.2",
"usehooks-ts": "^2.9.1",
"tailwindcss": "^3.4.13",
"typescript": "^5.6.2",
"usehooks-ts": "^2.16.0",
"vite": "^4.5.5",
"vite-plugin-dts": "^3.5.2",
"vite-plugin-svgr": "^3.2.0",
"vite-plugin-dts": "^3.9.1",
"vite-plugin-svgr": "^3.3.0",
"vitest": "^0.34.6"
},
"volta": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function TraceGeneralInfo({ trace }: TraceGeneralInfoProps) {
['Spans', trace.spans.length || '-'],
['Transactions', trace.transactions.length || '-'],
['Errors', trace.errors || '-'],
['Start Timestamp', <DateTime date={trace.start_timestamp} /> || '-'],
['Start Timestamp', trace.start_timestamp ? <DateTime key="Start Timestamp" date={trace.start_timestamp} /> : '-'],
['Total Duration', `${getDuration(trace.start_timestamp, trace.timestamp).toLocaleString()} ms`],
].map(([key, value]) => (
<tr key={key as string} className="text-primary-300">
Expand Down
10 changes: 5 additions & 5 deletions packages/sidecar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@
}
},
"dependencies": {
"launch-editor": "^2.8.0",
"source-map": "^0.7.4",
"kleur": "^4.1.5"
"kleur": "^4.1.5",
"launch-editor": "^2.9.1",
"source-map": "^0.7.4"
},
"devDependencies": {
"@spotlightjs/tsconfig": "workspace:*",
"@types/node": "^18",
"typescript": "^5.0.2",
"@types/node": "^18.19.55",
"typescript": "^5.6.2",
"vite": "^4.5.5"
},
"volta": {
Expand Down
4 changes: 2 additions & 2 deletions packages/spotlight/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
},
"devDependencies": {
"@spotlightjs/tsconfig": "workspace:*",
"@types/node": "^18",
"typescript": "^5.0.2",
"@types/node": "^18.19.55",
"typescript": "^5.6.2",
"vite": "^4.5.5"
},
"volta": {
Expand Down
28 changes: 14 additions & 14 deletions packages/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,25 @@
"clean": "rimraf .astro .vercel .vite-inspect"
},
"dependencies": {
"@astrojs/react": "^3.0.7",
"@astrojs/starlight": "^0.13.0",
"@astrojs/starlight-tailwind": "^2.0.1",
"@astrojs/tailwind": "^5.0.3",
"@astrojs/react": "^3.6.2",
"@astrojs/starlight": "^0.13.1",
"@astrojs/starlight-tailwind": "^2.0.3",
"@astrojs/tailwind": "^5.1.1",
"@astrojs/vercel": "^5.2.0",
"@fontsource/raleway": "^5.0.15",
"@sentry/astro": "^8.9.2",
"@fontsource/raleway": "^5.1.0",
"@sentry/astro": "^8.33.1",
"@spotlightjs/astro": "workspace:*",
"@types/react": "^18.2.38",
"@types/react-dom": "^18.2.17",
"astro": "^4.0.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.0",
"astro": "^4.15.12",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"sharp": "^0.32.6",
"tailwindcss": "^3.3.5"
"tailwindcss": "^3.4.13"
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.10",
"typescript": "^5.3.2",
"@tailwindcss/typography": "^0.5.15",
"typescript": "^5.6.2",
"vite-plugin-inspect": "^0.7.42"
},
"volta": {
Expand Down
Loading

0 comments on commit bdf7997

Please sign in to comment.