diff --git a/common/plugin_transpiler/build.mjs b/common/plugin_transpiler/build.mjs index c748c3bddc75..e664128c0609 100755 --- a/common/plugin_transpiler/build.mjs +++ b/common/plugin_transpiler/build.mjs @@ -10,4 +10,4 @@ import * as esbuild from 'esbuild' // eslint-disable-next-line no-console console.log('Build succeeded') } -})() +}()) diff --git a/plugin-server/src/cdp/legacy-plugins/_transformations/posthog-route-censor-plugin/dist.js b/plugin-server/src/cdp/legacy-plugins/_transformations/posthog-route-censor-plugin/dist.js index 732df4679928..db707a65786b 100644 --- a/plugin-server/src/cdp/legacy-plugins/_transformations/posthog-route-censor-plugin/dist.js +++ b/plugin-server/src/cdp/legacy-plugins/_transformations/posthog-route-censor-plugin/dist.js @@ -27,8 +27,8 @@ const checkIsValidHttpUrl = (str) => { /** * Actions represent the type of change to a location value. */ -var Action -;(function (Action) { +var Action; +(function (Action) { /** * A POP indicates a change to an arbitrary index in the history stack, such * as a back or forward navigation. It does not describe the direction of the @@ -50,7 +50,7 @@ var Action */ Action['Replace'] = 'REPLACE' -})(Action || (Action = {})) +}(Action || (Action = {}))); function invariant(value, message) { if (value === false || value === null || typeof value === 'undefined') { throw new Error(message) @@ -98,13 +98,13 @@ function parsePath(path) { return parsedPath } -var ResultType -;(function (ResultType) { +var ResultType; +(function (ResultType) { ResultType['data'] = 'data' ResultType['deferred'] = 'deferred' ResultType['redirect'] = 'redirect' ResultType['error'] = 'error' -})(ResultType || (ResultType = {})) +}(ResultType || (ResultType = {}))); /** * Matches the given routes to a location and returns the match data. *