@lynx-js/react-alias-rsbuild-plugin-canary 0.12.2-canary-20251217-27dea6e6 → 0.12.2-canary-20251222-e9baa022
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/CHANGELOG.md +1 -1
- package/dist/index.js +26 -19
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { createRequire } from "node:module";
|
|
2
2
|
import node_path from "node:path";
|
|
3
3
|
var __webpack_modules__ = {
|
|
4
|
-
"../../../node_modules/.pnpm/semver@7.7.
|
|
5
|
-
const debug = __webpack_require__("../../../node_modules/.pnpm/semver@7.7.
|
|
6
|
-
const { MAX_LENGTH, MAX_SAFE_INTEGER } = __webpack_require__("../../../node_modules/.pnpm/semver@7.7.
|
|
7
|
-
const { safeRe: re, t } = __webpack_require__("../../../node_modules/.pnpm/semver@7.7.
|
|
8
|
-
const parseOptions = __webpack_require__("../../../node_modules/.pnpm/semver@7.7.
|
|
9
|
-
const { compareIdentifiers } = __webpack_require__("../../../node_modules/.pnpm/semver@7.7.
|
|
4
|
+
"../../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/classes/semver.js" (module, __unused_webpack_exports, __webpack_require__) {
|
|
5
|
+
const debug = __webpack_require__("../../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/debug.js");
|
|
6
|
+
const { MAX_LENGTH, MAX_SAFE_INTEGER } = __webpack_require__("../../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/constants.js");
|
|
7
|
+
const { safeRe: re, t } = __webpack_require__("../../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/re.js");
|
|
8
|
+
const parseOptions = __webpack_require__("../../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/parse-options.js");
|
|
9
|
+
const { compareIdentifiers } = __webpack_require__("../../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/identifiers.js");
|
|
10
10
|
class SemVer {
|
|
11
11
|
constructor(version, options){
|
|
12
12
|
options = parseOptions(options);
|
|
@@ -57,7 +57,13 @@ var __webpack_modules__ = {
|
|
|
57
57
|
}
|
|
58
58
|
compareMain(other) {
|
|
59
59
|
if (!(other instanceof SemVer)) other = new SemVer(other, this.options);
|
|
60
|
-
|
|
60
|
+
if (this.major < other.major) return -1;
|
|
61
|
+
if (this.major > other.major) return 1;
|
|
62
|
+
if (this.minor < other.minor) return -1;
|
|
63
|
+
if (this.minor > other.minor) return 1;
|
|
64
|
+
if (this.patch < other.patch) return -1;
|
|
65
|
+
if (this.patch > other.patch) return 1;
|
|
66
|
+
return 0;
|
|
61
67
|
}
|
|
62
68
|
comparePre(other) {
|
|
63
69
|
if (!(other instanceof SemVer)) other = new SemVer(other, this.options);
|
|
@@ -181,17 +187,17 @@ var __webpack_modules__ = {
|
|
|
181
187
|
}
|
|
182
188
|
module.exports = SemVer;
|
|
183
189
|
},
|
|
184
|
-
"../../../node_modules/.pnpm/semver@7.7.
|
|
185
|
-
const SemVer = __webpack_require__("../../../node_modules/.pnpm/semver@7.7.
|
|
190
|
+
"../../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/compare.js" (module, __unused_webpack_exports, __webpack_require__) {
|
|
191
|
+
const SemVer = __webpack_require__("../../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/classes/semver.js");
|
|
186
192
|
const compare = (a, b, loose)=>new SemVer(a, loose).compare(new SemVer(b, loose));
|
|
187
193
|
module.exports = compare;
|
|
188
194
|
},
|
|
189
|
-
"../../../node_modules/.pnpm/semver@7.7.
|
|
190
|
-
const compare = __webpack_require__("../../../node_modules/.pnpm/semver@7.7.
|
|
195
|
+
"../../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/gte.js" (module, __unused_webpack_exports, __webpack_require__) {
|
|
196
|
+
const compare = __webpack_require__("../../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/compare.js");
|
|
191
197
|
const gte = (a, b, loose)=>compare(a, b, loose) >= 0;
|
|
192
198
|
module.exports = gte;
|
|
193
199
|
},
|
|
194
|
-
"../../../node_modules/.pnpm/semver@7.7.
|
|
200
|
+
"../../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/constants.js" (module) {
|
|
195
201
|
const SEMVER_SPEC_VERSION = '2.0.0';
|
|
196
202
|
const MAX_LENGTH = 256;
|
|
197
203
|
const MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || 9007199254740991;
|
|
@@ -217,13 +223,14 @@ var __webpack_modules__ = {
|
|
|
217
223
|
FLAG_LOOSE: 2
|
|
218
224
|
};
|
|
219
225
|
},
|
|
220
|
-
"../../../node_modules/.pnpm/semver@7.7.
|
|
226
|
+
"../../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/debug.js" (module) {
|
|
221
227
|
const debug = 'object' == typeof process && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args)=>console.error('SEMVER', ...args) : ()=>{};
|
|
222
228
|
module.exports = debug;
|
|
223
229
|
},
|
|
224
|
-
"../../../node_modules/.pnpm/semver@7.7.
|
|
230
|
+
"../../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/identifiers.js" (module) {
|
|
225
231
|
const numeric = /^[0-9]+$/;
|
|
226
232
|
const compareIdentifiers = (a, b)=>{
|
|
233
|
+
if ('number' == typeof a && 'number' == typeof b) return a === b ? 0 : a < b ? -1 : 1;
|
|
227
234
|
const anum = numeric.test(a);
|
|
228
235
|
const bnum = numeric.test(b);
|
|
229
236
|
if (anum && bnum) {
|
|
@@ -238,7 +245,7 @@ var __webpack_modules__ = {
|
|
|
238
245
|
rcompareIdentifiers
|
|
239
246
|
};
|
|
240
247
|
},
|
|
241
|
-
"../../../node_modules/.pnpm/semver@7.7.
|
|
248
|
+
"../../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/parse-options.js" (module) {
|
|
242
249
|
const looseOption = Object.freeze({
|
|
243
250
|
loose: true
|
|
244
251
|
});
|
|
@@ -250,9 +257,9 @@ var __webpack_modules__ = {
|
|
|
250
257
|
};
|
|
251
258
|
module.exports = parseOptions;
|
|
252
259
|
},
|
|
253
|
-
"../../../node_modules/.pnpm/semver@7.7.
|
|
254
|
-
const { MAX_SAFE_COMPONENT_LENGTH, MAX_SAFE_BUILD_LENGTH, MAX_LENGTH } = __webpack_require__("../../../node_modules/.pnpm/semver@7.7.
|
|
255
|
-
const debug = __webpack_require__("../../../node_modules/.pnpm/semver@7.7.
|
|
260
|
+
"../../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/re.js" (module, exports, __webpack_require__) {
|
|
261
|
+
const { MAX_SAFE_COMPONENT_LENGTH, MAX_SAFE_BUILD_LENGTH, MAX_LENGTH } = __webpack_require__("../../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/constants.js");
|
|
262
|
+
const debug = __webpack_require__("../../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/debug.js");
|
|
256
263
|
exports = module.exports = {};
|
|
257
264
|
const re = exports.re = [];
|
|
258
265
|
const safeRe = exports.safeRe = [];
|
|
@@ -367,7 +374,7 @@ function __webpack_require__(moduleId) {
|
|
|
367
374
|
(()=>{
|
|
368
375
|
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
369
376
|
})();
|
|
370
|
-
var gte = __webpack_require__("../../../node_modules/.pnpm/semver@7.7.
|
|
377
|
+
var gte = __webpack_require__("../../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/gte.js");
|
|
371
378
|
var gte_default = /*#__PURE__*/ __webpack_require__.n(gte);
|
|
372
379
|
const S_PLUGIN_REACT_ALIAS = Symbol.for('@lynx-js/plugin-react-alias');
|
|
373
380
|
function pluginReactAlias(options) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynx-js/react-alias-rsbuild-plugin-canary",
|
|
3
|
-
"version": "0.12.2-canary-
|
|
3
|
+
"version": "0.12.2-canary-20251222-e9baa022",
|
|
4
4
|
"description": "A rsbuild plugin for making alias in ReactLynx",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"rsbuild",
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
"README.md"
|
|
33
33
|
],
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@microsoft/api-extractor": "7.
|
|
35
|
+
"@microsoft/api-extractor": "7.55.2",
|
|
36
36
|
"@rsbuild/core": "1.6.13",
|
|
37
37
|
"@rspack/core": "1.6.6",
|
|
38
38
|
"@types/semver": "^7.7.1",
|
|
39
|
-
"semver": "^7.7.
|
|
39
|
+
"semver": "^7.7.3",
|
|
40
40
|
"@lynx-js/react": "npm:@lynx-js/react-canary@0.115.1",
|
|
41
|
-
"@lynx-js/
|
|
42
|
-
"@lynx-js/
|
|
41
|
+
"@lynx-js/vitest-setup": "0.0.0",
|
|
42
|
+
"@lynx-js/react-webpack-plugin": "npm:@lynx-js/react-webpack-plugin-canary@0.7.3"
|
|
43
43
|
},
|
|
44
44
|
"engines": {
|
|
45
45
|
"node": ">=18"
|