@powerlines/plugin-rspack 0.5.261 → 0.5.263
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/_virtual/rolldown_runtime.cjs +31 -0
- package/dist/_virtual/rolldown_runtime.mjs +32 -0
- package/dist/helpers/index.cjs +2 -3
- package/dist/helpers/index.d.cts +1 -3
- package/dist/helpers/index.d.mts +1 -3
- package/dist/helpers/index.mjs +1 -2
- package/dist/helpers/unplugin.cjs +10 -2
- package/dist/helpers/unplugin.d.cts +8 -3
- package/dist/helpers/unplugin.d.cts.map +1 -0
- package/dist/helpers/unplugin.d.mts +8 -3
- package/dist/helpers/unplugin.d.mts.map +1 -0
- package/dist/helpers/unplugin.mjs +10 -2
- package/dist/helpers/unplugin.mjs.map +1 -0
- package/dist/index.cjs +6 -7
- package/dist/index.d.cts +4 -4
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +2 -4
- package/dist/index.mjs.map +1 -1
- package/dist/node_modules/.pnpm/@jridgewell_gen-mapping@0.3.13/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.cjs +2 -0
- package/dist/node_modules/.pnpm/@jridgewell_gen-mapping@0.3.13/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs +4 -0
- package/dist/node_modules/.pnpm/@jridgewell_remapping@2.3.5/node_modules/@jridgewell/remapping/dist/remapping.cjs +2 -0
- package/dist/node_modules/.pnpm/@jridgewell_remapping@2.3.5/node_modules/@jridgewell/remapping/dist/remapping.mjs +4 -0
- package/dist/node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.cjs +15 -0
- package/dist/node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs +16 -0
- package/dist/node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map +1 -0
- package/dist/node_modules/.pnpm/@jridgewell_trace-mapping@0.3.31/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.cjs +1 -0
- package/dist/node_modules/.pnpm/@jridgewell_trace-mapping@0.3.31/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs +3 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/index.cjs +28 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/index.mjs +24 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.cjs +175 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.mjs +171 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.mjs.map +1 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/parse.cjs +871 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/parse.mjs +867 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/parse.mjs.map +1 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/picomatch.cjs +307 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/picomatch.mjs +303 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/picomatch.mjs.map +1 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/scan.cjs +300 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/scan.mjs +296 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/scan.mjs.map +1 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/utils.cjs +60 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/utils.mjs +56 -0
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/utils.mjs.map +1 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/context-CehLHpzV.cjs +46 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/context-CehLHpzV.mjs +45 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/context-CehLHpzV.mjs.map +1 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/index.cjs +142 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/index.mjs +141 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/parse-CRORloGP.cjs +114 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/parse-CRORloGP.mjs +113 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/parse-CRORloGP.mjs.map +1 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/utils-CuyC8gTr.cjs +59 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/utils-CuyC8gTr.mjs +55 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/utils-CuyC8gTr.mjs.map +1 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/webpack-like-BU9ULG6P.cjs +35 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/webpack-like-BU9ULG6P.mjs +34 -0
- package/dist/node_modules/.pnpm/unplugin@3.0.0-beta.3/node_modules/unplugin/dist/webpack-like-BU9ULG6P.mjs.map +1 -0
- package/dist/node_modules/.pnpm/webpack-virtual-modules@0.6.2/node_modules/webpack-virtual-modules/lib/index.cjs +236 -0
- package/dist/node_modules/.pnpm/webpack-virtual-modules@0.6.2/node_modules/webpack-virtual-modules/lib/index.mjs +232 -0
- package/dist/node_modules/.pnpm/webpack-virtual-modules@0.6.2/node_modules/webpack-virtual-modules/lib/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/webpack-virtual-modules@0.6.2/node_modules/webpack-virtual-modules/lib/virtual-stats.cjs +54 -0
- package/dist/node_modules/.pnpm/webpack-virtual-modules@0.6.2/node_modules/webpack-virtual-modules/lib/virtual-stats.mjs +50 -0
- package/dist/node_modules/.pnpm/webpack-virtual-modules@0.6.2/node_modules/webpack-virtual-modules/lib/virtual-stats.mjs.map +1 -0
- package/dist/types/index.cjs +0 -2
- package/dist/types/index.d.cts +1 -2
- package/dist/types/index.d.mts +1 -2
- package/dist/types/index.mjs +0 -3
- package/dist/types/plugin.cjs +0 -1
- package/dist/types/plugin.d.cts +14 -2
- package/dist/types/plugin.d.cts.map +1 -0
- package/dist/types/plugin.d.mts +14 -2
- package/dist/types/plugin.d.mts.map +1 -0
- package/dist/types/plugin.mjs +0 -2
- package/package.json +8 -8
- package/dist/helpers-B15z10jN.mjs +0 -1
- package/dist/helpers-LF26RHol.cjs +0 -0
- package/dist/index-9iG2qHLe.d.mts +0 -1
- package/dist/index-D4ELpJXS.d.cts +0 -1
- package/dist/index-D6CnpA_r.d.cts +0 -1
- package/dist/index-DL0uimUT.d.mts +0 -1
- package/dist/plugin-Bba7oDr4.d.cts +0 -14
- package/dist/plugin-Bba7oDr4.d.cts.map +0 -1
- package/dist/plugin-ifZVa20V.mjs +0 -1
- package/dist/plugin-pBKbb5K9.cjs +0 -0
- package/dist/plugin-wK3Y5uKl.d.mts +0 -14
- package/dist/plugin-wK3Y5uKl.d.mts.map +0 -1
- package/dist/types-U3zd8PTP.mjs +0 -1
- package/dist/types-o3zWarRp.cjs +0 -0
- package/dist/unplugin-BNXnCNtR.mjs +0 -2349
- package/dist/unplugin-BNXnCNtR.mjs.map +0 -1
- package/dist/unplugin-BxYrF3Ze.d.cts +0 -8
- package/dist/unplugin-BxYrF3Ze.d.cts.map +0 -1
- package/dist/unplugin-C-ffDFJ6.cjs +0 -2359
- package/dist/unplugin-Cxu6PlCY.d.mts +0 -8
- package/dist/unplugin-Cxu6PlCY.d.mts.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/webpack-virtual-modules@0.6.2/node_modules/webpack-virtual-modules/lib/index.js"],"sourcesContent":["\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nconst path_1 = __importDefault(require(\"path\"));\nconst virtual_stats_1 = require(\"./virtual-stats\");\nlet inode = 45000000;\nconst ALL = 'all';\nconst STATIC = 'static';\nconst DYNAMIC = 'dynamic';\nfunction checkActivation(instance) {\n if (!instance._compiler) {\n throw new Error('You must use this plugin only after creating webpack instance!');\n }\n}\nfunction getModulePath(filePath, compiler) {\n return path_1.default.isAbsolute(filePath) ? filePath : path_1.default.join(compiler.context, filePath);\n}\nfunction createWebpackData(result) {\n return (backendOrStorage) => {\n if (backendOrStorage._data) {\n const curLevelIdx = backendOrStorage._currentLevel;\n const curLevel = backendOrStorage._levels[curLevelIdx];\n return {\n result,\n level: curLevel,\n };\n }\n return [null, result];\n };\n}\nfunction getData(storage, key) {\n if (storage._data instanceof Map) {\n return storage._data.get(key);\n }\n else if (storage._data) {\n return storage.data[key];\n }\n else if (storage.data instanceof Map) {\n return storage.data.get(key);\n }\n else {\n return storage.data[key];\n }\n}\nfunction setData(backendOrStorage, key, valueFactory) {\n const value = valueFactory(backendOrStorage);\n if (backendOrStorage._data instanceof Map) {\n backendOrStorage._data.set(key, value);\n }\n else if (backendOrStorage._data) {\n backendOrStorage.data[key] = value;\n }\n else if (backendOrStorage.data instanceof Map) {\n backendOrStorage.data.set(key, value);\n }\n else {\n backendOrStorage.data[key] = value;\n }\n}\nfunction getStatStorage(fileSystem) {\n if (fileSystem._statStorage) {\n return fileSystem._statStorage;\n }\n else if (fileSystem._statBackend) {\n return fileSystem._statBackend;\n }\n else {\n throw new Error(\"Couldn't find a stat storage\");\n }\n}\nfunction getFileStorage(fileSystem) {\n if (fileSystem._readFileStorage) {\n return fileSystem._readFileStorage;\n }\n else if (fileSystem._readFileBackend) {\n return fileSystem._readFileBackend;\n }\n else {\n throw new Error(\"Couldn't find a readFileStorage\");\n }\n}\nfunction getReadDirBackend(fileSystem) {\n if (fileSystem._readdirBackend) {\n return fileSystem._readdirBackend;\n }\n else if (fileSystem._readdirStorage) {\n return fileSystem._readdirStorage;\n }\n else {\n throw new Error(\"Couldn't find a readDirStorage from Webpack Internals\");\n }\n}\nfunction getRealpathBackend(fileSystem) {\n if (fileSystem._realpathBackend) {\n return fileSystem._realpathBackend;\n }\n}\nclass VirtualModulesPlugin {\n constructor(modules) {\n this._compiler = null;\n this._watcher = null;\n this._staticModules = modules || null;\n }\n getModuleList(filter = ALL) {\n var _a, _b;\n let modules = {};\n const shouldGetStaticModules = filter === ALL || filter === STATIC;\n const shouldGetDynamicModules = filter === ALL || filter === DYNAMIC;\n if (shouldGetStaticModules) {\n modules = Object.assign(Object.assign({}, modules), this._staticModules);\n }\n if (shouldGetDynamicModules) {\n const finalInputFileSystem = (_a = this._compiler) === null || _a === void 0 ? void 0 : _a.inputFileSystem;\n const virtualFiles = (_b = finalInputFileSystem === null || finalInputFileSystem === void 0 ? void 0 : finalInputFileSystem._virtualFiles) !== null && _b !== void 0 ? _b : {};\n const dynamicModules = {};\n Object.keys(virtualFiles).forEach((key) => {\n dynamicModules[key] = virtualFiles[key].contents;\n });\n modules = Object.assign(Object.assign({}, modules), dynamicModules);\n }\n return modules;\n }\n writeModule(filePath, contents) {\n if (!this._compiler) {\n throw new Error(`Plugin has not been initialized`);\n }\n checkActivation(this);\n const len = contents ? contents.length : 0;\n const time = Date.now();\n const date = new Date(time);\n const stats = new virtual_stats_1.VirtualStats({\n dev: 8675309,\n nlink: 0,\n uid: 1000,\n gid: 1000,\n rdev: 0,\n blksize: 4096,\n ino: inode++,\n mode: 33188,\n size: len,\n blocks: Math.floor(len / 4096),\n atime: date,\n mtime: date,\n ctime: date,\n birthtime: date,\n });\n const modulePath = getModulePath(filePath, this._compiler);\n if (process.env.WVM_DEBUG)\n console.log(this._compiler.name, 'Write virtual module:', modulePath, contents);\n let finalWatchFileSystem = this._watcher && this._watcher.watchFileSystem;\n while (finalWatchFileSystem && finalWatchFileSystem.wfs) {\n finalWatchFileSystem = finalWatchFileSystem.wfs;\n }\n let finalInputFileSystem = this._compiler.inputFileSystem;\n while (finalInputFileSystem && finalInputFileSystem._inputFileSystem) {\n finalInputFileSystem = finalInputFileSystem._inputFileSystem;\n }\n finalInputFileSystem._writeVirtualFile(modulePath, stats, contents);\n if (finalWatchFileSystem &&\n finalWatchFileSystem.watcher &&\n (finalWatchFileSystem.watcher.fileWatchers.size || finalWatchFileSystem.watcher.fileWatchers.length)) {\n const fileWatchers = finalWatchFileSystem.watcher.fileWatchers instanceof Map\n ? Array.from(finalWatchFileSystem.watcher.fileWatchers.values())\n : finalWatchFileSystem.watcher.fileWatchers;\n for (let fileWatcher of fileWatchers) {\n if ('watcher' in fileWatcher) {\n fileWatcher = fileWatcher.watcher;\n }\n if (fileWatcher.path === modulePath) {\n if (process.env.DEBUG)\n console.log(this._compiler.name, 'Emit file change:', modulePath, time);\n delete fileWatcher.directoryWatcher._cachedTimeInfoEntries;\n fileWatcher.emit('change', time, null);\n }\n }\n }\n }\n apply(compiler) {\n this._compiler = compiler;\n const afterEnvironmentHook = () => {\n let finalInputFileSystem = compiler.inputFileSystem;\n while (finalInputFileSystem && finalInputFileSystem._inputFileSystem) {\n finalInputFileSystem = finalInputFileSystem._inputFileSystem;\n }\n if (!finalInputFileSystem._writeVirtualFile) {\n const originalPurge = finalInputFileSystem.purge;\n finalInputFileSystem.purge = () => {\n originalPurge.apply(finalInputFileSystem, []);\n if (finalInputFileSystem._virtualFiles) {\n Object.keys(finalInputFileSystem._virtualFiles).forEach((file) => {\n const data = finalInputFileSystem._virtualFiles[file];\n finalInputFileSystem._writeVirtualFile(file, data.stats, data.contents);\n });\n }\n };\n finalInputFileSystem._writeVirtualFile = (file, stats, contents) => {\n const statStorage = getStatStorage(finalInputFileSystem);\n const fileStorage = getFileStorage(finalInputFileSystem);\n const readDirStorage = getReadDirBackend(finalInputFileSystem);\n const realPathStorage = getRealpathBackend(finalInputFileSystem);\n finalInputFileSystem._virtualFiles = finalInputFileSystem._virtualFiles || {};\n finalInputFileSystem._virtualFiles[file] = { stats: stats, contents: contents };\n setData(statStorage, file, createWebpackData(stats));\n setData(fileStorage, file, createWebpackData(contents));\n const segments = file.split(/[\\\\/]/);\n let count = segments.length - 1;\n const minCount = segments[0] ? 1 : 0;\n while (count > minCount) {\n const dir = segments.slice(0, count).join(path_1.default.sep) || path_1.default.sep;\n try {\n finalInputFileSystem.readdirSync(dir);\n }\n catch (e) {\n const time = Date.now();\n const dirStats = new virtual_stats_1.VirtualStats({\n dev: 8675309,\n nlink: 0,\n uid: 1000,\n gid: 1000,\n rdev: 0,\n blksize: 4096,\n ino: inode++,\n mode: 16877,\n size: stats.size,\n blocks: Math.floor(stats.size / 4096),\n atime: time,\n mtime: time,\n ctime: time,\n birthtime: time,\n });\n setData(readDirStorage, dir, createWebpackData([]));\n if (realPathStorage) {\n setData(realPathStorage, dir, createWebpackData(dir));\n }\n setData(statStorage, dir, createWebpackData(dirStats));\n }\n let dirData = getData(getReadDirBackend(finalInputFileSystem), dir);\n dirData = dirData[1] || dirData.result;\n const filename = segments[count];\n if (dirData.indexOf(filename) < 0) {\n const files = dirData.concat([filename]).sort();\n setData(getReadDirBackend(finalInputFileSystem), dir, createWebpackData(files));\n }\n else {\n break;\n }\n count--;\n }\n };\n }\n };\n const afterResolversHook = () => {\n if (this._staticModules) {\n for (const [filePath, contents] of Object.entries(this._staticModules)) {\n this.writeModule(filePath, contents);\n }\n this._staticModules = null;\n }\n };\n const version = typeof compiler.webpack === 'undefined' ? 4 : 5;\n const watchRunHook = (watcher, callback) => {\n this._watcher = watcher.compiler || watcher;\n const virtualFiles = compiler.inputFileSystem._virtualFiles;\n const fts = compiler.fileTimestamps;\n if (virtualFiles && fts && typeof fts.set === 'function') {\n Object.keys(virtualFiles).forEach((file) => {\n const mtime = +virtualFiles[file].stats.mtime;\n fts.set(file, version === 4\n ? mtime\n : {\n safeTime: mtime,\n timestamp: mtime,\n });\n });\n }\n callback();\n };\n if (compiler.hooks) {\n compiler.hooks.afterEnvironment.tap('VirtualModulesPlugin', afterEnvironmentHook);\n compiler.hooks.afterResolvers.tap('VirtualModulesPlugin', afterResolversHook);\n compiler.hooks.watchRun.tapAsync('VirtualModulesPlugin', watchRunHook);\n }\n else {\n compiler.plugin('after-environment', afterEnvironmentHook);\n compiler.plugin('after-resolvers', afterResolversHook);\n compiler.plugin('watch-run', watchRunHook);\n }\n }\n}\nmodule.exports = VirtualModulesPlugin;\n//# sourceMappingURL=index.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;CAIA,MAAM,6BAH8B,mBAAoB,SAAU,KAAK;AACnE,SAAQ,OAAO,IAAI,aAAc,MAAM,EAAE,WAAW,KAAK;cAEtB,YAAO,CAAC;CAC/C,MAAM;CACN,IAAI,QAAQ;CACZ,MAAM,MAAM;CACZ,MAAM,SAAS;CACf,MAAM,UAAU;CAChB,SAAS,gBAAgB,UAAU;AAC/B,MAAI,CAAC,SAAS,UACV,OAAM,IAAI,MAAM,iEAAiE;;CAGzF,SAAS,cAAc,UAAU,UAAU;AACvC,SAAO,OAAO,QAAQ,WAAW,SAAS,GAAG,WAAW,OAAO,QAAQ,KAAK,SAAS,SAAS,SAAS;;CAE3G,SAAS,kBAAkB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E;AAEJ;;;;;GAKhB,MAAM,2BAA2B;AAC7B,QAAI,KAAK,gBAAgB;AACrB,UAAK,MAAM,CAAC,UAAU,aAAa,OAAO,QAAQ,KAAK,eAAe,CAClE,MAAK,YAAY,UAAU,SAAS;AAExC,UAAK,iBAAiB;;;GAG9B,MAAM,UAAU,OAAO,SAAS,YAAY,cAAc,IAAI;GAC9D,MAAM,gBAAgB,SAAS,aAAa;AACxC,SAAK,WAAW,QAAQ,YAAY;IACpC,MAAM,eAAe,SAAS,gBAAgB;IAC9C,MAAM,MAAM,SAAS;AACrB,QAAI,gBAAgB,OAAO,OAAO,IAAI,QAAQ,WAC1C,QAAO,KAAK,aAAa,CAAC,SAAS,SAAS;KACxC,MAAM,QAAQ,CAAC,aAAa,MAAM,MAAM;AACxC,SAAI,IAAI,MAAM,YAAY,IACpB,QACA;MACE,UAAU;MACV,WAAW;MACd,CAAC;MACR;AAEN,cAAU;;AAEd,OAAI,SAAS,OAAO;AAChB,aAAS,MAAM,iBAAiB,IAAI,wBAAwB,qBAAqB;AACjF,aAAS,MAAM,eAAe,IAAI,wBAAwB,mBAAmB;AAC7E,aAAS,MAAM,SAAS,SAAS,wBAAwB,aAAa;UAErE;AACD,aAAS,OAAO,qBAAqB,qBAAqB;AAC1D,aAAS,OAAO,mBAAmB,mBAAmB;AACtD,aAAS,OAAO,aAAa,aAAa;;;;AAItD,QAAO,UAAU"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
const require_rolldown_runtime = require('../../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
+
|
|
5
|
+
//#region ../../node_modules/.pnpm/webpack-virtual-modules@0.6.2/node_modules/webpack-virtual-modules/lib/virtual-stats.js
|
|
6
|
+
var require_virtual_stats = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
7
|
+
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
8
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
9
|
+
};
|
|
10
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
+
exports.VirtualStats = void 0;
|
|
12
|
+
const constants_1 = __importDefault(require("node:constants"));
|
|
13
|
+
var VirtualStats = class {
|
|
14
|
+
constructor(config) {
|
|
15
|
+
for (const key in config) {
|
|
16
|
+
if (!Object.prototype.hasOwnProperty.call(config, key)) continue;
|
|
17
|
+
this[key] = config[key];
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
_checkModeProperty(property) {
|
|
21
|
+
return (this.mode & constants_1.default.S_IFMT) === property;
|
|
22
|
+
}
|
|
23
|
+
isDirectory() {
|
|
24
|
+
return this._checkModeProperty(constants_1.default.S_IFDIR);
|
|
25
|
+
}
|
|
26
|
+
isFile() {
|
|
27
|
+
return this._checkModeProperty(constants_1.default.S_IFREG);
|
|
28
|
+
}
|
|
29
|
+
isBlockDevice() {
|
|
30
|
+
return this._checkModeProperty(constants_1.default.S_IFBLK);
|
|
31
|
+
}
|
|
32
|
+
isCharacterDevice() {
|
|
33
|
+
return this._checkModeProperty(constants_1.default.S_IFCHR);
|
|
34
|
+
}
|
|
35
|
+
isSymbolicLink() {
|
|
36
|
+
return this._checkModeProperty(constants_1.default.S_IFLNK);
|
|
37
|
+
}
|
|
38
|
+
isFIFO() {
|
|
39
|
+
return this._checkModeProperty(constants_1.default.S_IFIFO);
|
|
40
|
+
}
|
|
41
|
+
isSocket() {
|
|
42
|
+
return this._checkModeProperty(constants_1.default.S_IFSOCK);
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
exports.VirtualStats = VirtualStats;
|
|
46
|
+
}));
|
|
47
|
+
|
|
48
|
+
//#endregion
|
|
49
|
+
Object.defineProperty(exports, 'default', {
|
|
50
|
+
enumerable: true,
|
|
51
|
+
get: function () {
|
|
52
|
+
return require_virtual_stats();
|
|
53
|
+
}
|
|
54
|
+
});
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { __commonJSMin, __require } from "../../../../../../_virtual/rolldown_runtime.mjs";
|
|
2
|
+
|
|
3
|
+
//#region ../../node_modules/.pnpm/webpack-virtual-modules@0.6.2/node_modules/webpack-virtual-modules/lib/virtual-stats.js
|
|
4
|
+
var require_virtual_stats = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5
|
+
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
6
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.VirtualStats = void 0;
|
|
10
|
+
const constants_1 = __importDefault(__require("node:constants"));
|
|
11
|
+
var VirtualStats = class {
|
|
12
|
+
constructor(config) {
|
|
13
|
+
for (const key in config) {
|
|
14
|
+
if (!Object.prototype.hasOwnProperty.call(config, key)) continue;
|
|
15
|
+
this[key] = config[key];
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
_checkModeProperty(property) {
|
|
19
|
+
return (this.mode & constants_1.default.S_IFMT) === property;
|
|
20
|
+
}
|
|
21
|
+
isDirectory() {
|
|
22
|
+
return this._checkModeProperty(constants_1.default.S_IFDIR);
|
|
23
|
+
}
|
|
24
|
+
isFile() {
|
|
25
|
+
return this._checkModeProperty(constants_1.default.S_IFREG);
|
|
26
|
+
}
|
|
27
|
+
isBlockDevice() {
|
|
28
|
+
return this._checkModeProperty(constants_1.default.S_IFBLK);
|
|
29
|
+
}
|
|
30
|
+
isCharacterDevice() {
|
|
31
|
+
return this._checkModeProperty(constants_1.default.S_IFCHR);
|
|
32
|
+
}
|
|
33
|
+
isSymbolicLink() {
|
|
34
|
+
return this._checkModeProperty(constants_1.default.S_IFLNK);
|
|
35
|
+
}
|
|
36
|
+
isFIFO() {
|
|
37
|
+
return this._checkModeProperty(constants_1.default.S_IFIFO);
|
|
38
|
+
}
|
|
39
|
+
isSocket() {
|
|
40
|
+
return this._checkModeProperty(constants_1.default.S_IFSOCK);
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
exports.VirtualStats = VirtualStats;
|
|
44
|
+
}));
|
|
45
|
+
|
|
46
|
+
//#endregion
|
|
47
|
+
export default require_virtual_stats();
|
|
48
|
+
|
|
49
|
+
export { require_virtual_stats };
|
|
50
|
+
//# sourceMappingURL=virtual-stats.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"virtual-stats.mjs","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/webpack-virtual-modules@0.6.2/node_modules/webpack-virtual-modules/lib/virtual-stats.js"],"sourcesContent":["\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.VirtualStats = void 0;\nconst constants_1 = __importDefault(require(\"constants\"));\nclass VirtualStats {\n constructor(config) {\n for (const key in config) {\n if (!Object.prototype.hasOwnProperty.call(config, key)) {\n continue;\n }\n this[key] = config[key];\n }\n }\n _checkModeProperty(property) {\n return (this.mode & constants_1.default.S_IFMT) === property;\n }\n isDirectory() {\n return this._checkModeProperty(constants_1.default.S_IFDIR);\n }\n isFile() {\n return this._checkModeProperty(constants_1.default.S_IFREG);\n }\n isBlockDevice() {\n return this._checkModeProperty(constants_1.default.S_IFBLK);\n }\n isCharacterDevice() {\n return this._checkModeProperty(constants_1.default.S_IFCHR);\n }\n isSymbolicLink() {\n return this._checkModeProperty(constants_1.default.S_IFLNK);\n }\n isFIFO() {\n return this._checkModeProperty(constants_1.default.S_IFIFO);\n }\n isSocket() {\n return this._checkModeProperty(constants_1.default.S_IFSOCK);\n }\n}\nexports.VirtualStats = VirtualStats;\n//# sourceMappingURL=virtual-stats.js.map"],"x_google_ignoreList":[0],"mappings":";;;;CACA,IAAI,qCAAgC,mBAAoB,SAAU,KAAK;AACnE,SAAQ,OAAO,IAAI,aAAc,MAAM,EAAE,WAAW,KAAK;;AAE7D,QAAO,eAAe,SAAS,cAAc,EAAE,OAAO,MAAM,CAAC;AAC7D,SAAQ,eAAe,KAAK;CAC5B,MAAM,cAAc,0BAAwB,iBAAY,CAAC;CACzD,IAAM,eAAN,MAAmB;EACf,YAAY,QAAQ;AAChB,QAAK,MAAM,OAAO,QAAQ;AACtB,QAAI,CAAC,OAAO,UAAU,eAAe,KAAK,QAAQ,IAAI,CAClD;AAEJ,SAAK,OAAO,OAAO;;;EAG3B,mBAAmB,UAAU;AACzB,WAAQ,KAAK,OAAO,YAAY,QAAQ,YAAY;;EAExD,cAAc;AACV,UAAO,KAAK,mBAAmB,YAAY,QAAQ,QAAQ;;EAE/D,SAAS;AACL,UAAO,KAAK,mBAAmB,YAAY,QAAQ,QAAQ;;EAE/D,gBAAgB;AACZ,UAAO,KAAK,mBAAmB,YAAY,QAAQ,QAAQ;;EAE/D,oBAAoB;AAChB,UAAO,KAAK,mBAAmB,YAAY,QAAQ,QAAQ;;EAE/D,iBAAiB;AACb,UAAO,KAAK,mBAAmB,YAAY,QAAQ,QAAQ;;EAE/D,SAAS;AACL,UAAO,KAAK,mBAAmB,YAAY,QAAQ,QAAQ;;EAE/D,WAAW;AACP,UAAO,KAAK,mBAAmB,YAAY,QAAQ,SAAS;;;AAGpE,SAAQ,eAAe"}
|
package/dist/types/index.cjs
CHANGED
package/dist/types/index.d.cts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "../index-D4ELpJXS.cjs";
|
|
1
|
+
import { RspackPluginContext, RspackPluginOptions, RspackPluginResolvedConfig, __ΩRspackPluginContext, __ΩRspackPluginOptions, __ΩRspackPluginResolvedConfig } from "./plugin.cjs";
|
|
3
2
|
export { RspackPluginContext, RspackPluginOptions, RspackPluginResolvedConfig, __ΩRspackPluginContext, __ΩRspackPluginOptions, __ΩRspackPluginResolvedConfig };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "../index-9iG2qHLe.mjs";
|
|
1
|
+
import { RspackPluginContext, RspackPluginOptions, RspackPluginResolvedConfig, __ΩRspackPluginContext, __ΩRspackPluginOptions, __ΩRspackPluginResolvedConfig } from "./plugin.mjs";
|
|
3
2
|
export { RspackPluginContext, RspackPluginOptions, RspackPluginResolvedConfig, __ΩRspackPluginContext, __ΩRspackPluginOptions, __ΩRspackPluginResolvedConfig };
|
package/dist/types/index.mjs
CHANGED
package/dist/types/plugin.cjs
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require('../plugin-pBKbb5K9.cjs');
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,2 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { RspackBuildConfig } from "powerlines/types/build";
|
|
2
|
+
import { PluginContext } from "powerlines/types/context";
|
|
3
|
+
import { RspackResolvedConfig } from "powerlines/types/resolved";
|
|
4
|
+
|
|
5
|
+
//#region src/types/plugin.d.ts
|
|
6
|
+
type RspackPluginOptions = Partial<RspackBuildConfig>;
|
|
7
|
+
type RspackPluginResolvedConfig = RspackResolvedConfig;
|
|
8
|
+
type RspackPluginContext<TResolvedConfig extends RspackPluginResolvedConfig = RspackPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
9
|
+
declare type __ΩRspackPluginOptions = any[];
|
|
10
|
+
declare type __ΩRspackPluginResolvedConfig = any[];
|
|
11
|
+
declare type __ΩRspackPluginContext = any[];
|
|
12
|
+
//#endregion
|
|
13
|
+
export { RspackPluginContext, RspackPluginOptions, RspackPluginResolvedConfig, __ΩRspackPluginContext, __ΩRspackPluginOptions, __ΩRspackPluginResolvedConfig };
|
|
14
|
+
//# sourceMappingURL=plugin.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;KAsBY,mBAAA,GAAsB,QAAQ;KAE9B,0BAAA,GAA6B;AAF7B,KAIA,mBAJmB,CAAA,wBAM3B,0BANqC,GAMR,0BANQ,CAAA,GAOrC,aAPqC,CAOvB,eAPuB,CAAA;AAE7B,sCAA6B,GAAA,EAAA;AAE7B,6CAAmB,GAAA,EAAA;AAE3B,sCAAA,GAAA,EAAA"}
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,2 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { RspackBuildConfig } from "powerlines/types/build";
|
|
2
|
+
import { PluginContext } from "powerlines/types/context";
|
|
3
|
+
import { RspackResolvedConfig } from "powerlines/types/resolved";
|
|
4
|
+
|
|
5
|
+
//#region src/types/plugin.d.ts
|
|
6
|
+
type RspackPluginOptions = Partial<RspackBuildConfig>;
|
|
7
|
+
type RspackPluginResolvedConfig = RspackResolvedConfig;
|
|
8
|
+
type RspackPluginContext<TResolvedConfig extends RspackPluginResolvedConfig = RspackPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
9
|
+
declare type __ΩRspackPluginOptions = any[];
|
|
10
|
+
declare type __ΩRspackPluginResolvedConfig = any[];
|
|
11
|
+
declare type __ΩRspackPluginContext = any[];
|
|
12
|
+
//#endregion
|
|
13
|
+
export { RspackPluginContext, RspackPluginOptions, RspackPluginResolvedConfig, __ΩRspackPluginContext, __ΩRspackPluginOptions, __ΩRspackPluginResolvedConfig };
|
|
14
|
+
//# sourceMappingURL=plugin.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;KAsBY,mBAAA,GAAsB,QAAQ;KAE9B,0BAAA,GAA6B;AAF7B,KAIA,mBAJmB,CAAA,wBAM3B,0BANqC,GAMR,0BANQ,CAAA,GAOrC,aAPqC,CAOvB,eAPuB,CAAA;AAE7B,sCAA6B,GAAA,EAAA;AAE7B,6CAAmB,GAAA,EAAA;AAE3B,sCAAA,GAAA,EAAA"}
|
package/dist/types/plugin.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-rspack",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.263",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin to build projects using Webpack.",
|
|
6
6
|
"repository": {
|
|
@@ -118,19 +118,19 @@
|
|
|
118
118
|
"keywords": ["rspack", "powerlines", "storm-software", "powerlines-plugin"],
|
|
119
119
|
"dependencies": {
|
|
120
120
|
"@rspack/core": "^1.7.4",
|
|
121
|
-
"@stryke/fs": "^0.33.
|
|
122
|
-
"@stryke/path": "^0.26.
|
|
123
|
-
"@stryke/type-checks": "^0.5.
|
|
124
|
-
"@stryke/types": "^0.10.
|
|
121
|
+
"@stryke/fs": "^0.33.40",
|
|
122
|
+
"@stryke/path": "^0.26.4",
|
|
123
|
+
"@stryke/type-checks": "^0.5.23",
|
|
124
|
+
"@stryke/types": "^0.10.37",
|
|
125
125
|
"defu": "^6.1.4",
|
|
126
126
|
"jiti": "^2.6.1",
|
|
127
|
-
"powerlines": "^0.38.
|
|
127
|
+
"powerlines": "^0.38.21"
|
|
128
128
|
},
|
|
129
129
|
"devDependencies": {
|
|
130
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
130
|
+
"@powerlines/plugin-plugin": "^0.12.205",
|
|
131
131
|
"@types/node": "^24.10.9"
|
|
132
132
|
},
|
|
133
133
|
"publishConfig": { "access": "public" },
|
|
134
134
|
"types": "./dist/index.d.cts",
|
|
135
|
-
"gitHead": "
|
|
135
|
+
"gitHead": "6000a15bf3fbc1b7eaaf967088c68eef9949786a"
|
|
136
136
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { RspackBuildConfig } from "powerlines/types/build";
|
|
2
|
-
import { PluginContext } from "powerlines/types/context";
|
|
3
|
-
import { RspackResolvedConfig } from "powerlines/types/resolved";
|
|
4
|
-
|
|
5
|
-
//#region src/types/plugin.d.ts
|
|
6
|
-
type RspackPluginOptions = Partial<RspackBuildConfig>;
|
|
7
|
-
type RspackPluginResolvedConfig = RspackResolvedConfig;
|
|
8
|
-
type RspackPluginContext<TResolvedConfig extends RspackPluginResolvedConfig = RspackPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
9
|
-
declare type __ΩRspackPluginOptions = any[];
|
|
10
|
-
declare type __ΩRspackPluginResolvedConfig = any[];
|
|
11
|
-
declare type __ΩRspackPluginContext = any[];
|
|
12
|
-
//#endregion
|
|
13
|
-
export { __ΩRspackPluginOptions as a, __ΩRspackPluginContext as i, RspackPluginOptions as n, __ΩRspackPluginResolvedConfig as o, RspackPluginResolvedConfig as r, RspackPluginContext as t };
|
|
14
|
-
//# sourceMappingURL=plugin-Bba7oDr4.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-Bba7oDr4.d.cts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;KAsBY,mBAAA,GAAsB,QAAQ;KAE9B,0BAAA,GAA6B;AAF7B,KAIA,mBAJmB,CAAA,wBAM3B,0BANqC,GAMR,0BANQ,CAAA,GAOrC,aAPqC,CAOvB,eAPuB,CAAA;AAE7B,sCAA6B,GAAA,EAAA;AAE7B,6CAAmB,GAAA,EAAA;AAE3B,sCAAA,GAAA,EAAA"}
|
package/dist/plugin-ifZVa20V.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
package/dist/plugin-pBKbb5K9.cjs
DELETED
|
File without changes
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { RspackBuildConfig } from "powerlines/types/build";
|
|
2
|
-
import { PluginContext } from "powerlines/types/context";
|
|
3
|
-
import { RspackResolvedConfig } from "powerlines/types/resolved";
|
|
4
|
-
|
|
5
|
-
//#region src/types/plugin.d.ts
|
|
6
|
-
type RspackPluginOptions = Partial<RspackBuildConfig>;
|
|
7
|
-
type RspackPluginResolvedConfig = RspackResolvedConfig;
|
|
8
|
-
type RspackPluginContext<TResolvedConfig extends RspackPluginResolvedConfig = RspackPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
9
|
-
declare type __ΩRspackPluginOptions = any[];
|
|
10
|
-
declare type __ΩRspackPluginResolvedConfig = any[];
|
|
11
|
-
declare type __ΩRspackPluginContext = any[];
|
|
12
|
-
//#endregion
|
|
13
|
-
export { __ΩRspackPluginOptions as a, __ΩRspackPluginContext as i, RspackPluginOptions as n, __ΩRspackPluginResolvedConfig as o, RspackPluginResolvedConfig as r, RspackPluginContext as t };
|
|
14
|
-
//# sourceMappingURL=plugin-wK3Y5uKl.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-wK3Y5uKl.d.mts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;;KAsBY,mBAAA,GAAsB,QAAQ;KAE9B,0BAAA,GAA6B;AAF7B,KAIA,mBAJmB,CAAA,wBAM3B,0BANqC,GAMR,0BANQ,CAAA,GAOrC,aAPqC,CAOvB,eAPuB,CAAA;AAE7B,sCAA6B,GAAA,EAAA;AAE7B,6CAAmB,GAAA,EAAA;AAE3B,sCAAA,GAAA,EAAA"}
|
package/dist/types-U3zd8PTP.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
package/dist/types-o3zWarRp.cjs
DELETED
|
File without changes
|