@teambit/react 1.0.401 → 1.0.403
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/{compositions-1725765635764.js → compositions-1725971117135.js} +1 -1
- package/dist/{preview-1725765635764.js → preview-1725971117135.js} +2 -2
- package/dist/webpack/overlay/webpackHotDevClient.js +1 -1
- package/dist/webpack/overlay/webpackHotDevClient.js.map +1 -1
- package/{overview-1725765635764.js → overview-1725971117135.js} +1 -1
- package/package.json +33 -33
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { linkModules } from '/home/circleci/.bvm/versions/1.
|
|
2
|
+
import { linkModules } from '/home/circleci/.bvm/versions/1.8.52/bit-1.8.52/node_modules/@teambit/preview/dist/preview.preview.runtime.js';
|
|
3
3
|
|
|
4
4
|
import {defaultMainModule} from "/home/circleci/bit/bit/node_modules/@teambit/_local/preview-modules-aa880bdba40b9af1d8fe895dca476e207182accb.mjs";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.react_react@1.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.react_react@1.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.react_react@1.0.403/dist/react.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.react_react@1.0.403/dist/react.docs.mdx';
|
|
3
3
|
|
|
4
4
|
export const compositions = [compositions_0];
|
|
5
5
|
export const overview = [overview_0];
|
|
@@ -262,7 +262,7 @@ function tryApplyUpdates(onHotUpdateSuccess) {
|
|
|
262
262
|
}
|
|
263
263
|
|
|
264
264
|
// https://webpack.github.io/docs/hot-module-replacement.html#check
|
|
265
|
-
var result = module.hot.check(
|
|
265
|
+
var result = module.hot.check(/* autoApply */true, handleApplyUpdates);
|
|
266
266
|
|
|
267
267
|
// // webpack 2 returns a Promise instead of invoking a callback
|
|
268
268
|
if (result && result.then) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["stripAnsi","require","url","launchEditorEndpoint","formatWebpackMessages","ErrorOverlay","setEditorHandler","editorHandler","errorLocation","fetch","window","encodeURIComponent","fileName","lineNumber","colNumber","hadRuntimeError","startReportingRuntimeErrors","onError","filename","module","hot","dispose","stopReportingRuntimeErrors","querystring","id","substring","indexOf","urlParams","URLSearchParams","connection","WebSocket","format","protocol","location","hostname","port","pathname","get","slashes","onclose","console","info","isFirstCompilation","mostRecentCompilationHash","hasCompileErrors","clearOutdatedErrors","clear","handleSuccess","isHotUpdate","tryApplyUpdates","onHotUpdateSuccess","tryDismissErrorOverlay","handleWarnings","warnings","printWarnings","formatted","errors","warn","i","length","onSuccessfulHotUpdate","handleErrors","reportBuildError","error","parent","postMessage","event","dismissBuildError","handleAvailableHash","hash","onmessage","e","message","JSON","parse","data","type","reload","isUpdateAvailable","__webpack_hash__","canApplyUpdates","status","canAcceptErrors","hasReactRefresh","process","env","FAST_REFRESH","handleApplyUpdates","err","updatedModules","haveErrors","needsForcedReload","result","check","then"],"sources":["webpackHotDevClient.js"],"sourcesContent":["/* eslint-disable */\n/*\n * this file was copied as is from `react-dev-utils/webpackHotDevClient`\n * and adjusted for our socket url.\n *\n * we use just set process.env.WDS_* with the EnvironmentPlugin or DefinePlugin\n * once we get react-error-overlay up and running again\n */\n\n/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n// This alternative WebpackDevServer combines the functionality of:\n// https://github.com/webpack/webpack-dev-server/blob/webpack-1/client/index.js\n// https://github.com/webpack/webpack/blob/webpack-1/hot/dev-server.js\n\n// It only supports their simplest configuration (hot updates on same server).\n// It makes some opinionated choices on top, like adding a syntax error overlay\n// that looks similar to our console output. The error overlay is inspired by:\n// https://github.com/glenjamin/webpack-hot-middleware\n\nvar stripAnsi = require('strip-ansi');\nvar url = require('url');\nvar launchEditorEndpoint = require('./launchEditorEndpoint');\nvar formatWebpackMessages = require('./formatWebpackMessages');\nvar ErrorOverlay = require('react-error-overlay');\n\nErrorOverlay.setEditorHandler(function editorHandler(errorLocation) {\n // Keep this sync with errorOverlayMiddleware.js\n fetch(\n launchEditorEndpoint +\n '?fileName=' +\n window.encodeURIComponent(errorLocation.fileName) +\n '&lineNumber=' +\n window.encodeURIComponent(errorLocation.lineNumber || 1) +\n '&colNumber=' +\n window.encodeURIComponent(errorLocation.colNumber || 1)\n );\n});\n\n// We need to keep track of if there has been a runtime error.\n// Essentially, we cannot guarantee application state was not corrupted by the\n// runtime error. To prevent confusing behavior, we forcibly reload the entire\n// application. This is handled below when we are notified of a compile (code\n// change).\n// See https://github.com/facebook/create-react-app/issues/3096\nvar hadRuntimeError = false;\nErrorOverlay.startReportingRuntimeErrors({\n onError: function () {\n hadRuntimeError = true;\n },\n filename: '/static/js/bundle.js',\n});\n\nif (module.hot && typeof module.hot.dispose === 'function') {\n module.hot.dispose(function () {\n // TODO: why do we need this?\n ErrorOverlay.stopReportingRuntimeErrors();\n });\n}\n\nconst querystring = module.id.substring(module.id.indexOf('?'));\nconst urlParams = new URLSearchParams(querystring);\n\n// Connect to WebpackDevServer via a socket.\nvar connection = new WebSocket(\n url.format({\n protocol: window.location.protocol === 'https:' ? 'wss' : 'ws',\n hostname: window.location.hostname,\n port: window.location.port,\n pathname: urlParams.get('sockPath') || '/ws',\n slashes: true,\n })\n);\n\n// Unlike WebpackDevServer client, we won't try to reconnect\n// to avoid spamming the console. Disconnect usually happens\n// when developer stops the server.\nconnection.onclose = function () {\n if (typeof console !== 'undefined' && typeof console.info === 'function') {\n console.info('The development server has disconnected.\\nRefresh the page if necessary.');\n }\n};\n\n// Remember some state related to hot module replacement.\nvar isFirstCompilation = true;\nvar mostRecentCompilationHash = null;\nvar hasCompileErrors = false;\n\nfunction clearOutdatedErrors() {\n // Clean up outdated compile errors, if any.\n if (typeof console !== 'undefined' && typeof console.clear === 'function') {\n if (hasCompileErrors) {\n console.clear();\n }\n }\n}\n\n// Successful compilation.\nfunction handleSuccess() {\n clearOutdatedErrors();\n\n var isHotUpdate = !isFirstCompilation;\n isFirstCompilation = false;\n hasCompileErrors = false;\n\n // Attempt to apply hot updates or reload.\n if (isHotUpdate) {\n tryApplyUpdates(function onHotUpdateSuccess() {\n // Only dismiss it when we're sure it's a hot update.\n // Otherwise it would flicker right before the reload.\n tryDismissErrorOverlay();\n });\n }\n}\n\n// Compilation with warnings (e.g. ESLint).\nfunction handleWarnings(warnings) {\n clearOutdatedErrors();\n\n var isHotUpdate = !isFirstCompilation;\n isFirstCompilation = false;\n hasCompileErrors = false;\n\n function printWarnings() {\n // Print warnings to the console.\n var formatted = formatWebpackMessages({\n warnings: warnings,\n errors: [],\n });\n\n if (typeof console !== 'undefined' && typeof console.warn === 'function') {\n for (var i = 0; i < formatted.warnings.length; i++) {\n if (i === 5) {\n console.warn('There were more warnings in other files.\\n' + 'You can find a complete log in the terminal.');\n break;\n }\n console.warn(stripAnsi(formatted.warnings[i]));\n }\n }\n }\n\n printWarnings();\n\n // Attempt to apply hot updates or reload.\n if (isHotUpdate) {\n tryApplyUpdates(function onSuccessfulHotUpdate() {\n // Only dismiss it when we're sure it's a hot update.\n // Otherwise it would flicker right before the reload.\n tryDismissErrorOverlay();\n });\n }\n}\n\n// Compilation with errors (e.g. syntax error or missing modules).\nfunction handleErrors(errors) {\n clearOutdatedErrors();\n\n isFirstCompilation = false;\n hasCompileErrors = true;\n\n // \"Massage\" webpack messages.\n var formatted = formatWebpackMessages({\n errors: errors,\n warnings: [],\n });\n\n // Only show the first error.\n ErrorOverlay.reportBuildError(formatted.errors[0]);\n\n // Also log them to the console.\n if (typeof console !== 'undefined' && typeof console.error === 'function') {\n for (var i = 0; i < formatted.errors.length; i++) {\n console.error(stripAnsi(formatted.errors[i]));\n }\n }\n\n // only send loaded event when mounted in an iframe\n if (window.parent && window !== window.parent) {\n window.parent.postMessage({ event: 'webpackInvalid' }, '*');\n }\n // Do not attempt to reload now.\n // We will reload on next success instead.\n}\n\nfunction tryDismissErrorOverlay() {\n if (!hasCompileErrors) {\n ErrorOverlay.dismissBuildError();\n }\n}\n\n// There is a newer version of the code available.\nfunction handleAvailableHash(hash) {\n // Update last known compilation hash.\n mostRecentCompilationHash = hash;\n}\n\n// Handle messages from the server.\nconnection.onmessage = function (e) {\n var message = JSON.parse(e.data);\n switch (message.type) {\n case 'hash':\n handleAvailableHash(message.data);\n break;\n case 'still-ok':\n case 'ok':\n handleSuccess();\n break;\n case 'content-changed':\n // Triggered when a file from `contentBase` changed.\n window.location.reload();\n break;\n case 'warnings':\n handleWarnings(message.data);\n break;\n case 'errors':\n handleErrors(message.data);\n break;\n default:\n // Do nothing.\n }\n};\n\n// Is there a newer version of this code available?\nfunction isUpdateAvailable() {\n /* globals __webpack_hash__ */\n // __webpack_hash__ is the hash of the current compilation.\n // It's a global variable injected by webpack.\n return mostRecentCompilationHash !== __webpack_hash__;\n}\n\n// webpack disallows updates in other states.\nfunction canApplyUpdates() {\n return module.hot.status() === 'idle';\n}\n\nfunction canAcceptErrors() {\n // NOTE: This var is injected by Webpack's DefinePlugin, and is a boolean instead of string.\n const hasReactRefresh = process.env.FAST_REFRESH;\n\n const status = module.hot.status();\n // React refresh can handle hot-reloading over errors.\n // However, when hot-reload status is abort or fail,\n // it indicates the current update cannot be applied safely,\n // and thus we should bail out to a forced reload for consistency.\n return hasReactRefresh && ['abort', 'fail'].indexOf(status) === -1;\n}\n\n// Attempt to update code on the fly, fall back to a hard reload.\nfunction tryApplyUpdates(onHotUpdateSuccess) {\n if (!module.hot) {\n // HotModuleReplacementPlugin is not in webpack configuration.\n window.location.reload();\n return;\n }\n\n if (!isUpdateAvailable() || !canApplyUpdates()) {\n return;\n }\n\n function handleApplyUpdates(err, updatedModules) {\n const haveErrors = err || hadRuntimeError;\n // When there is no error but updatedModules is unavailable,\n // it indicates a critical failure in hot-reloading,\n // e.g. server is not ready to serve new bundle,\n // and hence we need to do a forced reload.\n const needsForcedReload = !err && !updatedModules;\n if ((haveErrors && !canAcceptErrors()) || needsForcedReload) {\n window.location.reload();\n return;\n }\n\n if (typeof onHotUpdateSuccess === 'function') {\n // Maybe we want to do something.\n onHotUpdateSuccess();\n }\n\n if (isUpdateAvailable()) {\n // While we were updating, there was a new update! Do it again.\n tryApplyUpdates();\n }\n }\n\n // https://webpack.github.io/docs/hot-module-replacement.html#check\n var result = module.hot.check(/* autoApply */ true, handleApplyUpdates);\n\n // // webpack 2 returns a Promise instead of invoking a callback\n if (result && result.then) {\n result.then(\n function (updatedModules) {\n handleApplyUpdates(null, updatedModules);\n },\n function (err) {\n handleApplyUpdates(err, null);\n }\n );\n }\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,YAAY;;AAEZ;AACA;AACA;;AAEA;AACA;AACA;AACA;AAEA,IAAIA,SAAS,GAAGC,OAAO,CAAC,YAAY,CAAC;AACrC,IAAIC,GAAG,GAAGD,OAAO,CAAC,KAAK,CAAC;AACxB,IAAIE,oBAAoB,GAAGF,OAAO,CAAC,wBAAwB,CAAC;AAC5D,IAAIG,qBAAqB,GAAGH,OAAO,CAAC,yBAAyB,CAAC;AAC9D,IAAII,YAAY,GAAGJ,OAAO,CAAC,qBAAqB,CAAC;AAEjDI,YAAY,CAACC,gBAAgB,CAAC,SAASC,aAAaA,CAACC,aAAa,EAAE;EAClE;EACAC,KAAK,CACHN,oBAAoB,GAClB,YAAY,GACZO,MAAM,CAACC,kBAAkB,CAACH,aAAa,CAACI,QAAQ,CAAC,GACjD,cAAc,GACdF,MAAM,CAACC,kBAAkB,CAACH,aAAa,CAACK,UAAU,IAAI,CAAC,CAAC,GACxD,aAAa,GACbH,MAAM,CAACC,kBAAkB,CAACH,aAAa,C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AAkB,EAAE;EAC3C,IAAI,CAAC/B,MAAM,CAACC,GAAG,EAAE;IACf;IACAV,MAAM,CAACuB,QAAQ,CAAC4C,MAAM,CAAC,CAAC;IACxB;EACF;EAEA,IAAI,CAACC,iBAAiB,CAAC,CAAC,IAAI,CAACE,eAAe,CAAC,CAAC,EAAE;IAC9C;EACF;EAEA,SAASO,kBAAkBA,CAACC,GAAG,EAAEC,cAAc,EAAE;IAC/C,MAAMC,UAAU,GAAGF,GAAG,IAAIzE,eAAe;IACzC;IACA;IACA;IACA;IACA,MAAM4E,iBAAiB,GAAG,CAACH,GAAG,IAAI,CAACC,cAAc;IACjD,IAAKC,UAAU,IAAI,CAACR,eAAe,CAAC,CAAC,IAAKS,iBAAiB,EAAE;MAC3DjF,MAAM,CAACuB,QAAQ,CAAC4C,MAAM,CAAC,CAAC;MACxB;IACF;IAEA,IAAI,OAAO3B,kBAAkB,KAAK,UAAU,EAAE;MAC5C;MACAA,kBAAkB,CAAC,CAAC;IACtB;IAEA,IAAI4B,iBAAiB,CAAC,CAAC,EAAE;MACvB;MACA7B,eAAe,CAAC,CAAC;IACnB;EACF;;EAEA;EACA,IAAI2C,MAAM,GAAGzE,MAAM,CAACC,GAAG,CAACyE,KAAK,EAAC,eAAgB,IAAI,EAAEN,kBAAkB,CAAC;;EAEvE;EACA,IAAIK,MAAM,IAAIA,MAAM,CAACE,IAAI,EAAE;IACzBF,MAAM,CAACE,IAAI,CACT,UAAUL,cAAc,EAAE;MACxBF,kBAAkB,CAAC,IAAI,EAAEE,cAAc,CAAC;IAC1C,CAAC,EACD,UAAUD,GAAG,EAAE;MACbD,kBAAkB,CAACC,GAAG,EAAE,IAAI,CAAC;IAC/B,CACF,CAAC;EACH;AACF","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["stripAnsi","require","url","launchEditorEndpoint","formatWebpackMessages","ErrorOverlay","setEditorHandler","editorHandler","errorLocation","fetch","window","encodeURIComponent","fileName","lineNumber","colNumber","hadRuntimeError","startReportingRuntimeErrors","onError","filename","module","hot","dispose","stopReportingRuntimeErrors","querystring","id","substring","indexOf","urlParams","URLSearchParams","connection","WebSocket","format","protocol","location","hostname","port","pathname","get","slashes","onclose","console","info","isFirstCompilation","mostRecentCompilationHash","hasCompileErrors","clearOutdatedErrors","clear","handleSuccess","isHotUpdate","tryApplyUpdates","onHotUpdateSuccess","tryDismissErrorOverlay","handleWarnings","warnings","printWarnings","formatted","errors","warn","i","length","onSuccessfulHotUpdate","handleErrors","reportBuildError","error","parent","postMessage","event","dismissBuildError","handleAvailableHash","hash","onmessage","e","message","JSON","parse","data","type","reload","isUpdateAvailable","__webpack_hash__","canApplyUpdates","status","canAcceptErrors","hasReactRefresh","process","env","FAST_REFRESH","handleApplyUpdates","err","updatedModules","haveErrors","needsForcedReload","result","check","then"],"sources":["webpackHotDevClient.js"],"sourcesContent":["/* eslint-disable */\n/*\n * this file was copied as is from `react-dev-utils/webpackHotDevClient`\n * and adjusted for our socket url.\n *\n * we use just set process.env.WDS_* with the EnvironmentPlugin or DefinePlugin\n * once we get react-error-overlay up and running again\n */\n\n/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n// This alternative WebpackDevServer combines the functionality of:\n// https://github.com/webpack/webpack-dev-server/blob/webpack-1/client/index.js\n// https://github.com/webpack/webpack/blob/webpack-1/hot/dev-server.js\n\n// It only supports their simplest configuration (hot updates on same server).\n// It makes some opinionated choices on top, like adding a syntax error overlay\n// that looks similar to our console output. The error overlay is inspired by:\n// https://github.com/glenjamin/webpack-hot-middleware\n\nvar stripAnsi = require('strip-ansi');\nvar url = require('url');\nvar launchEditorEndpoint = require('./launchEditorEndpoint');\nvar formatWebpackMessages = require('./formatWebpackMessages');\nvar ErrorOverlay = require('react-error-overlay');\n\nErrorOverlay.setEditorHandler(function editorHandler(errorLocation) {\n // Keep this sync with errorOverlayMiddleware.js\n fetch(\n launchEditorEndpoint +\n '?fileName=' +\n window.encodeURIComponent(errorLocation.fileName) +\n '&lineNumber=' +\n window.encodeURIComponent(errorLocation.lineNumber || 1) +\n '&colNumber=' +\n window.encodeURIComponent(errorLocation.colNumber || 1)\n );\n});\n\n// We need to keep track of if there has been a runtime error.\n// Essentially, we cannot guarantee application state was not corrupted by the\n// runtime error. To prevent confusing behavior, we forcibly reload the entire\n// application. This is handled below when we are notified of a compile (code\n// change).\n// See https://github.com/facebook/create-react-app/issues/3096\nvar hadRuntimeError = false;\nErrorOverlay.startReportingRuntimeErrors({\n onError: function () {\n hadRuntimeError = true;\n },\n filename: '/static/js/bundle.js',\n});\n\nif (module.hot && typeof module.hot.dispose === 'function') {\n module.hot.dispose(function () {\n // TODO: why do we need this?\n ErrorOverlay.stopReportingRuntimeErrors();\n });\n}\n\nconst querystring = module.id.substring(module.id.indexOf('?'));\nconst urlParams = new URLSearchParams(querystring);\n\n// Connect to WebpackDevServer via a socket.\nvar connection = new WebSocket(\n url.format({\n protocol: window.location.protocol === 'https:' ? 'wss' : 'ws',\n hostname: window.location.hostname,\n port: window.location.port,\n pathname: urlParams.get('sockPath') || '/ws',\n slashes: true,\n })\n);\n\n// Unlike WebpackDevServer client, we won't try to reconnect\n// to avoid spamming the console. Disconnect usually happens\n// when developer stops the server.\nconnection.onclose = function () {\n if (typeof console !== 'undefined' && typeof console.info === 'function') {\n console.info('The development server has disconnected.\\nRefresh the page if necessary.');\n }\n};\n\n// Remember some state related to hot module replacement.\nvar isFirstCompilation = true;\nvar mostRecentCompilationHash = null;\nvar hasCompileErrors = false;\n\nfunction clearOutdatedErrors() {\n // Clean up outdated compile errors, if any.\n if (typeof console !== 'undefined' && typeof console.clear === 'function') {\n if (hasCompileErrors) {\n console.clear();\n }\n }\n}\n\n// Successful compilation.\nfunction handleSuccess() {\n clearOutdatedErrors();\n\n var isHotUpdate = !isFirstCompilation;\n isFirstCompilation = false;\n hasCompileErrors = false;\n\n // Attempt to apply hot updates or reload.\n if (isHotUpdate) {\n tryApplyUpdates(function onHotUpdateSuccess() {\n // Only dismiss it when we're sure it's a hot update.\n // Otherwise it would flicker right before the reload.\n tryDismissErrorOverlay();\n });\n }\n}\n\n// Compilation with warnings (e.g. ESLint).\nfunction handleWarnings(warnings) {\n clearOutdatedErrors();\n\n var isHotUpdate = !isFirstCompilation;\n isFirstCompilation = false;\n hasCompileErrors = false;\n\n function printWarnings() {\n // Print warnings to the console.\n var formatted = formatWebpackMessages({\n warnings: warnings,\n errors: [],\n });\n\n if (typeof console !== 'undefined' && typeof console.warn === 'function') {\n for (var i = 0; i < formatted.warnings.length; i++) {\n if (i === 5) {\n console.warn('There were more warnings in other files.\\n' + 'You can find a complete log in the terminal.');\n break;\n }\n console.warn(stripAnsi(formatted.warnings[i]));\n }\n }\n }\n\n printWarnings();\n\n // Attempt to apply hot updates or reload.\n if (isHotUpdate) {\n tryApplyUpdates(function onSuccessfulHotUpdate() {\n // Only dismiss it when we're sure it's a hot update.\n // Otherwise it would flicker right before the reload.\n tryDismissErrorOverlay();\n });\n }\n}\n\n// Compilation with errors (e.g. syntax error or missing modules).\nfunction handleErrors(errors) {\n clearOutdatedErrors();\n\n isFirstCompilation = false;\n hasCompileErrors = true;\n\n // \"Massage\" webpack messages.\n var formatted = formatWebpackMessages({\n errors: errors,\n warnings: [],\n });\n\n // Only show the first error.\n ErrorOverlay.reportBuildError(formatted.errors[0]);\n\n // Also log them to the console.\n if (typeof console !== 'undefined' && typeof console.error === 'function') {\n for (var i = 0; i < formatted.errors.length; i++) {\n console.error(stripAnsi(formatted.errors[i]));\n }\n }\n\n // only send loaded event when mounted in an iframe\n if (window.parent && window !== window.parent) {\n window.parent.postMessage({ event: 'webpackInvalid' }, '*');\n }\n // Do not attempt to reload now.\n // We will reload on next success instead.\n}\n\nfunction tryDismissErrorOverlay() {\n if (!hasCompileErrors) {\n ErrorOverlay.dismissBuildError();\n }\n}\n\n// There is a newer version of the code available.\nfunction handleAvailableHash(hash) {\n // Update last known compilation hash.\n mostRecentCompilationHash = hash;\n}\n\n// Handle messages from the server.\nconnection.onmessage = function (e) {\n var message = JSON.parse(e.data);\n switch (message.type) {\n case 'hash':\n handleAvailableHash(message.data);\n break;\n case 'still-ok':\n case 'ok':\n handleSuccess();\n break;\n case 'content-changed':\n // Triggered when a file from `contentBase` changed.\n window.location.reload();\n break;\n case 'warnings':\n handleWarnings(message.data);\n break;\n case 'errors':\n handleErrors(message.data);\n break;\n default:\n // Do nothing.\n }\n};\n\n// Is there a newer version of this code available?\nfunction isUpdateAvailable() {\n /* globals __webpack_hash__ */\n // __webpack_hash__ is the hash of the current compilation.\n // It's a global variable injected by webpack.\n return mostRecentCompilationHash !== __webpack_hash__;\n}\n\n// webpack disallows updates in other states.\nfunction canApplyUpdates() {\n return module.hot.status() === 'idle';\n}\n\nfunction canAcceptErrors() {\n // NOTE: This var is injected by Webpack's DefinePlugin, and is a boolean instead of string.\n const hasReactRefresh = process.env.FAST_REFRESH;\n\n const status = module.hot.status();\n // React refresh can handle hot-reloading over errors.\n // However, when hot-reload status is abort or fail,\n // it indicates the current update cannot be applied safely,\n // and thus we should bail out to a forced reload for consistency.\n return hasReactRefresh && ['abort', 'fail'].indexOf(status) === -1;\n}\n\n// Attempt to update code on the fly, fall back to a hard reload.\nfunction tryApplyUpdates(onHotUpdateSuccess) {\n if (!module.hot) {\n // HotModuleReplacementPlugin is not in webpack configuration.\n window.location.reload();\n return;\n }\n\n if (!isUpdateAvailable() || !canApplyUpdates()) {\n return;\n }\n\n function handleApplyUpdates(err, updatedModules) {\n const haveErrors = err || hadRuntimeError;\n // When there is no error but updatedModules is unavailable,\n // it indicates a critical failure in hot-reloading,\n // e.g. server is not ready to serve new bundle,\n // and hence we need to do a forced reload.\n const needsForcedReload = !err && !updatedModules;\n if ((haveErrors && !canAcceptErrors()) || needsForcedReload) {\n window.location.reload();\n return;\n }\n\n if (typeof onHotUpdateSuccess === 'function') {\n // Maybe we want to do something.\n onHotUpdateSuccess();\n }\n\n if (isUpdateAvailable()) {\n // While we were updating, there was a new update! Do it again.\n tryApplyUpdates();\n }\n }\n\n // https://webpack.github.io/docs/hot-module-replacement.html#check\n var result = module.hot.check(/* autoApply */ true, handleApplyUpdates);\n\n // // webpack 2 returns a Promise instead of invoking a callback\n if (result && result.then) {\n result.then(\n function (updatedModules) {\n handleApplyUpdates(null, updatedModules);\n },\n function (err) {\n handleApplyUpdates(err, null);\n }\n );\n }\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,YAAY;;AAEZ;AACA;AACA;;AAEA;AACA;AACA;AACA;AAEA,IAAIA,SAAS,GAAGC,OAAO,CAAC,YAAY,CAAC;AACrC,IAAIC,GAAG,GAAGD,OAAO,CAAC,KAAK,CAAC;AACxB,IAAIE,oBAAoB,GAAGF,OAAO,CAAC,wBAAwB,CAAC;AAC5D,IAAIG,qBAAqB,GAAGH,OAAO,CAAC,yBAAyB,CAAC;AAC9D,IAAII,YAAY,GAAGJ,OAAO,CAAC,qBAAqB,CAAC;AAEjDI,YAAY,CAACC,gBAAgB,CAAC,SAASC,aAAaA,CAACC,aAAa,EAAE;EAClE;EACAC,KAAK,CACHN,oBAAoB,GAClB,YAAY,GACZO,MAAM,CAACC,kBAAkB,CAACH,aAAa,CAACI,QAAQ,CAAC,GACjD,cAAc,GACdF,MAAM,CAACC,kBAAkB,CAACH,aAAa,CAACK,UAAU,IAAI,CAAC,CAAC,GACxD,aAAa,GACbH,MAAM,CAACC,kBAAkB,CAACH,aAAa,CAACM,SAAS,IAAI,CAAC,CAC1D,CAAC;AACH,CAAC,CAAC;;AAEF;AACA;AACA;AACA;AACA;AACA;AACA,IAAIC,eAAe,GAAG,KAAK;AAC3BV,YAAY,CAACW,2BAA2B,CAAC;EACvCC,OAAO,EAAE,SAAAA,CAAA,EAAY;IACnBF,eAAe,GAAG,IAAI;EACxB,CAAC;EACDG,QAAQ,EAAE;AACZ,CAAC,CAAC;A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E;IAC/C,MAAMC,UAAU,GAAGF,GAAG,IAAIzE,eAAe;IACzC;IACA;IACA;IACA;IACA,MAAM4E,iBAAiB,GAAG,CAACH,GAAG,IAAI,CAACC,cAAc;IACjD,IAAKC,UAAU,IAAI,CAACR,eAAe,CAAC,CAAC,IAAKS,iBAAiB,EAAE;MAC3DjF,MAAM,CAACuB,QAAQ,CAAC4C,MAAM,CAAC,CAAC;MACxB;IACF;IAEA,IAAI,OAAO3B,kBAAkB,KAAK,UAAU,EAAE;MAC5C;MACAA,kBAAkB,CAAC,CAAC;IACtB;IAEA,IAAI4B,iBAAiB,CAAC,CAAC,EAAE;MACvB;MACA7B,eAAe,CAAC,CAAC;IACnB;EACF;;EAEA;EACA,IAAI2C,MAAM,GAAGzE,MAAM,CAACC,GAAG,CAACyE,KAAK,CAAC,eAAgB,IAAI,EAAEN,kBAAkB,CAAC;;EAEvE;EACA,IAAIK,MAAM,IAAIA,MAAM,CAACE,IAAI,EAAE;IACzBF,MAAM,CAACE,IAAI,CACT,UAAUL,cAAc,EAAE;MACxBF,kBAAkB,CAAC,IAAI,EAAEE,cAAc,CAAC;IAC1C,CAAC,EACD,UAAUD,GAAG,EAAE;MACbD,kBAAkB,CAACC,GAAG,EAAE,IAAI,CAAC;IAC/B,CACF,CAAC;EACH;AACF","ignoreList":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { linkModules } from '/home/circleci/.bvm/versions/1.
|
|
2
|
+
import { linkModules } from '/home/circleci/.bvm/versions/1.8.52/bit-1.8.52/node_modules/@teambit/preview/dist/preview.preview.runtime.js';
|
|
3
3
|
|
|
4
4
|
import {defaultMainModule} from "/home/circleci/bit/bit/node_modules/@teambit/_local/preview-modules-0557d705b67dd1e1bccbac0bd34835a41036cf72.mjs";
|
|
5
5
|
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/react",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.403",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/react/react",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.react",
|
|
8
8
|
"name": "react",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.403"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"eslint": "8.56.0",
|
|
@@ -23,11 +23,12 @@
|
|
|
23
23
|
"css-minimizer-webpack-plugin": "^6.0.0",
|
|
24
24
|
"terser-webpack-plugin": "5.2.0",
|
|
25
25
|
"webpack": "5.84.1",
|
|
26
|
-
"@svgr/webpack": "
|
|
26
|
+
"@svgr/webpack": "8.1.0",
|
|
27
27
|
"css-loader": "6.2.0",
|
|
28
28
|
"less-loader": "10.0.0",
|
|
29
29
|
"mini-css-extract-plugin": "2.2.2",
|
|
30
30
|
"new-url-loader": "0.1.1",
|
|
31
|
+
"postcss-loader": "7.0.1",
|
|
31
32
|
"react-dev-utils": "11.0.4",
|
|
32
33
|
"resolve-url-loader": "5.0.0",
|
|
33
34
|
"sass-loader": "13.3.2",
|
|
@@ -35,7 +36,6 @@
|
|
|
35
36
|
"@babel/preset-env": "7.23.2",
|
|
36
37
|
"@babel/preset-react": "7.22.15",
|
|
37
38
|
"babel-loader": "9.1.2",
|
|
38
|
-
"postcss-loader": "7.0.1",
|
|
39
39
|
"@pmmmwh/react-refresh-webpack-plugin": "0.5.4",
|
|
40
40
|
"react-refresh": "0.10.0",
|
|
41
41
|
"source-map-loader": "3.0.0",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@prerenderer/prerenderer": "^1.2.0",
|
|
46
46
|
"@prerenderer/renderer-jsdom": "^1.1.2",
|
|
47
47
|
"@prerenderer/webpack-plugin": "^5.2.0",
|
|
48
|
-
"express": "4.
|
|
48
|
+
"express": "4.19.2",
|
|
49
49
|
"url-join": "4.0.1",
|
|
50
50
|
"@babel/runtime": "7.23.2",
|
|
51
51
|
"less": "^4.1.1",
|
|
@@ -83,42 +83,42 @@
|
|
|
83
83
|
"@teambit/react.rendering.ssr": "0.0.3",
|
|
84
84
|
"@teambit/design.ui.tooltip": "0.0.371",
|
|
85
85
|
"@teambit/semantics.entities.semantic-schema": "0.0.70",
|
|
86
|
-
"@teambit/typescript": "1.0.
|
|
87
|
-
"@teambit/builder": "1.0.
|
|
88
|
-
"@teambit/bundler": "1.0.
|
|
89
|
-
"@teambit/compiler": "1.0.
|
|
86
|
+
"@teambit/typescript": "1.0.403",
|
|
87
|
+
"@teambit/builder": "1.0.403",
|
|
88
|
+
"@teambit/bundler": "1.0.403",
|
|
89
|
+
"@teambit/compiler": "1.0.403",
|
|
90
90
|
"@teambit/component.modules.component-url": "0.0.167",
|
|
91
|
-
"@teambit/component": "1.0.
|
|
91
|
+
"@teambit/component": "1.0.403",
|
|
92
92
|
"@teambit/defender.eslint.config-mutator": "0.0.103",
|
|
93
93
|
"@teambit/defender.prettier.config-mutator": "0.0.100",
|
|
94
|
-
"@teambit/dependency-resolver": "1.0.
|
|
95
|
-
"@teambit/dev-files": "1.0.
|
|
96
|
-
"@teambit/envs": "1.0.
|
|
97
|
-
"@teambit/formatter": "1.0.
|
|
98
|
-
"@teambit/linter": "1.0.
|
|
99
|
-
"@teambit/logger": "0.0.
|
|
100
|
-
"@teambit/pkg": "1.0.
|
|
101
|
-
"@teambit/preview": "1.0.
|
|
94
|
+
"@teambit/dependency-resolver": "1.0.403",
|
|
95
|
+
"@teambit/dev-files": "1.0.403",
|
|
96
|
+
"@teambit/envs": "1.0.403",
|
|
97
|
+
"@teambit/formatter": "1.0.403",
|
|
98
|
+
"@teambit/linter": "1.0.403",
|
|
99
|
+
"@teambit/logger": "0.0.1073",
|
|
100
|
+
"@teambit/pkg": "1.0.403",
|
|
101
|
+
"@teambit/preview": "1.0.403",
|
|
102
102
|
"@teambit/react.ui.compositions-app": "0.0.22",
|
|
103
103
|
"@teambit/react.ui.docs-app": "1.0.21",
|
|
104
104
|
"@teambit/react.ui.highlighter.component-metadata.bit-component-meta": "0.0.41",
|
|
105
|
-
"@teambit/schema": "1.0.
|
|
106
|
-
"@teambit/tester": "1.0.
|
|
105
|
+
"@teambit/schema": "1.0.403",
|
|
106
|
+
"@teambit/tester": "1.0.403",
|
|
107
107
|
"@teambit/toolbox.path.path": "0.0.4",
|
|
108
|
-
"@teambit/webpack": "1.0.
|
|
109
|
-
"@teambit/worker": "0.0.
|
|
110
|
-
"@teambit/workspace-config-files": "1.0.
|
|
111
|
-
"@teambit/workspace": "1.0.
|
|
112
|
-
"@teambit/application": "1.0.
|
|
113
|
-
"@teambit/cli": "0.0.
|
|
114
|
-
"@teambit/generator": "1.0.
|
|
115
|
-
"@teambit/graphql": "1.0.
|
|
108
|
+
"@teambit/webpack": "1.0.403",
|
|
109
|
+
"@teambit/worker": "0.0.1284",
|
|
110
|
+
"@teambit/workspace-config-files": "1.0.403",
|
|
111
|
+
"@teambit/workspace": "1.0.403",
|
|
112
|
+
"@teambit/application": "1.0.403",
|
|
113
|
+
"@teambit/cli": "0.0.980",
|
|
114
|
+
"@teambit/generator": "1.0.404",
|
|
115
|
+
"@teambit/graphql": "1.0.403",
|
|
116
116
|
"@teambit/react.ui.highlighter-provider": "0.0.213",
|
|
117
117
|
"@teambit/api-reference.renderers.react": "0.0.31",
|
|
118
|
-
"@teambit/api-reference": "1.0.
|
|
119
|
-
"@teambit/compositions": "1.0.
|
|
120
|
-
"@teambit/ui": "1.0.
|
|
121
|
-
"@teambit/react.eslint-config-bit-react": "1.0.
|
|
118
|
+
"@teambit/api-reference": "1.0.403",
|
|
119
|
+
"@teambit/compositions": "1.0.403",
|
|
120
|
+
"@teambit/ui": "1.0.403",
|
|
121
|
+
"@teambit/react.eslint-config-bit-react": "1.0.216",
|
|
122
122
|
"@teambit/react.babel.bit-react-transformer": "1.0.23",
|
|
123
123
|
"@teambit/webpack.modules.generate-style-loaders": "1.0.11",
|
|
124
124
|
"@teambit/webpack.modules.style-regexps": "1.0.6",
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
"@teambit/react.content.react-overview": "1.95.0"
|
|
147
147
|
},
|
|
148
148
|
"peerDependencies": {
|
|
149
|
-
"@teambit/legacy": "1.0.
|
|
149
|
+
"@teambit/legacy": "1.0.742",
|
|
150
150
|
"react-dom": "^16.8.0 || ^17.0.0",
|
|
151
151
|
"react": "^16.8.0 || ^17.0.0"
|
|
152
152
|
},
|