@teambit/webpack 1.0.40 → 1.0.42
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/config/webpack-fallbacks-aliases.js +1 -2
- package/dist/config/webpack-fallbacks-aliases.js.map +1 -1
- package/dist/config/webpack-fallbacks-provide-plugin-config.js +1 -2
- package/dist/config/webpack-fallbacks-provide-plugin-config.js.map +1 -1
- package/dist/config/webpack-fallbacks.js +1 -2
- package/dist/config/webpack-fallbacks.js.map +1 -1
- package/dist/{preview-1698930721010.js → preview-1699364645970.js} +2 -2
- package/dist/transformers/resolve-peer.js +2 -2
- package/dist/transformers/resolve-peer.js.map +1 -1
- package/dist/webpack.aspect.js +1 -2
- package/dist/webpack.aspect.js.map +1 -1
- package/package.json +9 -9
@@ -4,10 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
5
5
|
});
|
6
6
|
exports.fallbacksAliases = void 0;
|
7
|
-
const fallbacksAliases = {
|
7
|
+
const fallbacksAliases = exports.fallbacksAliases = {
|
8
8
|
process: require.resolve('process/browser'),
|
9
9
|
buffer: require.resolve('buffer/')
|
10
10
|
};
|
11
|
-
exports.fallbacksAliases = fallbacksAliases;
|
12
11
|
|
13
12
|
//# sourceMappingURL=webpack-fallbacks-aliases.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["fallbacksAliases","process","require","resolve","buffer"
|
1
|
+
{"version":3,"names":["fallbacksAliases","exports","process","require","resolve","buffer"],"sources":["webpack-fallbacks-aliases.ts"],"sourcesContent":["export const fallbacksAliases = {\n process: require.resolve('process/browser'),\n buffer: require.resolve('buffer/'),\n};\n"],"mappings":";;;;;;AAAO,MAAMA,gBAAgB,GAAAC,OAAA,CAAAD,gBAAA,GAAG;EAC9BE,OAAO,EAAEC,OAAO,CAACC,OAAO,CAAC,iBAAiB,CAAC;EAC3CC,MAAM,EAAEF,OAAO,CAACC,OAAO,CAAC,SAAS;AACnC,CAAC"}
|
@@ -4,10 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
5
5
|
});
|
6
6
|
exports.fallbacksProvidePluginConfig = void 0;
|
7
|
-
const fallbacksProvidePluginConfig = {
|
7
|
+
const fallbacksProvidePluginConfig = exports.fallbacksProvidePluginConfig = {
|
8
8
|
process: require.resolve('process/browser'),
|
9
9
|
Buffer: [require.resolve('buffer/'), 'Buffer']
|
10
10
|
};
|
11
|
-
exports.fallbacksProvidePluginConfig = fallbacksProvidePluginConfig;
|
12
11
|
|
13
12
|
//# sourceMappingURL=webpack-fallbacks-provide-plugin-config.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["fallbacksProvidePluginConfig","process","require","resolve","Buffer"
|
1
|
+
{"version":3,"names":["fallbacksProvidePluginConfig","exports","process","require","resolve","Buffer"],"sources":["webpack-fallbacks-provide-plugin-config.ts"],"sourcesContent":["export const fallbacksProvidePluginConfig = {\n process: require.resolve('process/browser'),\n Buffer: [require.resolve('buffer/'), 'Buffer'],\n};\n"],"mappings":";;;;;;AAAO,MAAMA,4BAA4B,GAAAC,OAAA,CAAAD,4BAAA,GAAG;EAC1CE,OAAO,EAAEC,OAAO,CAACC,OAAO,CAAC,iBAAiB,CAAC;EAC3CC,MAAM,EAAE,CAACF,OAAO,CAACC,OAAO,CAAC,SAAS,CAAC,EAAE,QAAQ;AAC/C,CAAC"}
|
@@ -31,7 +31,7 @@ const urlFallbackPath = require.resolve('url/');
|
|
31
31
|
const utilFallbackPath = require.resolve('util/');
|
32
32
|
const vmFallbackPath = require.resolve('vm-browserify');
|
33
33
|
const zlibFallbackPath = require.resolve('browserify-zlib');
|
34
|
-
const fallbacks = {
|
34
|
+
const fallbacks = exports.fallbacks = {
|
35
35
|
assert: assertFallbackPath,
|
36
36
|
buffer: bufferFallbackPath,
|
37
37
|
constants: constantsFallbackPath,
|
@@ -63,6 +63,5 @@ const fallbacks = {
|
|
63
63
|
// readline: false,
|
64
64
|
// worker_threads: false,
|
65
65
|
};
|
66
|
-
exports.fallbacks = fallbacks;
|
67
66
|
|
68
67
|
//# sourceMappingURL=webpack-fallbacks.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["assertFallbackPath","require","resolve","bufferFallbackPath","constantsFallbackPath","cryptoFallbackPath","domainFallbackPath","httpFallbackPath","httpsFallbackPath","osFallbackPath","pathFallbackPath","punycodeFallbackPath","processFallbackPath","querystringFallbackPath","streamFallbackPath","string_decoderFallbackPath","sysFallbackPath","timersFallbackPath","ttyFallbackPath","urlFallbackPath","utilFallbackPath","vmFallbackPath","zlibFallbackPath","fallbacks","assert","buffer","constants","crypto","domain","http","https","os","path","punycode","process","querystring","stream","string_decoder","sys","timers","tty","url","util","vm","zlib","fs","net","tls","child_process"
|
1
|
+
{"version":3,"names":["assertFallbackPath","require","resolve","bufferFallbackPath","constantsFallbackPath","cryptoFallbackPath","domainFallbackPath","httpFallbackPath","httpsFallbackPath","osFallbackPath","pathFallbackPath","punycodeFallbackPath","processFallbackPath","querystringFallbackPath","streamFallbackPath","string_decoderFallbackPath","sysFallbackPath","timersFallbackPath","ttyFallbackPath","urlFallbackPath","utilFallbackPath","vmFallbackPath","zlibFallbackPath","fallbacks","exports","assert","buffer","constants","crypto","domain","http","https","os","path","punycode","process","querystring","stream","string_decoder","sys","timers","tty","url","util","vm","zlib","fs","net","tls","child_process"],"sources":["webpack-fallbacks.ts"],"sourcesContent":["// based on https://github1s.com/vercel/next.js/blob/canary/packages/next/build/webpack-config.ts\n// Full list of old polyfills is accessible here:\n// https://github.com/webpack/webpack/blob/2a0536cf510768111a3a6dceeb14cb79b9f59273/lib/ModuleNotFoundError.js#L13-L42\n\nconst assertFallbackPath = require.resolve('assert/');\nconst bufferFallbackPath = require.resolve('buffer/');\nconst constantsFallbackPath = require.resolve('constants-browserify');\nconst cryptoFallbackPath = require.resolve('crypto-browserify');\nconst domainFallbackPath = require.resolve('domain-browser');\nconst httpFallbackPath = require.resolve('stream-http');\nconst httpsFallbackPath = require.resolve('https-browserify');\nconst osFallbackPath = require.resolve('os-browserify/browser');\nconst pathFallbackPath = require.resolve('path-browserify');\nconst punycodeFallbackPath = require.resolve('punycode/');\nconst processFallbackPath = require.resolve('process/browser');\n// Handled in separate alias\nconst querystringFallbackPath = require.resolve('querystring-es3');\nconst streamFallbackPath = require.resolve('stream-browserify');\nconst string_decoderFallbackPath = require.resolve('string_decoder/');\nconst sysFallbackPath = require.resolve('util/');\nconst timersFallbackPath = require.resolve('timers-browserify');\nconst ttyFallbackPath = require.resolve('tty-browserify');\n// Handled in separate alias\nconst urlFallbackPath = require.resolve('url/');\nconst utilFallbackPath = require.resolve('util/');\nconst vmFallbackPath = require.resolve('vm-browserify');\nconst zlibFallbackPath = require.resolve('browserify-zlib');\n\nexport const fallbacks = {\n assert: assertFallbackPath,\n buffer: bufferFallbackPath,\n constants: constantsFallbackPath,\n crypto: cryptoFallbackPath,\n domain: domainFallbackPath,\n http: httpFallbackPath,\n https: httpsFallbackPath,\n os: osFallbackPath,\n path: pathFallbackPath,\n punycode: punycodeFallbackPath,\n process: processFallbackPath,\n querystring: querystringFallbackPath,\n stream: streamFallbackPath,\n string_decoder: string_decoderFallbackPath,\n sys: sysFallbackPath,\n timers: timersFallbackPath,\n tty: ttyFallbackPath,\n url: urlFallbackPath,\n util: utilFallbackPath,\n vm: vmFallbackPath,\n zlib: zlibFallbackPath,\n fs: false,\n net: false,\n tls: false,\n child_process: false,\n // file: false,\n // module: false,\n // pnpapi: false,\n // readline: false,\n // worker_threads: false,\n} as const;\n"],"mappings":";;;;;;AAAA;AACA;AACA;;AAEA,MAAMA,kBAAkB,GAAGC,OAAO,CAACC,OAAO,CAAC,SAAS,CAAC;AACrD,MAAMC,kBAAkB,GAAGF,OAAO,CAACC,OAAO,CAAC,SAAS,CAAC;AACrD,MAAME,qBAAqB,GAAGH,OAAO,CAACC,OAAO,CAAC,sBAAsB,CAAC;AACrE,MAAMG,kBAAkB,GAAGJ,O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D,SAAA,GAAG;EACvBE,MAAM,EAAEzB,kBAAkB;EAC1B0B,MAAM,EAAEvB,kBAAkB;EAC1BwB,SAAS,EAAEvB,qBAAqB;EAChCwB,MAAM,EAAEvB,kBAAkB;EAC1BwB,MAAM,EAAEvB,kBAAkB;EAC1BwB,IAAI,EAAEvB,gBAAgB;EACtBwB,KAAK,EAAEvB,iBAAiB;EACxBwB,EAAE,EAAEvB,cAAc;EAClBwB,IAAI,EAAEvB,gBAAgB;EACtBwB,QAAQ,EAAEvB,oBAAoB;EAC9BwB,OAAO,EAAEvB,mBAAmB;EAC5BwB,WAAW,EAAEvB,uBAAuB;EACpCwB,MAAM,EAAEvB,kBAAkB;EAC1BwB,cAAc,EAAEvB,0BAA0B;EAC1CwB,GAAG,EAAEvB,eAAe;EACpBwB,MAAM,EAAEvB,kBAAkB;EAC1BwB,GAAG,EAAEvB,eAAe;EACpBwB,GAAG,EAAEvB,eAAe;EACpBwB,IAAI,EAAEvB,gBAAgB;EACtBwB,EAAE,EAAEvB,cAAc;EAClBwB,IAAI,EAAEvB,gBAAgB;EACtBwB,EAAE,EAAE,KAAK;EACTC,GAAG,EAAE,KAAK;EACVC,GAAG,EAAE,KAAK;EACVC,aAAa,EAAE;EACf;EACA;EACA;EACA;EACA;AACF,CAAU"}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.webpack_webpack@1.0.
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.webpack_webpack@1.0.
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.webpack_webpack@1.0.42/dist/webpack.composition.js';
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.webpack_webpack@1.0.42/dist/webpack.docs.mdx';
|
3
3
|
|
4
4
|
export const compositions = [compositions_0];
|
5
5
|
export const overview = [overview_0];
|
@@ -27,8 +27,8 @@ function _findRoot() {
|
|
27
27
|
return data;
|
28
28
|
}
|
29
29
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
30
|
-
function _getRequireWildcardCache(
|
31
|
-
function _interopRequireWildcard(
|
30
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
31
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
32
32
|
/**
|
33
33
|
* Get the package folder, and in case it's not found get the resolved file path
|
34
34
|
* @param peerName
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_fs","data","_interopRequireWildcard","require","_enhancedResolve","_findRoot","_interopRequireDefault","obj","__esModule","default","_getRequireWildcardCache","
|
1
|
+
{"version":3,"names":["_fs","data","_interopRequireWildcard","require","_enhancedResolve","_findRoot","_interopRequireDefault","obj","__esModule","default","_getRequireWildcardCache","e","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","resolvePeerToDirOrFile","peerName","logger","hostRootDir","resolved","options","paths","process","cwd","__dirname","unshift","realpathSync","resolve","folder","findRoot","warn","resolvePeerToFile","peer","dirOrFile","undefined","resolver","createResolver","resolvedFile","resolveSync","myResolver","ResolverFactory","fileSystem","CachedInputFileSystem","fs","useSyncFileSystemCalls","mainFields"],"sources":["resolve-peer.ts"],"sourcesContent":["import fs, { realpathSync } from 'fs';\nimport { ResolverFactory, CachedInputFileSystem } from 'enhanced-resolve';\nimport findRoot from 'find-root';\nimport { Logger } from '@teambit/logger';\n\n/**\n * Get the package folder, and in case it's not found get the resolved file path\n * @param peerName\n * @returns\n */\nexport function resolvePeerToDirOrFile(peerName: string, logger: Logger, hostRootDir?: string): string | undefined {\n let resolved;\n try {\n const options = {\n // resolve the host root dir to its real location, as require.resolve is preserve symlink, so we get wrong result otherwise\n paths: [process.cwd(), __dirname],\n };\n if (hostRootDir) {\n // resolve the host root dir to its real location, as require.resolve is preserve symlink, so we get wrong result otherwise\n options.paths.unshift(realpathSync(hostRootDir));\n }\n\n resolved = require.resolve(peerName, options);\n const folder = findRoot(resolved);\n return folder;\n } catch (e) {\n if (resolved) {\n logger.warn(`Couldn't find root dir for \"${peerName}\" from path \"${resolved}\" to add it as webpack alias`);\n } else {\n logger.warn(`Couldn't resolve \"${peerName}\" to add it as webpack alias`);\n }\n return resolved;\n }\n}\n\n/**\n * Make sure to resolve the peer path correctly\n * we first resolve it to its dir (to be aligned with the aliases transformer)\n * Then we resolve it to specific file, using enhanced resolve to make sure we resolve it using the correct main fields order\n * @param peer\n */\nexport function resolvePeerToFile(peer: string, logger: Logger, hostRootDir?: string): string | undefined {\n const dirOrFile = resolvePeerToDirOrFile(peer, logger, hostRootDir);\n if (!dirOrFile) return undefined;\n const resolver = createResolver();\n const resolvedFile = resolver.resolveSync({}, '', dirOrFile);\n return resolvedFile;\n}\n\n/**\n * Generate a resolver that will read first the module field then the main field\n * to make it compatible with webpack behavior\n * @returns\n */\nfunction createResolver() {\n // create a resolver\n const myResolver = ResolverFactory.createResolver({\n fileSystem: new CachedInputFileSystem(fs, 4000),\n useSyncFileSystemCalls: true,\n mainFields: ['browser', 'module', 'main'],\n });\n return myResolver;\n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ACC,IAAY,EAAEf,MAAc,EAAEC,WAAoB,EAAsB;EACxG,MAAMe,SAAS,GAAGlB,sBAAsB,CAACiB,IAAI,EAAEf,MAAM,EAAEC,WAAW,CAAC;EACnE,IAAI,CAACe,SAAS,EAAE,OAAOC,SAAS;EAChC,MAAMC,QAAQ,GAAGC,cAAc,CAAC,CAAC;EACjC,MAAMC,YAAY,GAAGF,QAAQ,CAACG,WAAW,CAAC,CAAC,CAAC,EAAE,EAAE,EAAEL,SAAS,CAAC;EAC5D,OAAOI,YAAY;AACrB;;AAEA;AACA;AACA;AACA;AACA;AACA,SAASD,cAAcA,CAAA,EAAG;EACxB;EACA,MAAMG,UAAU,GAAGC,kCAAe,CAACJ,cAAc,CAAC;IAChDK,UAAU,EAAE,KAAIC,wCAAqB,EAACC,aAAE,EAAE,IAAI,CAAC;IAC/CC,sBAAsB,EAAE,IAAI;IAC5BC,UAAU,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,MAAM;EAC1C,CAAC,CAAC;EACF,OAAON,UAAU;AACnB"}
|
package/dist/webpack.aspect.js
CHANGED
@@ -11,9 +11,8 @@ function _harmony() {
|
|
11
11
|
};
|
12
12
|
return data;
|
13
13
|
}
|
14
|
-
const WebpackAspect = _harmony().Aspect.create({
|
14
|
+
const WebpackAspect = exports.WebpackAspect = _harmony().Aspect.create({
|
15
15
|
id: 'teambit.webpack/webpack'
|
16
16
|
});
|
17
|
-
exports.WebpackAspect = WebpackAspect;
|
18
17
|
|
19
18
|
//# sourceMappingURL=webpack.aspect.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_harmony","data","require","WebpackAspect","Aspect","create","id"
|
1
|
+
{"version":3,"names":["_harmony","data","require","WebpackAspect","exports","Aspect","create","id"],"sources":["webpack.aspect.ts"],"sourcesContent":["import { Aspect } from '@teambit/harmony';\n\nexport const WebpackAspect = Aspect.create({\n id: 'teambit.webpack/webpack',\n});\n"],"mappings":";;;;;;AAAA,SAAAA,SAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,QAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEO,MAAME,aAAa,GAAAC,OAAA,CAAAD,aAAA,GAAGE,iBAAM,CAACC,MAAM,CAAC;EACzCC,EAAE,EAAE;AACN,CAAC,CAAC"}
|
package/package.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@teambit/webpack",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.42",
|
4
4
|
"homepage": "https://bit.cloud/teambit/webpack/webpack",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"componentId": {
|
7
7
|
"scope": "teambit.webpack",
|
8
8
|
"name": "webpack",
|
9
|
-
"version": "1.0.
|
9
|
+
"version": "1.0.42"
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
12
|
"webpack": "5.84.1",
|
@@ -44,15 +44,15 @@
|
|
44
44
|
"browserify-zlib": "0.2.0",
|
45
45
|
"assert": "2.0.0",
|
46
46
|
"core-js": "^3.0.0",
|
47
|
-
"@babel/runtime": "7.
|
47
|
+
"@babel/runtime": "7.23.2",
|
48
48
|
"@teambit/harmony": "0.4.6",
|
49
49
|
"@teambit/bit-error": "0.0.404",
|
50
50
|
"@teambit/webpack.modules.config-mutator": "0.0.163",
|
51
|
-
"@teambit/bundler": "1.0.
|
52
|
-
"@teambit/logger": "0.0.
|
53
|
-
"@teambit/cli": "0.0.
|
54
|
-
"@teambit/pubsub": "1.0.
|
55
|
-
"@teambit/workspace": "1.0.
|
51
|
+
"@teambit/bundler": "1.0.42",
|
52
|
+
"@teambit/logger": "0.0.900",
|
53
|
+
"@teambit/cli": "0.0.807",
|
54
|
+
"@teambit/pubsub": "1.0.42",
|
55
|
+
"@teambit/workspace": "1.0.42",
|
56
56
|
"@teambit/webpack.modules.generate-expose-loaders": "0.0.13",
|
57
57
|
"@teambit/webpack.modules.generate-externals": "0.0.14",
|
58
58
|
"@teambit/webpack.plugins.inject-head-webpack-plugin": "0.0.6"
|
@@ -69,7 +69,7 @@
|
|
69
69
|
"@types/testing-library__jest-dom": "5.9.5"
|
70
70
|
},
|
71
71
|
"peerDependencies": {
|
72
|
-
"@teambit/legacy": "1.0.
|
72
|
+
"@teambit/legacy": "1.0.590",
|
73
73
|
"react": "^16.8.0 || ^17.0.0",
|
74
74
|
"react-dom": "^16.8.0 || ^17.0.0"
|
75
75
|
},
|