diff --git a/playgrounds/next-playground/package.json b/playgrounds/next-playground/package.json index 5c10e6baf..5fa95da64 100644 --- a/playgrounds/next-playground/package.json +++ b/playgrounds/next-playground/package.json @@ -16,7 +16,7 @@ "@segment/analytics-next": "workspace:^", "faker": "^5.1.0", "lodash": "^4.17.21", - "next": "^12.1.0", + "next": "^14.2.26", "prismjs": "^1.27.0", "rc-table": "^7.10.0", "react": "^17.0.2", diff --git a/yarn.lock b/yarn.lock index 6e43c7735..0a03cfbf9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3926,10 +3926,10 @@ __metadata: languageName: node linkType: hard -"@next/env@npm:12.3.4": - version: 12.3.4 - resolution: "@next/env@npm:12.3.4" - checksum: daa3fc11efd1344c503eab41311a0e503ba7fd08607eeb3dc571036a6211eb37959cc4ed48b71dcc411cc214e7623ffd02411080aad3e09dc6a1192d5b256e60 +"@next/env@npm:14.2.28": + version: 14.2.28 + resolution: "@next/env@npm:14.2.28" + checksum: 42f8c349b1eb0af0ad4ce689a63399c2297becb23084bf757cea8e078488e34c5501accfb51abd0218f884141fc8da977b25fe679a559f05d89a12f6ec390765 languageName: node linkType: hard @@ -3942,93 +3942,65 @@ __metadata: languageName: node linkType: hard -"@next/swc-android-arm-eabi@npm:12.3.4": - version: 12.3.4 - resolution: "@next/swc-android-arm-eabi@npm:12.3.4" - conditions: os=android & cpu=arm - languageName: node - linkType: hard - -"@next/swc-android-arm64@npm:12.3.4": - version: 12.3.4 - resolution: "@next/swc-android-arm64@npm:12.3.4" - conditions: os=android & cpu=arm64 - languageName: node - linkType: hard - -"@next/swc-darwin-arm64@npm:12.3.4": - version: 12.3.4 - resolution: "@next/swc-darwin-arm64@npm:12.3.4" +"@next/swc-darwin-arm64@npm:14.2.28": + version: 14.2.28 + resolution: "@next/swc-darwin-arm64@npm:14.2.28" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@next/swc-darwin-x64@npm:12.3.4": - version: 12.3.4 - resolution: "@next/swc-darwin-x64@npm:12.3.4" +"@next/swc-darwin-x64@npm:14.2.28": + version: 14.2.28 + resolution: "@next/swc-darwin-x64@npm:14.2.28" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@next/swc-freebsd-x64@npm:12.3.4": - version: 12.3.4 - resolution: "@next/swc-freebsd-x64@npm:12.3.4" - conditions: os=freebsd & cpu=x64 - languageName: node - linkType: hard - -"@next/swc-linux-arm-gnueabihf@npm:12.3.4": - version: 12.3.4 - resolution: "@next/swc-linux-arm-gnueabihf@npm:12.3.4" - conditions: os=linux & cpu=arm - languageName: node - linkType: hard - -"@next/swc-linux-arm64-gnu@npm:12.3.4": - version: 12.3.4 - resolution: "@next/swc-linux-arm64-gnu@npm:12.3.4" +"@next/swc-linux-arm64-gnu@npm:14.2.28": + version: 14.2.28 + resolution: "@next/swc-linux-arm64-gnu@npm:14.2.28" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@next/swc-linux-arm64-musl@npm:12.3.4": - version: 12.3.4 - resolution: "@next/swc-linux-arm64-musl@npm:12.3.4" +"@next/swc-linux-arm64-musl@npm:14.2.28": + version: 14.2.28 + resolution: "@next/swc-linux-arm64-musl@npm:14.2.28" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@next/swc-linux-x64-gnu@npm:12.3.4": - version: 12.3.4 - resolution: "@next/swc-linux-x64-gnu@npm:12.3.4" +"@next/swc-linux-x64-gnu@npm:14.2.28": + version: 14.2.28 + resolution: "@next/swc-linux-x64-gnu@npm:14.2.28" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@next/swc-linux-x64-musl@npm:12.3.4": - version: 12.3.4 - resolution: "@next/swc-linux-x64-musl@npm:12.3.4" +"@next/swc-linux-x64-musl@npm:14.2.28": + version: 14.2.28 + resolution: "@next/swc-linux-x64-musl@npm:14.2.28" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@next/swc-win32-arm64-msvc@npm:12.3.4": - version: 12.3.4 - resolution: "@next/swc-win32-arm64-msvc@npm:12.3.4" +"@next/swc-win32-arm64-msvc@npm:14.2.28": + version: 14.2.28 + resolution: "@next/swc-win32-arm64-msvc@npm:14.2.28" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@next/swc-win32-ia32-msvc@npm:12.3.4": - version: 12.3.4 - resolution: "@next/swc-win32-ia32-msvc@npm:12.3.4" +"@next/swc-win32-ia32-msvc@npm:14.2.28": + version: 14.2.28 + resolution: "@next/swc-win32-ia32-msvc@npm:14.2.28" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@next/swc-win32-x64-msvc@npm:12.3.4": - version: 12.3.4 - resolution: "@next/swc-win32-x64-msvc@npm:12.3.4" +"@next/swc-win32-x64-msvc@npm:14.2.28": + version: 14.2.28 + resolution: "@next/swc-win32-x64-msvc@npm:14.2.28" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -4133,7 +4105,7 @@ __metadata: eslint-config-next: ^12.1.6 faker: ^5.1.0 lodash: ^4.17.21 - next: ^12.1.0 + next: ^14.2.26 prismjs: ^1.27.0 rc-table: ^7.10.0 react: ^17.0.2 @@ -7895,12 +7867,13 @@ __metadata: languageName: node linkType: hard -"@swc/helpers@npm:0.4.11": - version: 0.4.11 - resolution: "@swc/helpers@npm:0.4.11" +"@swc/helpers@npm:0.5.5": + version: 0.5.5 + resolution: "@swc/helpers@npm:0.5.5" dependencies: + "@swc/counter": ^0.1.3 tslib: ^2.4.0 - checksum: 736857d524b41a8a4db81094e9b027f554004e0fa3e86325d85bdb38f7e6459ce022db079edb6c61ba0f46fe8583b3e663e95f7acbd13e51b8da6c34e45bba2e + checksum: d4f207b191e54b29460804ddf2984ba6ece1d679a0b2f6a9c765dcf27bba92c5769e7965668a4546fb9f1021eaf0ff9be4bf5c235ce12adcd65acdfe77187d11 languageName: node linkType: hard @@ -10919,6 +10892,15 @@ __metadata: languageName: node linkType: hard +"busboy@npm:1.6.0": + version: 1.6.0 + resolution: "busboy@npm:1.6.0" + dependencies: + streamsearch: ^1.1.0 + checksum: 32801e2c0164e12106bf236291a00795c3c4e4b709ae02132883fe8478ba2ae23743b11c5735a0aae8afe65ac4b6ca4568b91f0d9fed1fdbc32ede824a73746e + languageName: node + linkType: hard + "bytes-iec@npm:^3.1.1": version: 3.1.1 resolution: "bytes-iec@npm:3.1.1" @@ -11082,13 +11064,6 @@ __metadata: languageName: node linkType: hard -"caniuse-lite@npm:^1.0.30001406": - version: 1.0.30001565 - resolution: "caniuse-lite@npm:1.0.30001565" - checksum: 7621f358d0e1158557430a111ca5506008ae0b2c796039ef53aeebf4e2ba15e5241cb89def21ea3a633b6a609273085835b44a522165d871fa44067cdf29cccd - languageName: node - linkType: hard - "caniuse-lite@npm:^1.0.30001517": version: 1.0.30001523 resolution: "caniuse-lite@npm:1.0.30001523" @@ -11096,6 +11071,13 @@ __metadata: languageName: node linkType: hard +"caniuse-lite@npm:^1.0.30001579": + version: 1.0.30001718 + resolution: "caniuse-lite@npm:1.0.30001718" + checksum: c6598b6eb2c4358fc9f8ead8982bf5f9efdc1f29bb74948b9481d314ced10675bd0beb99771094ac52d56c2cec121049d1f18e9405cab7d81807816d1836b38a + languageName: node + linkType: hard + "capnp-ts@npm:^0.7.0": version: 0.7.0 resolution: "capnp-ts@npm:0.7.0" @@ -11332,7 +11314,7 @@ __metadata: languageName: node linkType: hard -"client-only@npm:^0.0.1": +"client-only@npm:0.0.1, client-only@npm:^0.0.1": version: 0.0.1 resolution: "client-only@npm:0.0.1" checksum: 0c16bf660dadb90610553c1d8946a7fdfb81d624adea073b8440b7d795d5b5b08beb3c950c6a2cf16279365a3265158a236876d92bce16423c485c322d7dfaf8 @@ -18496,7 +18478,7 @@ __metadata: languageName: node linkType: hard -"nanoid@npm:^3.3.4, nanoid@npm:^3.3.6, nanoid@npm:^3.3.7": +"nanoid@npm:^3.3.6, nanoid@npm:^3.3.7": version: 3.3.7 resolution: "nanoid@npm:3.3.7" bin: @@ -18551,48 +18533,37 @@ __metadata: languageName: node linkType: hard -"next@npm:^12.1.0": - version: 12.3.4 - resolution: "next@npm:12.3.4" - dependencies: - "@next/env": 12.3.4 - "@next/swc-android-arm-eabi": 12.3.4 - "@next/swc-android-arm64": 12.3.4 - "@next/swc-darwin-arm64": 12.3.4 - "@next/swc-darwin-x64": 12.3.4 - "@next/swc-freebsd-x64": 12.3.4 - "@next/swc-linux-arm-gnueabihf": 12.3.4 - "@next/swc-linux-arm64-gnu": 12.3.4 - "@next/swc-linux-arm64-musl": 12.3.4 - "@next/swc-linux-x64-gnu": 12.3.4 - "@next/swc-linux-x64-musl": 12.3.4 - "@next/swc-win32-arm64-msvc": 12.3.4 - "@next/swc-win32-ia32-msvc": 12.3.4 - "@next/swc-win32-x64-msvc": 12.3.4 - "@swc/helpers": 0.4.11 - caniuse-lite: ^1.0.30001406 - postcss: 8.4.14 - styled-jsx: 5.0.7 - use-sync-external-store: 1.2.0 - peerDependencies: - fibers: ">= 3.1.0" - node-sass: ^6.0.0 || ^7.0.0 - react: ^17.0.2 || ^18.0.0-0 - react-dom: ^17.0.2 || ^18.0.0-0 +"next@npm:^14.2.26": + version: 14.2.28 + resolution: "next@npm:14.2.28" + dependencies: + "@next/env": 14.2.28 + "@next/swc-darwin-arm64": 14.2.28 + "@next/swc-darwin-x64": 14.2.28 + "@next/swc-linux-arm64-gnu": 14.2.28 + "@next/swc-linux-arm64-musl": 14.2.28 + "@next/swc-linux-x64-gnu": 14.2.28 + "@next/swc-linux-x64-musl": 14.2.28 + "@next/swc-win32-arm64-msvc": 14.2.28 + "@next/swc-win32-ia32-msvc": 14.2.28 + "@next/swc-win32-x64-msvc": 14.2.28 + "@swc/helpers": 0.5.5 + busboy: 1.6.0 + caniuse-lite: ^1.0.30001579 + graceful-fs: ^4.2.11 + postcss: 8.4.31 + styled-jsx: 5.1.1 + peerDependencies: + "@opentelemetry/api": ^1.1.0 + "@playwright/test": ^1.41.2 + react: ^18.2.0 + react-dom: ^18.2.0 sass: ^1.3.0 dependenciesMeta: - "@next/swc-android-arm-eabi": - optional: true - "@next/swc-android-arm64": - optional: true "@next/swc-darwin-arm64": optional: true "@next/swc-darwin-x64": optional: true - "@next/swc-freebsd-x64": - optional: true - "@next/swc-linux-arm-gnueabihf": - optional: true "@next/swc-linux-arm64-gnu": optional: true "@next/swc-linux-arm64-musl": @@ -18608,15 +18579,15 @@ __metadata: "@next/swc-win32-x64-msvc": optional: true peerDependenciesMeta: - fibers: + "@opentelemetry/api": optional: true - node-sass: + "@playwright/test": optional: true sass: optional: true bin: next: dist/bin/next - checksum: d96fc4f5bcd5a630d74111519f4820dcbd75dddf16c6d00d2167bd3cb8d74965d46d83c8e5ec301bf999013c7d96f1bfff9424f0221317d68b594c4d01f5825e + checksum: 11b8a5eed9416a63d4881169833e969c5ae7e265805c644c9d1e7f95306ebbac61f5151a2c91b4e07e2eec75af336a0d571fa080a6898eca466952374b0c4be5 languageName: node linkType: hard @@ -19572,18 +19543,7 @@ __metadata: languageName: node linkType: hard -"postcss@npm:8.4.14": - version: 8.4.14 - resolution: "postcss@npm:8.4.14" - dependencies: - nanoid: ^3.3.4 - picocolors: ^1.0.0 - source-map-js: ^1.0.2 - checksum: fe58766ff32e4becf65a7d57678995cfd239df6deed2fe0557f038b47c94e4132e7e5f68b5aa820c13adfec32e523b693efaeb65798efb995ce49ccd83953816 - languageName: node - linkType: hard - -"postcss@npm:^8.4.13": +"postcss@npm:8.4.31, postcss@npm:^8.4.13": version: 8.4.31 resolution: "postcss@npm:8.4.31" dependencies: @@ -21926,6 +21886,13 @@ __metadata: languageName: node linkType: hard +"streamsearch@npm:^1.1.0": + version: 1.1.0 + resolution: "streamsearch@npm:1.1.0" + checksum: 1cce16cea8405d7a233d32ca5e00a00169cc0e19fbc02aa839959985f267335d435c07f96e5e0edd0eadc6d39c98d5435fb5bbbdefc62c41834eadc5622ad942 + languageName: node + linkType: hard + "string-argv@npm:^0.3.1": version: 0.3.1 resolution: "string-argv@npm:0.3.1" @@ -22224,9 +22191,11 @@ __metadata: languageName: node linkType: hard -"styled-jsx@npm:5.0.7": - version: 5.0.7 - resolution: "styled-jsx@npm:5.0.7" +"styled-jsx@npm:5.1.1": + version: 5.1.1 + resolution: "styled-jsx@npm:5.1.1" + dependencies: + client-only: 0.0.1 peerDependencies: react: ">= 16.8.0 || 17.x.x || ^18.0.0-0" peerDependenciesMeta: @@ -22234,7 +22203,7 @@ __metadata: optional: true babel-plugin-macros: optional: true - checksum: 61959993915f4b1662a682dbbefb3512de9399cf6901969bcadd26ba5441d2b5ca5c1021b233bbd573da2541b41efb45d56c6f618dbc8d88a381ebc62461fefe + checksum: 523a33b38603492547e861b98e29c873939b04e15fbe5ef16132c6f1e15958126647983c7d4675325038b428a5e91183d996e90141b18bdd1bbadf6e2c45b2fa languageName: node linkType: hard @@ -23435,15 +23404,6 @@ __metadata: languageName: node linkType: hard -"use-sync-external-store@npm:1.2.0": - version: 1.2.0 - resolution: "use-sync-external-store@npm:1.2.0" - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 5c639e0f8da3521d605f59ce5be9e094ca772bd44a4ce7322b055a6f58eeed8dda3c94cabd90c7a41fb6fa852210092008afe48f7038792fd47501f33299116a - languageName: node - linkType: hard - "use-sync-external-store@npm:^1.2.0": version: 1.4.0 resolution: "use-sync-external-store@npm:1.4.0"