@remotion/bundler 2.6.11 → 2.6.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/dist/bundler.d.ts +0 -0
- package/dist/bundler.d.ts.map +0 -0
- package/dist/bundler.js +0 -0
- package/dist/bundler.js.map +0 -0
- package/dist/copy-dir.d.ts +0 -0
- package/dist/copy-dir.d.ts.map +0 -0
- package/dist/copy-dir.js +0 -0
- package/dist/copy-dir.js.map +0 -0
- package/dist/dev-middleware/compatible-api.d.ts +0 -0
- package/dist/dev-middleware/compatible-api.d.ts.map +0 -0
- package/dist/dev-middleware/compatible-api.js +0 -0
- package/dist/dev-middleware/compatible-api.js.map +0 -0
- package/dist/dev-middleware/get-filename-from-url.d.ts +0 -0
- package/dist/dev-middleware/get-filename-from-url.d.ts.map +0 -0
- package/dist/dev-middleware/get-filename-from-url.js +0 -0
- package/dist/dev-middleware/get-filename-from-url.js.map +0 -0
- package/dist/dev-middleware/get-paths.d.ts +0 -0
- package/dist/dev-middleware/get-paths.d.ts.map +0 -0
- package/dist/dev-middleware/get-paths.js +0 -0
- package/dist/dev-middleware/get-paths.js.map +0 -0
- package/dist/dev-middleware/index.d.ts +0 -0
- package/dist/dev-middleware/index.d.ts.map +0 -0
- package/dist/dev-middleware/index.js +0 -0
- package/dist/dev-middleware/index.js.map +0 -0
- package/dist/dev-middleware/is-color-supported.d.ts +0 -0
- package/dist/dev-middleware/is-color-supported.d.ts.map +0 -0
- package/dist/dev-middleware/is-color-supported.js +0 -0
- package/dist/dev-middleware/is-color-supported.js.map +0 -0
- package/dist/dev-middleware/middleware.d.ts +0 -0
- package/dist/dev-middleware/middleware.d.ts.map +0 -0
- package/dist/dev-middleware/middleware.js +0 -0
- package/dist/dev-middleware/middleware.js.map +0 -0
- package/dist/dev-middleware/range-parser.d.ts +1 -1
- package/dist/dev-middleware/range-parser.d.ts.map +0 -0
- package/dist/dev-middleware/range-parser.js +0 -0
- package/dist/dev-middleware/range-parser.js.map +0 -0
- package/dist/dev-middleware/ready.d.ts +0 -0
- package/dist/dev-middleware/ready.d.ts.map +0 -0
- package/dist/dev-middleware/ready.js +0 -0
- package/dist/dev-middleware/ready.js.map +0 -0
- package/dist/dev-middleware/setup-hooks.d.ts +0 -0
- package/dist/dev-middleware/setup-hooks.d.ts.map +0 -0
- package/dist/dev-middleware/setup-hooks.js +0 -0
- package/dist/dev-middleware/setup-hooks.js.map +0 -0
- package/dist/dev-middleware/setup-output-filesystem.d.ts +0 -0
- package/dist/dev-middleware/setup-output-filesystem.d.ts.map +0 -0
- package/dist/dev-middleware/setup-output-filesystem.js +0 -0
- package/dist/dev-middleware/setup-output-filesystem.js.map +0 -0
- package/dist/dev-middleware/types.d.ts +0 -0
- package/dist/dev-middleware/types.d.ts.map +0 -0
- package/dist/dev-middleware/types.js +0 -0
- package/dist/dev-middleware/types.js.map +0 -0
- package/dist/error-overlay/entry-basic.d.ts +0 -0
- package/dist/error-overlay/entry-basic.d.ts.map +0 -0
- package/dist/error-overlay/entry-basic.js +1 -1
- package/dist/error-overlay/entry-basic.js.map +1 -1
- package/dist/error-overlay/react-overlay/effects/format-warning.d.ts +0 -0
- package/dist/error-overlay/react-overlay/effects/format-warning.d.ts.map +0 -0
- package/dist/error-overlay/react-overlay/effects/format-warning.js +0 -0
- package/dist/error-overlay/react-overlay/effects/format-warning.js.map +0 -0
- package/dist/error-overlay/react-overlay/effects/map-error-to-react-stack.d.ts +0 -0
- package/dist/error-overlay/react-overlay/effects/map-error-to-react-stack.d.ts.map +0 -0
- package/dist/error-overlay/react-overlay/effects/map-error-to-react-stack.js +0 -0
- package/dist/error-overlay/react-overlay/effects/map-error-to-react-stack.js.map +0 -0
- package/dist/error-overlay/react-overlay/effects/proxy-console.d.ts +0 -0
- package/dist/error-overlay/react-overlay/effects/proxy-console.d.ts.map +0 -0
- package/dist/error-overlay/react-overlay/effects/proxy-console.js +0 -0
- package/dist/error-overlay/react-overlay/effects/proxy-console.js.map +0 -0
- package/dist/error-overlay/react-overlay/effects/resolve-file-source.d.ts +0 -0
- package/dist/error-overlay/react-overlay/effects/resolve-file-source.d.ts.map +0 -0
- package/dist/error-overlay/react-overlay/effects/resolve-file-source.js +0 -0
- package/dist/error-overlay/react-overlay/effects/resolve-file-source.js.map +0 -0
- package/dist/error-overlay/react-overlay/effects/stack-trace-limit.d.ts +0 -0
- package/dist/error-overlay/react-overlay/effects/stack-trace-limit.d.ts.map +0 -0
- package/dist/error-overlay/react-overlay/effects/stack-trace-limit.js +0 -0
- package/dist/error-overlay/react-overlay/effects/stack-trace-limit.js.map +0 -0
- package/dist/error-overlay/react-overlay/effects/unhandled-error.d.ts +0 -0
- package/dist/error-overlay/react-overlay/effects/unhandled-error.d.ts.map +0 -0
- package/dist/error-overlay/react-overlay/effects/unhandled-error.js +0 -0
- package/dist/error-overlay/react-overlay/effects/unhandled-error.js.map +0 -0
- package/dist/error-overlay/react-overlay/effects/unhandled-rejection.d.ts +0 -0
- package/dist/error-overlay/react-overlay/effects/unhandled-rejection.d.ts.map +0 -0
- package/dist/error-overlay/react-overlay/effects/unhandled-rejection.js +0 -0
- package/dist/error-overlay/react-overlay/effects/unhandled-rejection.js.map +0 -0
- package/dist/error-overlay/react-overlay/index.d.ts +1 -1
- package/dist/error-overlay/react-overlay/index.d.ts.map +1 -1
- package/dist/error-overlay/react-overlay/index.js +3 -3
- package/dist/error-overlay/react-overlay/index.js.map +1 -1
- package/dist/error-overlay/react-overlay/listen-to-runtime-errors.d.ts +0 -0
- package/dist/error-overlay/react-overlay/listen-to-runtime-errors.d.ts.map +1 -1
- package/dist/error-overlay/react-overlay/listen-to-runtime-errors.js +10 -2
- package/dist/error-overlay/react-overlay/listen-to-runtime-errors.js.map +1 -1
- package/dist/error-overlay/react-overlay/utils/get-file-source.d.ts +0 -0
- package/dist/error-overlay/react-overlay/utils/get-file-source.d.ts.map +0 -0
- package/dist/error-overlay/react-overlay/utils/get-file-source.js +0 -0
- package/dist/error-overlay/react-overlay/utils/get-file-source.js.map +0 -0
- package/dist/error-overlay/react-overlay/utils/get-lines-around.d.ts +0 -0
- package/dist/error-overlay/react-overlay/utils/get-lines-around.d.ts.map +0 -0
- package/dist/error-overlay/react-overlay/utils/get-lines-around.js +0 -0
- package/dist/error-overlay/react-overlay/utils/get-lines-around.js.map +0 -0
- package/dist/error-overlay/react-overlay/utils/get-source-map.d.ts +6 -27
- package/dist/error-overlay/react-overlay/utils/get-source-map.d.ts.map +1 -1
- package/dist/error-overlay/react-overlay/utils/get-source-map.js +13 -38
- package/dist/error-overlay/react-overlay/utils/get-source-map.js.map +1 -1
- package/dist/error-overlay/react-overlay/utils/get-stack-frames.d.ts +0 -0
- package/dist/error-overlay/react-overlay/utils/get-stack-frames.d.ts.map +0 -0
- package/dist/error-overlay/react-overlay/utils/get-stack-frames.js +0 -0
- package/dist/error-overlay/react-overlay/utils/get-stack-frames.js.map +0 -0
- package/dist/error-overlay/react-overlay/utils/open-in-editor.d.ts +0 -0
- package/dist/error-overlay/react-overlay/utils/open-in-editor.d.ts.map +0 -0
- package/dist/error-overlay/react-overlay/utils/open-in-editor.js +0 -0
- package/dist/error-overlay/react-overlay/utils/open-in-editor.js.map +0 -0
- package/dist/error-overlay/react-overlay/utils/parser.d.ts +0 -0
- package/dist/error-overlay/react-overlay/utils/parser.d.ts.map +0 -0
- package/dist/error-overlay/react-overlay/utils/parser.js +0 -0
- package/dist/error-overlay/react-overlay/utils/parser.js.map +0 -0
- package/dist/error-overlay/react-overlay/utils/stack-frame.d.ts +0 -0
- package/dist/error-overlay/react-overlay/utils/stack-frame.d.ts.map +0 -0
- package/dist/error-overlay/react-overlay/utils/stack-frame.js +0 -0
- package/dist/error-overlay/react-overlay/utils/stack-frame.js.map +0 -0
- package/dist/error-overlay/react-overlay/utils/unmapper.d.ts +0 -0
- package/dist/error-overlay/react-overlay/utils/unmapper.d.ts.map +1 -1
- package/dist/error-overlay/react-overlay/utils/unmapper.js +4 -3
- package/dist/error-overlay/react-overlay/utils/unmapper.js.map +1 -1
- package/dist/error-overlay/remotion-overlay/AskOnDiscord.d.ts +0 -0
- package/dist/error-overlay/remotion-overlay/AskOnDiscord.d.ts.map +0 -0
- package/dist/error-overlay/remotion-overlay/AskOnDiscord.js +0 -0
- package/dist/error-overlay/remotion-overlay/AskOnDiscord.js.map +0 -0
- package/dist/error-overlay/remotion-overlay/Button.d.ts +0 -0
- package/dist/error-overlay/remotion-overlay/Button.d.ts.map +0 -0
- package/dist/error-overlay/remotion-overlay/Button.js +0 -0
- package/dist/error-overlay/remotion-overlay/Button.js.map +0 -0
- package/dist/error-overlay/remotion-overlay/CodeFrame.d.ts +0 -0
- package/dist/error-overlay/remotion-overlay/CodeFrame.d.ts.map +0 -0
- package/dist/error-overlay/remotion-overlay/CodeFrame.js +0 -0
- package/dist/error-overlay/remotion-overlay/CodeFrame.js.map +0 -0
- package/dist/error-overlay/remotion-overlay/DismissButton.d.ts +0 -0
- package/dist/error-overlay/remotion-overlay/DismissButton.d.ts.map +0 -0
- package/dist/error-overlay/remotion-overlay/DismissButton.js +0 -0
- package/dist/error-overlay/remotion-overlay/DismissButton.js.map +0 -0
- package/dist/error-overlay/remotion-overlay/ErrorDisplay.d.ts +0 -0
- package/dist/error-overlay/remotion-overlay/ErrorDisplay.d.ts.map +0 -0
- package/dist/error-overlay/remotion-overlay/ErrorDisplay.js +0 -0
- package/dist/error-overlay/remotion-overlay/ErrorDisplay.js.map +0 -0
- package/dist/error-overlay/remotion-overlay/ErrorLoader.d.ts +0 -0
- package/dist/error-overlay/remotion-overlay/ErrorLoader.d.ts.map +0 -0
- package/dist/error-overlay/remotion-overlay/ErrorLoader.js +0 -0
- package/dist/error-overlay/remotion-overlay/ErrorLoader.js.map +0 -0
- package/dist/error-overlay/remotion-overlay/ErrorTitle.d.ts +0 -0
- package/dist/error-overlay/remotion-overlay/ErrorTitle.d.ts.map +0 -0
- package/dist/error-overlay/remotion-overlay/ErrorTitle.js +1 -1
- package/dist/error-overlay/remotion-overlay/ErrorTitle.js.map +1 -1
- package/dist/error-overlay/remotion-overlay/OpenInEditor.d.ts +0 -0
- package/dist/error-overlay/remotion-overlay/OpenInEditor.d.ts.map +0 -0
- package/dist/error-overlay/remotion-overlay/OpenInEditor.js +0 -0
- package/dist/error-overlay/remotion-overlay/OpenInEditor.js.map +0 -0
- package/dist/error-overlay/remotion-overlay/Overlay.d.ts +0 -0
- package/dist/error-overlay/remotion-overlay/Overlay.d.ts.map +0 -0
- package/dist/error-overlay/remotion-overlay/Overlay.js +0 -0
- package/dist/error-overlay/remotion-overlay/Overlay.js.map +0 -0
- package/dist/error-overlay/remotion-overlay/SearchGitHubIssues.d.ts +0 -0
- package/dist/error-overlay/remotion-overlay/SearchGitHubIssues.d.ts.map +0 -0
- package/dist/error-overlay/remotion-overlay/SearchGitHubIssues.js +0 -0
- package/dist/error-overlay/remotion-overlay/SearchGitHubIssues.js.map +0 -0
- package/dist/error-overlay/remotion-overlay/StackFrame.d.ts +0 -0
- package/dist/error-overlay/remotion-overlay/StackFrame.d.ts.map +1 -1
- package/dist/error-overlay/remotion-overlay/StackFrame.js +6 -1
- package/dist/error-overlay/remotion-overlay/StackFrame.js.map +1 -1
- package/dist/error-overlay/remotion-overlay/Symbolicating.d.ts +0 -0
- package/dist/error-overlay/remotion-overlay/Symbolicating.d.ts.map +0 -0
- package/dist/error-overlay/remotion-overlay/Symbolicating.js +0 -0
- package/dist/error-overlay/remotion-overlay/Symbolicating.js.map +0 -0
- package/dist/error-overlay/remotion-overlay/carets.d.ts +1 -0
- package/dist/error-overlay/remotion-overlay/carets.d.ts.map +1 -1
- package/dist/error-overlay/remotion-overlay/carets.js +0 -0
- package/dist/error-overlay/remotion-overlay/carets.js.map +0 -0
- package/dist/error-overlay/remotion-overlay/format-location.d.ts +0 -0
- package/dist/error-overlay/remotion-overlay/format-location.d.ts.map +0 -0
- package/dist/error-overlay/remotion-overlay/format-location.js +0 -0
- package/dist/error-overlay/remotion-overlay/format-location.js.map +0 -0
- package/dist/error-overlay/remotion-overlay/index.d.ts +0 -0
- package/dist/error-overlay/remotion-overlay/index.d.ts.map +0 -0
- package/dist/error-overlay/remotion-overlay/index.js +0 -0
- package/dist/error-overlay/remotion-overlay/index.js.map +0 -0
- package/dist/fast-refresh/helpers.d.ts +0 -0
- package/dist/fast-refresh/helpers.d.ts.map +0 -0
- package/dist/fast-refresh/helpers.js +0 -0
- package/dist/fast-refresh/helpers.js.map +0 -0
- package/dist/fast-refresh/index.d.ts +0 -0
- package/dist/fast-refresh/index.d.ts.map +0 -0
- package/dist/fast-refresh/index.js +0 -0
- package/dist/fast-refresh/index.js.map +0 -0
- package/dist/fast-refresh/loader.d.ts +0 -0
- package/dist/fast-refresh/loader.d.ts.map +0 -0
- package/dist/fast-refresh/loader.js +0 -0
- package/dist/fast-refresh/loader.js.map +0 -0
- package/dist/fast-refresh/runtime.d.ts +0 -0
- package/dist/fast-refresh/runtime.d.ts.map +0 -0
- package/dist/fast-refresh/runtime.js +0 -0
- package/dist/fast-refresh/runtime.js.map +0 -0
- package/dist/get-latest-remotion-version.d.ts +0 -0
- package/dist/get-latest-remotion-version.d.ts.map +0 -0
- package/dist/get-latest-remotion-version.js +0 -0
- package/dist/get-latest-remotion-version.js.map +0 -0
- package/dist/get-package-manager.d.ts +0 -0
- package/dist/get-package-manager.d.ts.map +0 -0
- package/dist/get-package-manager.js +0 -0
- package/dist/get-package-manager.js.map +0 -0
- package/dist/get-port.d.ts +0 -0
- package/dist/get-port.d.ts.map +0 -0
- package/dist/get-port.js +0 -0
- package/dist/get-port.js.map +0 -0
- package/dist/hot-middleware/client.d.ts +0 -0
- package/dist/hot-middleware/client.d.ts.map +1 -1
- package/dist/hot-middleware/client.js +0 -1
- package/dist/hot-middleware/client.js.map +1 -1
- package/dist/hot-middleware/index.d.ts +0 -0
- package/dist/hot-middleware/index.d.ts.map +0 -0
- package/dist/hot-middleware/index.js +0 -0
- package/dist/hot-middleware/index.js.map +0 -0
- package/dist/hot-middleware/process-update.d.ts +0 -0
- package/dist/hot-middleware/process-update.d.ts.map +0 -0
- package/dist/hot-middleware/process-update.js +0 -0
- package/dist/hot-middleware/process-update.js.map +0 -0
- package/dist/hot-middleware/strip-ansi.d.ts +0 -0
- package/dist/hot-middleware/strip-ansi.d.ts.map +0 -0
- package/dist/hot-middleware/strip-ansi.js +0 -0
- package/dist/hot-middleware/strip-ansi.js.map +0 -0
- package/dist/hot-middleware/types.d.ts +0 -0
- package/dist/hot-middleware/types.d.ts.map +0 -0
- package/dist/hot-middleware/types.js +0 -0
- package/dist/hot-middleware/types.js.map +0 -0
- package/dist/index.d.ts +0 -0
- package/dist/index.d.ts.map +0 -0
- package/dist/index.js +0 -0
- package/dist/index.js.map +0 -0
- package/dist/override-webpack.d.ts +1 -1
- package/dist/override-webpack.d.ts.map +0 -0
- package/dist/override-webpack.js +1 -1
- package/dist/override-webpack.js.map +0 -0
- package/dist/project-info.d.ts +0 -0
- package/dist/project-info.d.ts.map +0 -0
- package/dist/project-info.js +0 -0
- package/dist/project-info.js.map +0 -0
- package/dist/renderEntry.d.ts +0 -0
- package/dist/renderEntry.d.ts.map +0 -0
- package/dist/renderEntry.js +8 -4
- package/dist/renderEntry.js.map +1 -1
- package/dist/setup-environment.d.ts +0 -0
- package/dist/setup-environment.d.ts.map +0 -0
- package/dist/setup-environment.js +0 -0
- package/dist/setup-environment.js.map +0 -0
- package/dist/start-server.d.ts +0 -0
- package/dist/start-server.d.ts.map +0 -0
- package/dist/start-server.js +0 -0
- package/dist/start-server.js.map +0 -0
- package/dist/static-preview.d.ts +0 -0
- package/dist/static-preview.d.ts.map +0 -0
- package/dist/static-preview.js +3 -3
- package/dist/static-preview.js.map +1 -1
- package/dist/test/expect-to-throw.d.ts +0 -0
- package/dist/test/expect-to-throw.d.ts.map +0 -0
- package/dist/test/expect-to-throw.js +0 -0
- package/dist/test/expect-to-throw.js.map +0 -0
- package/dist/test/latest-remotion-version.test.d.ts +0 -0
- package/dist/test/latest-remotion-version.test.d.ts.map +0 -0
- package/dist/test/latest-remotion-version.test.js +0 -0
- package/dist/test/latest-remotion-version.test.js.map +0 -0
- package/dist/test/parse-error-stack.test.d.ts +0 -0
- package/dist/test/parse-error-stack.test.d.ts.map +0 -0
- package/dist/test/parse-error-stack.test.js +0 -0
- package/dist/test/parse-error-stack.test.js.map +0 -0
- package/dist/test/parse-module-not-found.test.d.ts +0 -0
- package/dist/test/parse-module-not-found.test.d.ts.map +0 -0
- package/dist/test/parse-module-not-found.test.js +0 -0
- package/dist/test/parse-module-not-found.test.js.map +0 -0
- package/dist/test/secure-source-read.test.d.ts +0 -0
- package/dist/test/secure-source-read.test.d.ts.map +0 -0
- package/dist/test/secure-source-read.test.js +0 -0
- package/dist/test/secure-source-read.test.js.map +0 -0
- package/dist/update-available.d.ts +0 -0
- package/dist/update-available.d.ts.map +0 -0
- package/dist/update-available.js +0 -0
- package/dist/update-available.js.map +0 -0
- package/dist/webpack-cache.d.ts +0 -0
- package/dist/webpack-cache.d.ts.map +0 -0
- package/dist/webpack-cache.js +0 -0
- package/dist/webpack-cache.js.map +0 -0
- package/dist/webpack-config.d.ts +0 -0
- package/dist/webpack-config.d.ts.map +0 -0
- package/dist/webpack-config.js +1 -1
- package/dist/webpack-config.js.map +1 -1
- package/package.json +15 -5
- package/dist/bundle-mode.d.ts +0 -4
- package/dist/bundle-mode.d.ts.map +0 -1
- package/dist/bundle-mode.js +0 -15
- package/dist/bundle-mode.js.map +0 -1
- package/dist/error-overlay/react-overlay/utils/mapper.d.ts +0 -16
- package/dist/error-overlay/react-overlay/utils/mapper.d.ts.map +0 -1
- package/dist/error-overlay/react-overlay/utils/mapper.js +0 -61
- package/dist/error-overlay/react-overlay/utils/mapper.js.map +0 -1
- package/dist/error-overlay/react-overlay/utils/path.d.ts +0 -2
- package/dist/error-overlay/react-overlay/utils/path.d.ts.map +0 -1
- package/dist/error-overlay/react-overlay/utils/path.js +0 -80
- package/dist/error-overlay/react-overlay/utils/path.js.map +0 -1
- package/dist/error-overlay/react-overlay/utils/settle-promise.d.ts +0 -3
- package/dist/error-overlay/react-overlay/utils/settle-promise.d.ts.map +0 -1
- package/dist/error-overlay/react-overlay/utils/settle-promise.js +0 -20
- package/dist/error-overlay/react-overlay/utils/settle-promise.js.map +0 -1
- package/dist/esbuild-loader/index.d.ts +0 -5
- package/dist/esbuild-loader/index.d.ts.map +0 -1
- package/dist/esbuild-loader/index.js +0 -56
- package/dist/esbuild-loader/index.js.map +0 -1
- package/dist/esbuild-loader/interfaces.d.ts +0 -12
- package/dist/esbuild-loader/interfaces.d.ts.map +0 -1
- package/dist/esbuild-loader/interfaces.js +0 -3
- package/dist/esbuild-loader/interfaces.js.map +0 -1
- package/dist/homepage/homepage.d.ts +0 -4
- package/dist/homepage/homepage.d.ts.map +0 -1
- package/dist/homepage/homepage.js +0 -64
- package/dist/homepage/homepage.js.map +0 -1
package/dist/bundler.d.ts
CHANGED
|
File without changes
|
package/dist/bundler.d.ts.map
CHANGED
|
File without changes
|
package/dist/bundler.js
CHANGED
|
File without changes
|
package/dist/bundler.js.map
CHANGED
|
File without changes
|
package/dist/copy-dir.d.ts
CHANGED
|
File without changes
|
package/dist/copy-dir.d.ts.map
CHANGED
|
File without changes
|
package/dist/copy-dir.js
CHANGED
|
File without changes
|
package/dist/copy-dir.js.map
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -11,6 +11,6 @@ declare type Range = {
|
|
|
11
11
|
declare type Ranges = Range[] & {
|
|
12
12
|
type?: string;
|
|
13
13
|
};
|
|
14
|
-
export declare function parseRange(size: number, str: string | string[]): -1 |
|
|
14
|
+
export declare function parseRange(size: number, str: string | string[]): -1 | Ranges | -2;
|
|
15
15
|
export {};
|
|
16
16
|
//# sourceMappingURL=range-parser.d.ts.map
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -8,7 +8,7 @@ const Overlay_1 = require("./remotion-overlay/Overlay");
|
|
|
8
8
|
module.hot.addStatusHandler((status) => {
|
|
9
9
|
var _a;
|
|
10
10
|
if (status === 'apply') {
|
|
11
|
-
if ((0, react_overlay_1.
|
|
11
|
+
if ((0, react_overlay_1.didUnmountReactApp)()) {
|
|
12
12
|
return window.location.reload();
|
|
13
13
|
}
|
|
14
14
|
(_a = Overlay_1.setErrorsRef.current) === null || _a === void 0 ? void 0 : _a.setErrors({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entry-basic.js","sourceRoot":"","sources":["../../src/error-overlay/entry-basic.ts"],"names":[],"mappings":";;AAAA,
|
|
1
|
+
{"version":3,"file":"entry-basic.js","sourceRoot":"","sources":["../../src/error-overlay/entry-basic.ts"],"names":[],"mappings":";;AAAA,mDAAgF;AAChF,yDAAwD;AACxD,wDAAwD;AAExD,IAAA,2CAA2B,EAAC,GAAG,EAAE;IAChC,IAAI,MAAM,CAAC,GAAG,EAAE;QACf,MAAM,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC,MAAM,EAAE,EAAE;;YACtC,IAAI,MAAM,KAAK,OAAO,EAAE;gBACvB,IAAI,IAAA,kCAAkB,GAAE,EAAE;oBACzB,OAAO,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC;iBAChC;gBAED,MAAA,sBAAY,CAAC,OAAO,0CAAE,SAAS,CAAC;oBAC/B,IAAI,EAAE,OAAO;iBACb,CAAC,CAAC;aACH;QACF,CAAC,CAAC,CAAC;KACH;AACF,CAAC,CAAC,CAAC;AACH,IAAA,uCAAoB,GAAE,CAAC"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/error-overlay/react-overlay/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/error-overlay/react-overlay/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,kBAAkB,eAE9B,CAAC;AAEF,wBAAgB,2BAA2B,CAAC,OAAO,EAAE,MAAM,IAAI,QAU9D"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.startReportingRuntimeErrors = exports.
|
|
3
|
+
exports.startReportingRuntimeErrors = exports.didUnmountReactApp = void 0;
|
|
4
4
|
const remotion_1 = require("remotion");
|
|
5
5
|
const listen_to_runtime_errors_1 = require("./listen-to-runtime-errors");
|
|
6
6
|
let stopListeningToRuntimeErrors = null;
|
|
7
|
-
const
|
|
7
|
+
const didUnmountReactApp = () => {
|
|
8
8
|
var _a;
|
|
9
9
|
return !((_a = remotion_1.Internals.getPreviewDomElement()) === null || _a === void 0 ? void 0 : _a.hasChildNodes());
|
|
10
10
|
};
|
|
11
|
-
exports.
|
|
11
|
+
exports.didUnmountReactApp = didUnmountReactApp;
|
|
12
12
|
function startReportingRuntimeErrors(onError) {
|
|
13
13
|
if (stopListeningToRuntimeErrors !== null) {
|
|
14
14
|
throw new Error('Already listening');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/error-overlay/react-overlay/index.ts"],"names":[],"mappings":";;;AAAA,uCAAmC;AACnC,yEAAiE;AAEjE,IAAI,4BAA4B,GAAwB,IAAI,CAAC;AAEtD,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/error-overlay/react-overlay/index.ts"],"names":[],"mappings":";;;AAAA,uCAAmC;AACnC,yEAAiE;AAEjE,IAAI,4BAA4B,GAAwB,IAAI,CAAC;AAEtD,MAAM,kBAAkB,GAAG,GAAG,EAAE;;IACtC,OAAO,CAAC,CAAA,MAAA,oBAAS,CAAC,oBAAoB,EAAE,0CAAE,aAAa,EAAE,CAAA,CAAC;AAC3D,CAAC,CAAC;AAFW,QAAA,kBAAkB,sBAE7B;AAEF,SAAgB,2BAA2B,CAAC,OAAmB;IAC9D,IAAI,4BAA4B,KAAK,IAAI,EAAE;QAC1C,MAAM,IAAI,KAAK,CAAC,mBAAmB,CAAC,CAAC;KACrC;IAED,MAAM,kBAAkB,GAAG,GAAG,EAAE;QAC/B,OAAO,EAAE,CAAC;IACX,CAAC,CAAC;IAEF,4BAA4B,GAAG,IAAA,gDAAqB,EAAC,kBAAkB,CAAC,CAAC;AAC1E,CAAC;AAVD,kEAUC"}
|
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listen-to-runtime-errors.d.ts","sourceRoot":"","sources":["../../../src/error-overlay/react-overlay/listen-to-runtime-errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,sBAAsB,EAAC,MAAM,qBAAqB,CAAC;AAE3D,oBAAY,WAAW,GAAG;IACzB,KAAK,EAAE,KAAK,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,sBAAsB,EAAE,CAAC;CACtC,CAAC;AAgCF,eAAO,MAAM,cAAc,UACnB,KAAK,KACV,QAAQ,WAAW,GAAG,IAAI,CAY5B,CAAC;
|
|
1
|
+
{"version":3,"file":"listen-to-runtime-errors.d.ts","sourceRoot":"","sources":["../../../src/error-overlay/react-overlay/listen-to-runtime-errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,sBAAsB,EAAC,MAAM,qBAAqB,CAAC;AAE3D,oBAAY,WAAW,GAAG;IACzB,KAAK,EAAE,KAAK,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,sBAAsB,EAAE,CAAC;CACtC,CAAC;AAgCF,eAAO,MAAM,cAAc,UACnB,KAAK,KACV,QAAQ,WAAW,GAAG,IAAI,CAY5B,CAAC;AAiBF,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,IAAI,cAsCtD"}
|
|
@@ -29,8 +29,16 @@ const getErrorRecord = async (error) => {
|
|
|
29
29
|
exports.getErrorRecord = getErrorRecord;
|
|
30
30
|
const crashWithFrames = (crash) => (error) => {
|
|
31
31
|
var _a;
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
const didHookOrderChange = error.message.startsWith('Rendered fewer hooks') ||
|
|
33
|
+
error.message.startsWith('Rendered more hooks');
|
|
34
|
+
if (didHookOrderChange) {
|
|
35
|
+
console.log('Hook order changed. Reloading app...');
|
|
36
|
+
window.location.reload();
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
(_a = Overlay_1.setErrorsRef.current) === null || _a === void 0 ? void 0 : _a.addError(error);
|
|
40
|
+
crash();
|
|
41
|
+
}
|
|
34
42
|
};
|
|
35
43
|
function listenToRuntimeErrors(crash) {
|
|
36
44
|
const crashWithFramesRunTime = crashWithFrames(crash);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listen-to-runtime-errors.js","sourceRoot":"","sources":["../../../src/error-overlay/react-overlay/listen-to-runtime-errors.ts"],"names":[],"mappings":";;;AAQA;;;;;GAKG;AAEH,+DAGmC;AACnC,uEAGuC;AACvC,mEAGqC;AACrC,2DAIiC;AACjC,6DAAwD;AACxD,+DAAwD;AACxD,yDAAyD;AAEzD,MAAM,YAAY,GAAG,CAAC,CAAC;AAEhB,MAAM,cAAc,GAAG,KAAK,EAClC,KAAY,EACkB,EAAE;IAChC,MAAM,WAAW,GAAG,MAAM,IAAA,iCAAc,EAAC,KAAK,EAAE,YAAY,CAAC,CAAC;IAE9D,IAAI,WAAW,KAAK,IAAI,IAAI,WAAW,KAAK,SAAS,EAAE;QACtD,OAAO,IAAI,CAAC;KACZ;IAED,OAAO;QACN,KAAK;QACL,WAAW,EAAE,YAAY;QACzB,WAAW;KACX,CAAC;AACH,CAAC,CAAC;AAdW,QAAA,cAAc,kBAczB;AAEF,MAAM,eAAe,GAAG,CAAC,KAAiB,EAAE,EAAE,CAAC,CAAC,KAAY,EAAE,EAAE;;IAC/D,MAAA,sBAAY,CAAC,OAAO,0CAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"listen-to-runtime-errors.js","sourceRoot":"","sources":["../../../src/error-overlay/react-overlay/listen-to-runtime-errors.ts"],"names":[],"mappings":";;;AAQA;;;;;GAKG;AAEH,+DAGmC;AACnC,uEAGuC;AACvC,mEAGqC;AACrC,2DAIiC;AACjC,6DAAwD;AACxD,+DAAwD;AACxD,yDAAyD;AAEzD,MAAM,YAAY,GAAG,CAAC,CAAC;AAEhB,MAAM,cAAc,GAAG,KAAK,EAClC,KAAY,EACkB,EAAE;IAChC,MAAM,WAAW,GAAG,MAAM,IAAA,iCAAc,EAAC,KAAK,EAAE,YAAY,CAAC,CAAC;IAE9D,IAAI,WAAW,KAAK,IAAI,IAAI,WAAW,KAAK,SAAS,EAAE;QACtD,OAAO,IAAI,CAAC;KACZ;IAED,OAAO;QACN,KAAK;QACL,WAAW,EAAE,YAAY;QACzB,WAAW;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5B,MAAM,IAAI,GAAG,IAAA,+BAAc,EAAC,OAAO,EAAE,MAAM,CAAC,CAAC;YAE7C,sBAAsB,CAAC;gBACtB,OAAO,EAAE,IAAI,CAAC,OAAO;gBACrB,KAAK,EAAE,IAAI,CAAC,KAAK;gBACjB,IAAI,EAAE,EAAE;aACR,CAAC,CAAC;SACH;QAED,IAAI,CAAC,CAAC,IAAI,KAAK,aAAa,EAAE;YAC7B,sBAAsB,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;SAChC;IACF,CAAC,CAAC,CAAC;IAEH,OAAO;QACN,IAAA,8BAAyB,GAAE,CAAC;QAC5B,IAAA,gCAAiB,EAAC,MAAM,CAAC,CAAC;QAC1B,IAAA,4BAAe,EAAC,MAAM,CAAC,CAAC;QACxB,IAAA,oCAAoB,GAAE,CAAC;IACxB,CAAC,CAAC;AACH,CAAC;AAtCD,sDAsCC"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -5,31 +5,10 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
import { SourceMapConsumer } from 'source-map';
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
export declare
|
|
14
|
-
__source_map: SourceMapConsumer;
|
|
15
|
-
constructor(sourceMap: SourceMapConsumer);
|
|
16
|
-
/**
|
|
17
|
-
* Returns the original code position for a generated code position.
|
|
18
|
-
* @param {number} line The line of the generated code position.
|
|
19
|
-
* @param {number} column The column of the generated code position.
|
|
20
|
-
*/
|
|
21
|
-
getOriginalPosition(line: number, column: number): {
|
|
22
|
-
source: string;
|
|
23
|
-
line: number;
|
|
24
|
-
column: number;
|
|
25
|
-
};
|
|
26
|
-
getSource(sourceName: string): string | null;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Returns an instance of <code>{@link SourceMap}</code> for a given fileUri and fileContents.
|
|
30
|
-
* @param {string} fileUri The URI of the source file.
|
|
31
|
-
* @param {string} fileContents The contents of the source file.
|
|
32
|
-
*/
|
|
33
|
-
declare function getSourceMap(fileUri: string, fileContents: string): Promise<SourceMap>;
|
|
34
|
-
export { getSourceMap };
|
|
8
|
+
export declare const getOriginalPosition: (source_map: SourceMapConsumer, line: number, column: number) => {
|
|
9
|
+
source: string | null;
|
|
10
|
+
line: number | null;
|
|
11
|
+
column: number | null;
|
|
12
|
+
};
|
|
13
|
+
export declare function getSourceMap(fileUri: string, fileContents: string): Promise<SourceMapConsumer>;
|
|
35
14
|
//# sourceMappingURL=get-source-map.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-source-map.d.ts","sourceRoot":"","sources":["../../../../src/error-overlay/react-overlay/utils/get-source-map.ts"],"names":[],"mappings":"AAMA;;;;;GAKG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"get-source-map.d.ts","sourceRoot":"","sources":["../../../../src/error-overlay/react-overlay/utils/get-source-map.ts"],"names":[],"mappings":"AAMA;;;;;GAKG;AAEH,OAAO,EAAe,iBAAiB,EAAC,MAAM,YAAY,CAAC;AAE3D,eAAO,MAAM,mBAAmB,eACnB,iBAAiB,QACvB,MAAM,UACJ,MAAM;YACH,MAAM,GAAG,IAAI;UAAQ,MAAM,GAAG,IAAI;YAAU,MAAM,GAAG,IAAI;CAMpE,CAAC;AA0BF,wBAAsB,YAAY,CACjC,OAAO,EAAE,MAAM,EACf,YAAY,EAAE,MAAM,GAClB,OAAO,CAAC,iBAAiB,CAAC,CAmB5B"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Source code adapted from https://github.com/facebook/create-react-app/tree/main/packages/react-error-overlay and refactored in Typescript. This file is MIT-licensed.
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.getSourceMap = exports.
|
|
6
|
+
exports.getSourceMap = exports.getOriginalPosition = void 0;
|
|
7
7
|
/* eslint-disable no-eq-null */
|
|
8
8
|
/* eslint-disable eqeqeq */
|
|
9
9
|
/**
|
|
@@ -13,32 +13,14 @@ exports.getSourceMap = exports.SourceMap = void 0;
|
|
|
13
13
|
* LICENSE file in the root directory of this source tree.
|
|
14
14
|
*/
|
|
15
15
|
const source_map_1 = require("source-map");
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Returns the original code position for a generated code position.
|
|
27
|
-
* @param {number} line The line of the generated code position.
|
|
28
|
-
* @param {number} column The column of the generated code position.
|
|
29
|
-
*/
|
|
30
|
-
getOriginalPosition(line, column) {
|
|
31
|
-
const { line: l, column: c, source: s, } = this.__source_map.originalPositionFor({
|
|
32
|
-
line,
|
|
33
|
-
column,
|
|
34
|
-
});
|
|
35
|
-
return { line: l, column: c, source: s };
|
|
36
|
-
}
|
|
37
|
-
getSource(sourceName) {
|
|
38
|
-
return this.__source_map.sourceContentFor(sourceName);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
exports.SourceMap = SourceMap;
|
|
16
|
+
const getOriginalPosition = (source_map, line, column) => {
|
|
17
|
+
const result = source_map.originalPositionFor({
|
|
18
|
+
line,
|
|
19
|
+
column,
|
|
20
|
+
});
|
|
21
|
+
return { line: result.line, column: result.column, source: result.source };
|
|
22
|
+
};
|
|
23
|
+
exports.getOriginalPosition = getOriginalPosition;
|
|
42
24
|
function extractSourceMapUrl(fileUri, fileContents) {
|
|
43
25
|
const regex = /\/\/[#@] ?sourceMappingURL=([^\s'"]+)\s*$/gm;
|
|
44
26
|
let match = null;
|
|
@@ -54,28 +36,21 @@ function extractSourceMapUrl(fileUri, fileContents) {
|
|
|
54
36
|
}
|
|
55
37
|
return Promise.resolve(match[1].toString());
|
|
56
38
|
}
|
|
57
|
-
/**
|
|
58
|
-
* Returns an instance of <code>{@link SourceMap}</code> for a given fileUri and fileContents.
|
|
59
|
-
* @param {string} fileUri The URI of the source file.
|
|
60
|
-
* @param {string} fileContents The contents of the source file.
|
|
61
|
-
*/
|
|
62
39
|
async function getSourceMap(fileUri, fileContents) {
|
|
63
|
-
|
|
40
|
+
const sm = await extractSourceMapUrl(fileUri, fileContents);
|
|
64
41
|
if (sm.indexOf('data:') === 0) {
|
|
65
42
|
const base64 = /^data:application\/json;([\w=:"-]+;)*base64,/;
|
|
66
43
|
const match2 = sm.match(base64);
|
|
67
44
|
if (!match2) {
|
|
68
45
|
throw new Error('Sorry, non-base64 inline source-map encoding is not supported.');
|
|
69
46
|
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
sm = JSON.parse(sm);
|
|
73
|
-
return new SourceMap(new source_map_1.SourceMapConsumer(sm));
|
|
47
|
+
const converted = window.atob(sm.substring(match2[0].length));
|
|
48
|
+
return new source_map_1.SourceMapConsumer(JSON.parse(converted));
|
|
74
49
|
}
|
|
75
50
|
const index = fileUri.lastIndexOf('/');
|
|
76
51
|
const url = fileUri.substring(0, index + 1) + sm;
|
|
77
52
|
const obj = await fetch(url).then((res) => res.json());
|
|
78
|
-
return new
|
|
53
|
+
return new source_map_1.SourceMapConsumer(obj);
|
|
79
54
|
}
|
|
80
55
|
exports.getSourceMap = getSourceMap;
|
|
81
56
|
//# sourceMappingURL=get-source-map.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-source-map.js","sourceRoot":"","sources":["../../../../src/error-overlay/react-overlay/utils/get-source-map.ts"],"names":[],"mappings":";AAAA;;EAEE;;;AAEF,+BAA+B;AAC/B,2BAA2B;AAC3B;;;;;GAKG;AAEH,
|
|
1
|
+
{"version":3,"file":"get-source-map.js","sourceRoot":"","sources":["../../../../src/error-overlay/react-overlay/utils/get-source-map.ts"],"names":[],"mappings":";AAAA;;EAEE;;;AAEF,+BAA+B;AAC/B,2BAA2B;AAC3B;;;;;G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C,CAAC;QAChC,IAAI,CAAC,MAAM,EAAE;YACZ,MAAM,IAAI,KAAK,CACd,gEAAgE,CAChE,CAAC;SACF;QAED,MAAM,SAAS,GAAG,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;QAC9D,OAAO,IAAI,8BAAiB,CAAC,IAAI,CAAC,KAAK,CAAC,SAAS,CAAiB,CAAC,CAAC;KACpE;IAED,MAAM,KAAK,GAAG,OAAO,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IACvC,MAAM,GAAG,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC,EAAE,KAAK,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC;IACjD,MAAM,GAAG,GAAG,MAAM,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;IACvD,OAAO,IAAI,8BAAiB,CAAC,GAAG,CAAC,CAAC;AACnC,CAAC;AAtBD,oCAsBC"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unmapper.d.ts","sourceRoot":"","sources":["../../../../src/error-overlay/react-overlay/utils/unmapper.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"unmapper.d.ts","sourceRoot":"","sources":["../../../../src/error-overlay/react-overlay/utils/unmapper.ts"],"names":[],"mappings":"AAiBA,OAAO,EACN,cAAc,EAEd,sBAAsB,EACtB,MAAM,eAAe,CAAC;AASvB,eAAO,MAAM,KAAK,WACT,cAAc,EAAE,gBACV,MAAM,KAClB,QAAQ,sBAAsB,EAAE,CA+ClC,CAAC"}
|
|
@@ -40,10 +40,11 @@ const unmap = async (frames, contextLines) => {
|
|
|
40
40
|
return frame.frame;
|
|
41
41
|
}
|
|
42
42
|
const map = mapValues[frame.frame.fileName];
|
|
43
|
-
const pos =
|
|
43
|
+
const pos = (0, get_source_map_1.getOriginalPosition)(map, frame.frame.lineNumber, frame.frame.columnNumber);
|
|
44
44
|
const { functionName } = frame.frame;
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
let hasSource = null;
|
|
46
|
+
hasSource = pos.source ? map.sourceContentFor(pos.source, false) : null;
|
|
47
|
+
const scriptCode = hasSource && pos.line
|
|
47
48
|
? (0, get_lines_around_1.getLinesAround)(pos.line, contextLines, hasSource.split('\n'))
|
|
48
49
|
: null;
|
|
49
50
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unmapper.js","sourceRoot":"","sources":["../../../../src/error-overlay/react-overlay/utils/unmapper.ts"],"names":[],"mappings":";AAAA;;EAEE;;;AAEF,2BAA2B;AAC3B,+BAA+B;AAC/B;;;;;GAKG;AAEH,uCAAmC;
|
|
1
|
+
{"version":3,"file":"unmapper.js","sourceRoot":"","sources":["../../../../src/error-overlay/react-overlay/utils/unmapper.ts"],"names":[],"mappings":";AAAA;;EAEE;;;AAEF,2BAA2B;AAC3B,+BAA+B;AAC/B;;;;;GAKG;AAEH,uCAAmC;AAEnC,yDAAkD;AAClD,qDAAmE;AAOnE,MAAM,eAAe,GAAG,KAAK,EAAE,QAAgB,EAAE,EAAE;IAClD,MAAM,GAAG,GAAG,MAAM,KAAK,CAAC,QAAkB,CAAC,CAAC;IAC5C,MAAM,YAAY,GAAG,MAAM,GAAG,CAAC,IAAI,EAAE,CAAC;IAEtC,OAAO,YAAY,CAAC;AACrB,CAAC,CAAC;AAEK,MAAM,KAAK,GAAG,KAAK,EACzB,MAAwB,EACxB,YAAoB,EACgB,EAAE;IACtC,MAAM,UAAU,GAAG,MAAM;SACvB,MAA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AAG,KAAK,CAAC,KAAK,CAAC;QACnC,IAAI,SAAS,GAAkB,IAAI,CAAC;QACpC,SAAS,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,gBAAgB,CAAC,GAAG,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QAExE,MAAM,UAAU,GACf,SAAS,IAAI,GAAG,CAAC,IAAI;YACpB,CAAC,CAAC,IAAA,iCAAc,EAAC,GAAG,CAAC,IAAI,EAAE,YAAY,EAAE,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;YAC/D,CAAC,CAAC,IAAI,CAAC;QAET,OAAO;YACN,oBAAoB,EAAE,GAAG,CAAC,MAAM;YAChC,gBAAgB,EAAE,GAAG,CAAC,MAAM;YAC5B,oBAAoB,EAAE,YAAY;YAClC,kBAAkB,EAAE,GAAG,CAAC,IAAI;YAC5B,kBAAkB,EAAE,UAAU;SAC9B,CAAC;IACH,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AAlDW,QAAA,KAAK,SAkDhB"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|