@baseplate-dev/plugin-auth 0.1.1
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/LICENSE +390 -0
- package/dist/auth/core/common.d.ts +7 -0
- package/dist/auth/core/common.d.ts.map +1 -0
- package/dist/auth/core/common.js +26 -0
- package/dist/auth/core/common.js.map +1 -0
- package/dist/auth/core/components/auth-definition-editor.d.ts +5 -0
- package/dist/auth/core/components/auth-definition-editor.d.ts.map +1 -0
- package/dist/auth/core/components/auth-definition-editor.js +57 -0
- package/dist/auth/core/components/auth-definition-editor.js.map +1 -0
- package/dist/auth/core/components/role-editor-form.d.ts +10 -0
- package/dist/auth/core/components/role-editor-form.d.ts.map +1 -0
- package/dist/auth/core/components/role-editor-form.js +27 -0
- package/dist/auth/core/components/role-editor-form.js.map +1 -0
- package/dist/auth/core/node.d.ts +5 -0
- package/dist/auth/core/node.d.ts.map +1 -0
- package/dist/auth/core/node.js +58 -0
- package/dist/auth/core/node.js.map +1 -0
- package/dist/auth/core/schema/models.d.ts +9 -0
- package/dist/auth/core/schema/models.d.ts.map +1 -0
- package/dist/auth/core/schema/models.js +187 -0
- package/dist/auth/core/schema/models.js.map +1 -0
- package/dist/auth/core/schema/plugin-definition.d.ts +88 -0
- package/dist/auth/core/schema/plugin-definition.d.ts.map +1 -0
- package/dist/auth/core/schema/plugin-definition.js +29 -0
- package/dist/auth/core/schema/plugin-definition.js.map +1 -0
- package/dist/auth/core/web.d.ts +6 -0
- package/dist/auth/core/web.d.ts.map +1 -0
- package/dist/auth/core/web.js +14 -0
- package/dist/auth/core/web.js.map +1 -0
- package/dist/auth/generators/fastify/auth-module/auth-module.generator.d.ts +65 -0
- package/dist/auth/generators/fastify/auth-module/auth-module.generator.d.ts.map +1 -0
- package/dist/auth/generators/fastify/auth-module/auth-module.generator.js +62 -0
- package/dist/auth/generators/fastify/auth-module/auth-module.generator.js.map +1 -0
- package/dist/auth/generators/fastify/auth-module/generated/ts-templates.d.ts +96 -0
- package/dist/auth/generators/fastify/auth-module/generated/ts-templates.d.ts.map +1 -0
- package/dist/auth/generators/fastify/auth-module/generated/ts-templates.js +94 -0
- package/dist/auth/generators/fastify/auth-module/generated/ts-templates.js.map +1 -0
- package/dist/auth/generators/fastify/auth-module/templates/management.ts +22 -0
- package/dist/auth/generators/fastify/auth-module/templates/schema/user-session-payload.object-type.ts +23 -0
- package/dist/auth/generators/fastify/auth-module/templates/schema/user-session.mutations.ts +22 -0
- package/dist/auth/generators/fastify/auth-module/templates/schema/user-session.queries.ts +20 -0
- package/dist/auth/generators/fastify/auth-module/templates/services/user-session.service.ts +251 -0
- package/dist/auth/generators/fastify/auth-module/templates/user-session.constants.ts +19 -0
- package/dist/auth/generators/fastify/auth-module/templates/user-session.service.ts +101 -0
- package/dist/auth/generators/fastify/auth-module/templates/utils/cookie-signer.ts +71 -0
- package/dist/auth/generators/fastify/auth-module/templates/utils/session-cookie.ts +42 -0
- package/dist/auth/generators/fastify/auth-module/templates/utils/verify-request-origin.ts +45 -0
- package/dist/auth/generators/fastify/index.d.ts +2 -0
- package/dist/auth/generators/fastify/index.d.ts.map +1 -0
- package/dist/auth/generators/fastify/index.js +2 -0
- package/dist/auth/generators/fastify/index.js.map +1 -0
- package/dist/auth/generators/index.d.ts +2 -0
- package/dist/auth/generators/index.d.ts.map +1 -0
- package/dist/auth/generators/index.js +2 -0
- package/dist/auth/generators/index.js.map +1 -0
- package/dist/auth/index.d.ts +2 -0
- package/dist/auth/index.d.ts.map +1 -0
- package/dist/auth/index.js +2 -0
- package/dist/auth/index.js.map +1 -0
- package/dist/auth/metadata.json +8 -0
- package/dist/auth/static/icon.svg +1 -0
- package/dist/auth0/constants/packages.d.ts +6 -0
- package/dist/auth0/constants/packages.d.ts.map +1 -0
- package/dist/auth0/constants/packages.js +6 -0
- package/dist/auth0/constants/packages.js.map +1 -0
- package/dist/auth0/core/common.d.ts +7 -0
- package/dist/auth0/core/common.d.ts.map +1 -0
- package/dist/auth0/core/common.js +28 -0
- package/dist/auth0/core/common.js.map +1 -0
- package/dist/auth0/core/components/auth-definition-editor.d.ts +5 -0
- package/dist/auth0/core/components/auth-definition-editor.d.ts.map +1 -0
- package/dist/auth0/core/components/auth-definition-editor.js +57 -0
- package/dist/auth0/core/components/auth-definition-editor.js.map +1 -0
- package/dist/auth0/core/components/role-dialog.d.ts +14 -0
- package/dist/auth0/core/components/role-dialog.d.ts.map +1 -0
- package/dist/auth0/core/components/role-dialog.js +27 -0
- package/dist/auth0/core/components/role-dialog.js.map +1 -0
- package/dist/auth0/core/components/role-editor-form.d.ts +10 -0
- package/dist/auth0/core/components/role-editor-form.d.ts.map +1 -0
- package/dist/auth0/core/components/role-editor-form.js +52 -0
- package/dist/auth0/core/components/role-editor-form.js.map +1 -0
- package/dist/auth0/core/node.d.ts +5 -0
- package/dist/auth0/core/node.d.ts.map +1 -0
- package/dist/auth0/core/node.js +86 -0
- package/dist/auth0/core/node.js.map +1 -0
- package/dist/auth0/core/schema/migrations.d.ts +3 -0
- package/dist/auth0/core/schema/migrations.d.ts.map +1 -0
- package/dist/auth0/core/schema/migrations.js +17 -0
- package/dist/auth0/core/schema/migrations.js.map +1 -0
- package/dist/auth0/core/schema/models.d.ts +6 -0
- package/dist/auth0/core/schema/models.d.ts.map +1 -0
- package/dist/auth0/core/schema/models.js +33 -0
- package/dist/auth0/core/schema/models.js.map +1 -0
- package/dist/auth0/core/schema/plugin-definition.d.ts +73 -0
- package/dist/auth0/core/schema/plugin-definition.d.ts.map +1 -0
- package/dist/auth0/core/schema/plugin-definition.js +17 -0
- package/dist/auth0/core/schema/plugin-definition.js.map +1 -0
- package/dist/auth0/core/web.d.ts +6 -0
- package/dist/auth0/core/web.d.ts.map +1 -0
- package/dist/auth0/core/web.js +14 -0
- package/dist/auth0/core/web.js.map +1 -0
- package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.d.ts +67 -0
- package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.d.ts.map +1 -0
- package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.js +125 -0
- package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.js.map +1 -0
- package/dist/auth0/generators/fastify/auth0-module/generated/ts-import-maps.d.ts +3 -0
- package/dist/auth0/generators/fastify/auth0-module/generated/ts-import-maps.d.ts.map +1 -0
- package/dist/auth0/generators/fastify/auth0-module/generated/ts-import-maps.js +12 -0
- package/dist/auth0/generators/fastify/auth0-module/generated/ts-import-maps.js.map +1 -0
- package/dist/auth0/generators/fastify/auth0-module/generated/ts-templates.d.ts +43 -0
- package/dist/auth0/generators/fastify/auth0-module/generated/ts-templates.d.ts.map +1 -0
- package/dist/auth0/generators/fastify/auth0-module/generated/ts-templates.js +25 -0
- package/dist/auth0/generators/fastify/auth0-module/generated/ts-templates.js.map +1 -0
- package/dist/auth0/generators/fastify/auth0-module/templates/management.ts +22 -0
- package/dist/auth0/generators/fastify/auth0-module/templates/user-session.service.ts +101 -0
- package/dist/auth0/generators/fastify/index.d.ts +2 -0
- package/dist/auth0/generators/fastify/index.d.ts.map +1 -0
- package/dist/auth0/generators/fastify/index.js +2 -0
- package/dist/auth0/generators/fastify/index.js.map +1 -0
- package/dist/auth0/generators/index.d.ts +3 -0
- package/dist/auth0/generators/index.d.ts.map +1 -0
- package/dist/auth0/generators/index.js +3 -0
- package/dist/auth0/generators/index.js.map +1 -0
- package/dist/auth0/generators/react/auth0-apollo/auth0-apollo.generator.d.ts +10 -0
- package/dist/auth0/generators/react/auth0-apollo/auth0-apollo.generator.d.ts.map +1 -0
- package/dist/auth0/generators/react/auth0-apollo/auth0-apollo.generator.js +41 -0
- package/dist/auth0/generators/react/auth0-apollo/auth0-apollo.generator.js.map +1 -0
- package/dist/auth0/generators/react/auth0-apollo/templates/auth-link.ts +11 -0
- package/dist/auth0/generators/react/auth0-callback/auth0-callback.generator.d.ts +61 -0
- package/dist/auth0/generators/react/auth0-callback/auth0-callback.generator.d.ts.map +1 -0
- package/dist/auth0/generators/react/auth0-callback/auth0-callback.generator.js +59 -0
- package/dist/auth0/generators/react/auth0-callback/auth0-callback.generator.js.map +1 -0
- package/dist/auth0/generators/react/auth0-callback/generated/ts-templates.d.ts +106 -0
- package/dist/auth0/generators/react/auth0-callback/generated/ts-templates.d.ts.map +1 -0
- package/dist/auth0/generators/react/auth0-callback/generated/ts-templates.js +28 -0
- package/dist/auth0/generators/react/auth0-callback/generated/ts-templates.js.map +1 -0
- package/dist/auth0/generators/react/auth0-callback/templates/auth0-callback.page.tsx +61 -0
- package/dist/auth0/generators/react/auth0-callback/templates/signup.page.tsx +48 -0
- package/dist/auth0/generators/react/auth0-components/auth0-components.generator.d.ts +53 -0
- package/dist/auth0/generators/react/auth0-components/auth0-components.generator.d.ts.map +1 -0
- package/dist/auth0/generators/react/auth0-components/auth0-components.generator.js +44 -0
- package/dist/auth0/generators/react/auth0-components/auth0-components.generator.js.map +1 -0
- package/dist/auth0/generators/react/auth0-components/generated/ts-import-maps.d.ts +3 -0
- package/dist/auth0/generators/react/auth0-components/generated/ts-import-maps.d.ts.map +1 -0
- package/dist/auth0/generators/react/auth0-components/generated/ts-import-maps.js +12 -0
- package/dist/auth0/generators/react/auth0-components/generated/ts-import-maps.js.map +1 -0
- package/dist/auth0/generators/react/auth0-components/generated/ts-templates.d.ts +45 -0
- package/dist/auth0/generators/react/auth0-components/generated/ts-templates.d.ts.map +1 -0
- package/dist/auth0/generators/react/auth0-components/generated/ts-templates.js +13 -0
- package/dist/auth0/generators/react/auth0-components/generated/ts-templates.js.map +1 -0
- package/dist/auth0/generators/react/auth0-components/templates/RequireAuth.tsx +22 -0
- package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.d.ts +28 -0
- package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.d.ts.map +1 -0
- package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.js +65 -0
- package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.js.map +1 -0
- package/dist/auth0/generators/react/auth0-hooks/generated/text-templates.d.ts +8 -0
- package/dist/auth0/generators/react/auth0-hooks/generated/text-templates.d.ts.map +1 -0
- package/dist/auth0/generators/react/auth0-hooks/generated/text-templates.js +12 -0
- package/dist/auth0/generators/react/auth0-hooks/generated/text-templates.js.map +1 -0
- package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-maps.d.ts +3 -0
- package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-maps.d.ts.map +1 -0
- package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-maps.js +16 -0
- package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-maps.js.map +1 -0
- package/dist/auth0/generators/react/auth0-hooks/generated/ts-templates.d.ts +33 -0
- package/dist/auth0/generators/react/auth0-hooks/generated/ts-templates.d.ts.map +1 -0
- package/dist/auth0/generators/react/auth0-hooks/generated/ts-templates.js +50 -0
- package/dist/auth0/generators/react/auth0-hooks/generated/ts-templates.js.map +1 -0
- package/dist/auth0/generators/react/auth0-hooks/templates/useCurrentUser.gql +10 -0
- package/dist/auth0/generators/react/auth0-hooks/templates/useCurrentUser.ts +29 -0
- package/dist/auth0/generators/react/auth0-hooks/templates/useLogOut.ts +14 -0
- package/dist/auth0/generators/react/auth0-hooks/templates/useRequiredUserId.ts +11 -0
- package/dist/auth0/generators/react/auth0-hooks/templates/useSession.ts +23 -0
- package/dist/auth0/generators/react/index.d.ts +6 -0
- package/dist/auth0/generators/react/index.d.ts.map +1 -0
- package/dist/auth0/generators/react/index.js +6 -0
- package/dist/auth0/generators/react/index.js.map +1 -0
- package/dist/auth0/generators/react/react-auth0/react-auth0.generator.d.ts +23 -0
- package/dist/auth0/generators/react/react-auth0/react-auth0.generator.d.ts.map +1 -0
- package/dist/auth0/generators/react/react-auth0/react-auth0.generator.js +64 -0
- package/dist/auth0/generators/react/react-auth0/react-auth0.generator.js.map +1 -0
- package/dist/auth0/metadata.json +8 -0
- package/dist/auth0/static/icon.svg +7 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/roles/constants.d.ts +4 -0
- package/dist/roles/constants.d.ts.map +1 -0
- package/dist/roles/constants.js +25 -0
- package/dist/roles/constants.js.map +1 -0
- package/dist/roles/index.d.ts +3 -0
- package/dist/roles/index.d.ts.map +1 -0
- package/dist/roles/index.js +3 -0
- package/dist/roles/index.js.map +1 -0
- package/dist/roles/schema.d.ts +65 -0
- package/dist/roles/schema.d.ts.map +1 -0
- package/dist/roles/schema.js +43 -0
- package/dist/roles/schema.js.map +1 -0
- package/dist/utils/cn.d.ts +2 -0
- package/dist/utils/cn.d.ts.map +1 -0
- package/dist/utils/cn.js +2 -0
- package/dist/utils/cn.js.map +1 -0
- package/dist/web/assets/__federation_expose_auth0CoreCommon--n6esVYP.js +54 -0
- package/dist/web/assets/__federation_expose_auth0CoreCommon--n6esVYP.js.map +1 -0
- package/dist/web/assets/__federation_expose_auth0CoreWeb-Ql6gpX5q.js +377 -0
- package/dist/web/assets/__federation_expose_auth0CoreWeb-Ql6gpX5q.js.map +1 -0
- package/dist/web/assets/__federation_fn_import-BiwmVFwy.js +421 -0
- package/dist/web/assets/__federation_fn_import-BiwmVFwy.js.map +1 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-CY8oz43s.js +330 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-CY8oz43s.js.map +1 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-B62IPizQ.js +10559 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-B62IPizQ.js.map +1 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-BU2QTWNs.js +12718 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-BU2QTWNs.js.map +1 -0
- package/dist/web/assets/__federation_shared_react-dom-Bwq4pLax.js +250 -0
- package/dist/web/assets/__federation_shared_react-dom-Bwq4pLax.js.map +1 -0
- package/dist/web/assets/__federation_shared_react-uocnGSER.js +7 -0
- package/dist/web/assets/__federation_shared_react-uocnGSER.js.map +1 -0
- package/dist/web/assets/__federation_shared_zod-BK7IELHt.js +4380 -0
- package/dist/web/assets/__federation_shared_zod-BK7IELHt.js.map +1 -0
- package/dist/web/assets/index-B1hOKVPw.js +574 -0
- package/dist/web/assets/index-B1hOKVPw.js.map +1 -0
- package/dist/web/assets/index-CgJx-krK.js +95 -0
- package/dist/web/assets/index-CgJx-krK.js.map +1 -0
- package/dist/web/assets/index-l0sNRNKZ.js.map +1 -0
- package/dist/web/assets/index.esm-BcxPd7Ha.js +2584 -0
- package/dist/web/assets/index.esm-BcxPd7Ha.js.map +1 -0
- package/dist/web/assets/model-utils-CbQJy1wE.js +1263 -0
- package/dist/web/assets/model-utils-CbQJy1wE.js.map +1 -0
- package/dist/web/assets/plugin-definition-BQRupXoQ.js +78 -0
- package/dist/web/assets/plugin-definition-BQRupXoQ.js.map +1 -0
- package/dist/web/assets/react-2jQE8aG0.js +47 -0
- package/dist/web/assets/react-2jQE8aG0.js.map +1 -0
- package/dist/web/assets/remoteEntry.js +54 -0
- package/dist/web/assets/remoteEntry.js.map +1 -0
- package/dist/web/assets/style-BdgwWjAf.css +95 -0
- package/dist/web/index.html +24 -0
- package/dist/web-export.d.ts +2 -0
- package/dist/web-export.js +2 -0
- package/dist/web-export.js.map +1 -0
- package/manifest.json +4 -0
- package/package.json +80 -0
|
@@ -0,0 +1,421 @@
|
|
|
1
|
+
const buildIdentifier = "[0-9A-Za-z-]+";
|
|
2
|
+
const build = `(?:\\+(${buildIdentifier}(?:\\.${buildIdentifier})*))`;
|
|
3
|
+
const numericIdentifier = "0|[1-9]\\d*";
|
|
4
|
+
const numericIdentifierLoose = "[0-9]+";
|
|
5
|
+
const nonNumericIdentifier = "\\d*[a-zA-Z-][a-zA-Z0-9-]*";
|
|
6
|
+
const preReleaseIdentifierLoose = `(?:${numericIdentifierLoose}|${nonNumericIdentifier})`;
|
|
7
|
+
const preReleaseLoose = `(?:-?(${preReleaseIdentifierLoose}(?:\\.${preReleaseIdentifierLoose})*))`;
|
|
8
|
+
const preReleaseIdentifier = `(?:${numericIdentifier}|${nonNumericIdentifier})`;
|
|
9
|
+
const preRelease = `(?:-(${preReleaseIdentifier}(?:\\.${preReleaseIdentifier})*))`;
|
|
10
|
+
const xRangeIdentifier = `${numericIdentifier}|x|X|\\*`;
|
|
11
|
+
const xRangePlain = `[v=\\s]*(${xRangeIdentifier})(?:\\.(${xRangeIdentifier})(?:\\.(${xRangeIdentifier})(?:${preRelease})?${build}?)?)?`;
|
|
12
|
+
const hyphenRange = `^\\s*(${xRangePlain})\\s+-\\s+(${xRangePlain})\\s*$`;
|
|
13
|
+
const mainVersionLoose = `(${numericIdentifierLoose})\\.(${numericIdentifierLoose})\\.(${numericIdentifierLoose})`;
|
|
14
|
+
const loosePlain = `[v=\\s]*${mainVersionLoose}${preReleaseLoose}?${build}?`;
|
|
15
|
+
const gtlt = "((?:<|>)?=?)";
|
|
16
|
+
const comparatorTrim = `(\\s*)${gtlt}\\s*(${loosePlain}|${xRangePlain})`;
|
|
17
|
+
const loneTilde = "(?:~>?)";
|
|
18
|
+
const tildeTrim = `(\\s*)${loneTilde}\\s+`;
|
|
19
|
+
const loneCaret = "(?:\\^)";
|
|
20
|
+
const caretTrim = `(\\s*)${loneCaret}\\s+`;
|
|
21
|
+
const star = "(<|>)?=?\\s*\\*";
|
|
22
|
+
const caret = `^${loneCaret}${xRangePlain}$`;
|
|
23
|
+
const mainVersion = `(${numericIdentifier})\\.(${numericIdentifier})\\.(${numericIdentifier})`;
|
|
24
|
+
const fullPlain = `v?${mainVersion}${preRelease}?${build}?`;
|
|
25
|
+
const tilde = `^${loneTilde}${xRangePlain}$`;
|
|
26
|
+
const xRange = `^${gtlt}\\s*${xRangePlain}$`;
|
|
27
|
+
const comparator = `^${gtlt}\\s*(${fullPlain})$|^$`;
|
|
28
|
+
const gte0 = "^\\s*>=\\s*0.0.0\\s*$";
|
|
29
|
+
function parseRegex(source) {
|
|
30
|
+
return new RegExp(source);
|
|
31
|
+
}
|
|
32
|
+
function isXVersion(version) {
|
|
33
|
+
return !version || version.toLowerCase() === "x" || version === "*";
|
|
34
|
+
}
|
|
35
|
+
function pipe(...fns) {
|
|
36
|
+
return (x) => {
|
|
37
|
+
return fns.reduce((v, f) => f(v), x);
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function extractComparator(comparatorString) {
|
|
41
|
+
return comparatorString.match(parseRegex(comparator));
|
|
42
|
+
}
|
|
43
|
+
function combineVersion(major, minor, patch, preRelease2) {
|
|
44
|
+
const mainVersion2 = `${major}.${minor}.${patch}`;
|
|
45
|
+
if (preRelease2) {
|
|
46
|
+
return `${mainVersion2}-${preRelease2}`;
|
|
47
|
+
}
|
|
48
|
+
return mainVersion2;
|
|
49
|
+
}
|
|
50
|
+
function parseHyphen(range) {
|
|
51
|
+
return range.replace(
|
|
52
|
+
parseRegex(hyphenRange),
|
|
53
|
+
(_range, from, fromMajor, fromMinor, fromPatch, _fromPreRelease, _fromBuild, to, toMajor, toMinor, toPatch, toPreRelease) => {
|
|
54
|
+
if (isXVersion(fromMajor)) {
|
|
55
|
+
from = "";
|
|
56
|
+
} else if (isXVersion(fromMinor)) {
|
|
57
|
+
from = `>=${fromMajor}.0.0`;
|
|
58
|
+
} else if (isXVersion(fromPatch)) {
|
|
59
|
+
from = `>=${fromMajor}.${fromMinor}.0`;
|
|
60
|
+
} else {
|
|
61
|
+
from = `>=${from}`;
|
|
62
|
+
}
|
|
63
|
+
if (isXVersion(toMajor)) {
|
|
64
|
+
to = "";
|
|
65
|
+
} else if (isXVersion(toMinor)) {
|
|
66
|
+
to = `<${+toMajor + 1}.0.0-0`;
|
|
67
|
+
} else if (isXVersion(toPatch)) {
|
|
68
|
+
to = `<${toMajor}.${+toMinor + 1}.0-0`;
|
|
69
|
+
} else if (toPreRelease) {
|
|
70
|
+
to = `<=${toMajor}.${toMinor}.${toPatch}-${toPreRelease}`;
|
|
71
|
+
} else {
|
|
72
|
+
to = `<=${to}`;
|
|
73
|
+
}
|
|
74
|
+
return `${from} ${to}`.trim();
|
|
75
|
+
}
|
|
76
|
+
);
|
|
77
|
+
}
|
|
78
|
+
function parseComparatorTrim(range) {
|
|
79
|
+
return range.replace(parseRegex(comparatorTrim), "$1$2$3");
|
|
80
|
+
}
|
|
81
|
+
function parseTildeTrim(range) {
|
|
82
|
+
return range.replace(parseRegex(tildeTrim), "$1~");
|
|
83
|
+
}
|
|
84
|
+
function parseCaretTrim(range) {
|
|
85
|
+
return range.replace(parseRegex(caretTrim), "$1^");
|
|
86
|
+
}
|
|
87
|
+
function parseCarets(range) {
|
|
88
|
+
return range.trim().split(/\s+/).map((rangeVersion) => {
|
|
89
|
+
return rangeVersion.replace(
|
|
90
|
+
parseRegex(caret),
|
|
91
|
+
(_, major, minor, patch, preRelease2) => {
|
|
92
|
+
if (isXVersion(major)) {
|
|
93
|
+
return "";
|
|
94
|
+
} else if (isXVersion(minor)) {
|
|
95
|
+
return `>=${major}.0.0 <${+major + 1}.0.0-0`;
|
|
96
|
+
} else if (isXVersion(patch)) {
|
|
97
|
+
if (major === "0") {
|
|
98
|
+
return `>=${major}.${minor}.0 <${major}.${+minor + 1}.0-0`;
|
|
99
|
+
} else {
|
|
100
|
+
return `>=${major}.${minor}.0 <${+major + 1}.0.0-0`;
|
|
101
|
+
}
|
|
102
|
+
} else if (preRelease2) {
|
|
103
|
+
if (major === "0") {
|
|
104
|
+
if (minor === "0") {
|
|
105
|
+
return `>=${major}.${minor}.${patch}-${preRelease2} <${major}.${minor}.${+patch + 1}-0`;
|
|
106
|
+
} else {
|
|
107
|
+
return `>=${major}.${minor}.${patch}-${preRelease2} <${major}.${+minor + 1}.0-0`;
|
|
108
|
+
}
|
|
109
|
+
} else {
|
|
110
|
+
return `>=${major}.${minor}.${patch}-${preRelease2} <${+major + 1}.0.0-0`;
|
|
111
|
+
}
|
|
112
|
+
} else {
|
|
113
|
+
if (major === "0") {
|
|
114
|
+
if (minor === "0") {
|
|
115
|
+
return `>=${major}.${minor}.${patch} <${major}.${minor}.${+patch + 1}-0`;
|
|
116
|
+
} else {
|
|
117
|
+
return `>=${major}.${minor}.${patch} <${major}.${+minor + 1}.0-0`;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
return `>=${major}.${minor}.${patch} <${+major + 1}.0.0-0`;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
);
|
|
124
|
+
}).join(" ");
|
|
125
|
+
}
|
|
126
|
+
function parseTildes(range) {
|
|
127
|
+
return range.trim().split(/\s+/).map((rangeVersion) => {
|
|
128
|
+
return rangeVersion.replace(
|
|
129
|
+
parseRegex(tilde),
|
|
130
|
+
(_, major, minor, patch, preRelease2) => {
|
|
131
|
+
if (isXVersion(major)) {
|
|
132
|
+
return "";
|
|
133
|
+
} else if (isXVersion(minor)) {
|
|
134
|
+
return `>=${major}.0.0 <${+major + 1}.0.0-0`;
|
|
135
|
+
} else if (isXVersion(patch)) {
|
|
136
|
+
return `>=${major}.${minor}.0 <${major}.${+minor + 1}.0-0`;
|
|
137
|
+
} else if (preRelease2) {
|
|
138
|
+
return `>=${major}.${minor}.${patch}-${preRelease2} <${major}.${+minor + 1}.0-0`;
|
|
139
|
+
}
|
|
140
|
+
return `>=${major}.${minor}.${patch} <${major}.${+minor + 1}.0-0`;
|
|
141
|
+
}
|
|
142
|
+
);
|
|
143
|
+
}).join(" ");
|
|
144
|
+
}
|
|
145
|
+
function parseXRanges(range) {
|
|
146
|
+
return range.split(/\s+/).map((rangeVersion) => {
|
|
147
|
+
return rangeVersion.trim().replace(
|
|
148
|
+
parseRegex(xRange),
|
|
149
|
+
(ret, gtlt2, major, minor, patch, preRelease2) => {
|
|
150
|
+
const isXMajor = isXVersion(major);
|
|
151
|
+
const isXMinor = isXMajor || isXVersion(minor);
|
|
152
|
+
const isXPatch = isXMinor || isXVersion(patch);
|
|
153
|
+
if (gtlt2 === "=" && isXPatch) {
|
|
154
|
+
gtlt2 = "";
|
|
155
|
+
}
|
|
156
|
+
preRelease2 = "";
|
|
157
|
+
if (isXMajor) {
|
|
158
|
+
if (gtlt2 === ">" || gtlt2 === "<") {
|
|
159
|
+
return "<0.0.0-0";
|
|
160
|
+
} else {
|
|
161
|
+
return "*";
|
|
162
|
+
}
|
|
163
|
+
} else if (gtlt2 && isXPatch) {
|
|
164
|
+
if (isXMinor) {
|
|
165
|
+
minor = 0;
|
|
166
|
+
}
|
|
167
|
+
patch = 0;
|
|
168
|
+
if (gtlt2 === ">") {
|
|
169
|
+
gtlt2 = ">=";
|
|
170
|
+
if (isXMinor) {
|
|
171
|
+
major = +major + 1;
|
|
172
|
+
minor = 0;
|
|
173
|
+
patch = 0;
|
|
174
|
+
} else {
|
|
175
|
+
minor = +minor + 1;
|
|
176
|
+
patch = 0;
|
|
177
|
+
}
|
|
178
|
+
} else if (gtlt2 === "<=") {
|
|
179
|
+
gtlt2 = "<";
|
|
180
|
+
if (isXMinor) {
|
|
181
|
+
major = +major + 1;
|
|
182
|
+
} else {
|
|
183
|
+
minor = +minor + 1;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
if (gtlt2 === "<") {
|
|
187
|
+
preRelease2 = "-0";
|
|
188
|
+
}
|
|
189
|
+
return `${gtlt2 + major}.${minor}.${patch}${preRelease2}`;
|
|
190
|
+
} else if (isXMinor) {
|
|
191
|
+
return `>=${major}.0.0${preRelease2} <${+major + 1}.0.0-0`;
|
|
192
|
+
} else if (isXPatch) {
|
|
193
|
+
return `>=${major}.${minor}.0${preRelease2} <${major}.${+minor + 1}.0-0`;
|
|
194
|
+
}
|
|
195
|
+
return ret;
|
|
196
|
+
}
|
|
197
|
+
);
|
|
198
|
+
}).join(" ");
|
|
199
|
+
}
|
|
200
|
+
function parseStar(range) {
|
|
201
|
+
return range.trim().replace(parseRegex(star), "");
|
|
202
|
+
}
|
|
203
|
+
function parseGTE0(comparatorString) {
|
|
204
|
+
return comparatorString.trim().replace(parseRegex(gte0), "");
|
|
205
|
+
}
|
|
206
|
+
function compareAtom(rangeAtom, versionAtom) {
|
|
207
|
+
rangeAtom = +rangeAtom || rangeAtom;
|
|
208
|
+
versionAtom = +versionAtom || versionAtom;
|
|
209
|
+
if (rangeAtom > versionAtom) {
|
|
210
|
+
return 1;
|
|
211
|
+
}
|
|
212
|
+
if (rangeAtom === versionAtom) {
|
|
213
|
+
return 0;
|
|
214
|
+
}
|
|
215
|
+
return -1;
|
|
216
|
+
}
|
|
217
|
+
function comparePreRelease(rangeAtom, versionAtom) {
|
|
218
|
+
const { preRelease: rangePreRelease } = rangeAtom;
|
|
219
|
+
const { preRelease: versionPreRelease } = versionAtom;
|
|
220
|
+
if (rangePreRelease === void 0 && !!versionPreRelease) {
|
|
221
|
+
return 1;
|
|
222
|
+
}
|
|
223
|
+
if (!!rangePreRelease && versionPreRelease === void 0) {
|
|
224
|
+
return -1;
|
|
225
|
+
}
|
|
226
|
+
if (rangePreRelease === void 0 && versionPreRelease === void 0) {
|
|
227
|
+
return 0;
|
|
228
|
+
}
|
|
229
|
+
for (let i = 0, n = rangePreRelease.length; i <= n; i++) {
|
|
230
|
+
const rangeElement = rangePreRelease[i];
|
|
231
|
+
const versionElement = versionPreRelease[i];
|
|
232
|
+
if (rangeElement === versionElement) {
|
|
233
|
+
continue;
|
|
234
|
+
}
|
|
235
|
+
if (rangeElement === void 0 && versionElement === void 0) {
|
|
236
|
+
return 0;
|
|
237
|
+
}
|
|
238
|
+
if (!rangeElement) {
|
|
239
|
+
return 1;
|
|
240
|
+
}
|
|
241
|
+
if (!versionElement) {
|
|
242
|
+
return -1;
|
|
243
|
+
}
|
|
244
|
+
return compareAtom(rangeElement, versionElement);
|
|
245
|
+
}
|
|
246
|
+
return 0;
|
|
247
|
+
}
|
|
248
|
+
function compareVersion(rangeAtom, versionAtom) {
|
|
249
|
+
return compareAtom(rangeAtom.major, versionAtom.major) || compareAtom(rangeAtom.minor, versionAtom.minor) || compareAtom(rangeAtom.patch, versionAtom.patch) || comparePreRelease(rangeAtom, versionAtom);
|
|
250
|
+
}
|
|
251
|
+
function eq(rangeAtom, versionAtom) {
|
|
252
|
+
return rangeAtom.version === versionAtom.version;
|
|
253
|
+
}
|
|
254
|
+
function compare(rangeAtom, versionAtom) {
|
|
255
|
+
switch (rangeAtom.operator) {
|
|
256
|
+
case "":
|
|
257
|
+
case "=":
|
|
258
|
+
return eq(rangeAtom, versionAtom);
|
|
259
|
+
case ">":
|
|
260
|
+
return compareVersion(rangeAtom, versionAtom) < 0;
|
|
261
|
+
case ">=":
|
|
262
|
+
return eq(rangeAtom, versionAtom) || compareVersion(rangeAtom, versionAtom) < 0;
|
|
263
|
+
case "<":
|
|
264
|
+
return compareVersion(rangeAtom, versionAtom) > 0;
|
|
265
|
+
case "<=":
|
|
266
|
+
return eq(rangeAtom, versionAtom) || compareVersion(rangeAtom, versionAtom) > 0;
|
|
267
|
+
case void 0: {
|
|
268
|
+
return true;
|
|
269
|
+
}
|
|
270
|
+
default:
|
|
271
|
+
return false;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
function parseComparatorString(range) {
|
|
275
|
+
return pipe(
|
|
276
|
+
parseCarets,
|
|
277
|
+
parseTildes,
|
|
278
|
+
parseXRanges,
|
|
279
|
+
parseStar
|
|
280
|
+
)(range);
|
|
281
|
+
}
|
|
282
|
+
function parseRange(range) {
|
|
283
|
+
return pipe(
|
|
284
|
+
parseHyphen,
|
|
285
|
+
parseComparatorTrim,
|
|
286
|
+
parseTildeTrim,
|
|
287
|
+
parseCaretTrim
|
|
288
|
+
)(range.trim()).split(/\s+/).join(" ");
|
|
289
|
+
}
|
|
290
|
+
function satisfy(version, range) {
|
|
291
|
+
if (!version) {
|
|
292
|
+
return false;
|
|
293
|
+
}
|
|
294
|
+
const parsedRange = parseRange(range);
|
|
295
|
+
const parsedComparator = parsedRange.split(" ").map((rangeVersion) => parseComparatorString(rangeVersion)).join(" ");
|
|
296
|
+
const comparators = parsedComparator.split(/\s+/).map((comparator2) => parseGTE0(comparator2));
|
|
297
|
+
const extractedVersion = extractComparator(version);
|
|
298
|
+
if (!extractedVersion) {
|
|
299
|
+
return false;
|
|
300
|
+
}
|
|
301
|
+
const [
|
|
302
|
+
,
|
|
303
|
+
versionOperator,
|
|
304
|
+
,
|
|
305
|
+
versionMajor,
|
|
306
|
+
versionMinor,
|
|
307
|
+
versionPatch,
|
|
308
|
+
versionPreRelease
|
|
309
|
+
] = extractedVersion;
|
|
310
|
+
const versionAtom = {
|
|
311
|
+
version: combineVersion(
|
|
312
|
+
versionMajor,
|
|
313
|
+
versionMinor,
|
|
314
|
+
versionPatch,
|
|
315
|
+
versionPreRelease
|
|
316
|
+
),
|
|
317
|
+
major: versionMajor,
|
|
318
|
+
minor: versionMinor,
|
|
319
|
+
patch: versionPatch,
|
|
320
|
+
preRelease: versionPreRelease == null ? void 0 : versionPreRelease.split(".")
|
|
321
|
+
};
|
|
322
|
+
for (const comparator2 of comparators) {
|
|
323
|
+
const extractedComparator = extractComparator(comparator2);
|
|
324
|
+
if (!extractedComparator) {
|
|
325
|
+
return false;
|
|
326
|
+
}
|
|
327
|
+
const [
|
|
328
|
+
,
|
|
329
|
+
rangeOperator,
|
|
330
|
+
,
|
|
331
|
+
rangeMajor,
|
|
332
|
+
rangeMinor,
|
|
333
|
+
rangePatch,
|
|
334
|
+
rangePreRelease
|
|
335
|
+
] = extractedComparator;
|
|
336
|
+
const rangeAtom = {
|
|
337
|
+
operator: rangeOperator,
|
|
338
|
+
version: combineVersion(
|
|
339
|
+
rangeMajor,
|
|
340
|
+
rangeMinor,
|
|
341
|
+
rangePatch,
|
|
342
|
+
rangePreRelease
|
|
343
|
+
),
|
|
344
|
+
major: rangeMajor,
|
|
345
|
+
minor: rangeMinor,
|
|
346
|
+
patch: rangePatch,
|
|
347
|
+
preRelease: rangePreRelease == null ? void 0 : rangePreRelease.split(".")
|
|
348
|
+
};
|
|
349
|
+
if (!compare(rangeAtom, versionAtom)) {
|
|
350
|
+
return false;
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
return true;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
const currentImports = {};
|
|
357
|
+
|
|
358
|
+
// eslint-disable-next-line no-undef
|
|
359
|
+
const moduleMap = {'react':{get:()=>()=>__federation_import(new URL('__federation_shared_react-uocnGSER.js', import.meta.url).href),import:true},'react-dom':{get:()=>()=>__federation_import(new URL('__federation_shared_react-dom-Bwq4pLax.js', import.meta.url).href),import:true},'zod':{get:()=>()=>__federation_import(new URL('__federation_shared_zod-BK7IELHt.js', import.meta.url).href),import:true},'@baseplate-dev/project-builder-lib':{get:()=>()=>__federation_import(new URL('__federation_shared_@baseplate-dev/project-builder-lib-B62IPizQ.js', import.meta.url).href),import:true},'@baseplate-dev/project-builder-lib/web':{get:()=>()=>__federation_import(new URL('__federation_shared_@baseplate-dev/project-builder-lib/web-CY8oz43s.js', import.meta.url).href),import:true},'@baseplate-dev/ui-components':{get:()=>()=>__federation_import(new URL('__federation_shared_@baseplate-dev/ui-components-BU2QTWNs.js', import.meta.url).href),import:true}};
|
|
360
|
+
const moduleCache = Object.create(null);
|
|
361
|
+
async function importShared(name, shareScope = 'default') {
|
|
362
|
+
return moduleCache[name]
|
|
363
|
+
? new Promise((r) => r(moduleCache[name]))
|
|
364
|
+
: (await getSharedFromRuntime(name, shareScope)) || getSharedFromLocal(name)
|
|
365
|
+
}
|
|
366
|
+
// eslint-disable-next-line
|
|
367
|
+
async function __federation_import(name) {
|
|
368
|
+
currentImports[name] ??= import(name);
|
|
369
|
+
return currentImports[name]
|
|
370
|
+
}
|
|
371
|
+
async function getSharedFromRuntime(name, shareScope) {
|
|
372
|
+
let module = null;
|
|
373
|
+
if (globalThis?.__federation_shared__?.[shareScope]?.[name]) {
|
|
374
|
+
const versionObj = globalThis.__federation_shared__[shareScope][name];
|
|
375
|
+
const versionKey = Object.keys(versionObj)[0];
|
|
376
|
+
const versionValue = Object.values(versionObj)[0];
|
|
377
|
+
if (moduleMap[name]?.requiredVersion) {
|
|
378
|
+
// judge version satisfy
|
|
379
|
+
if (satisfy(versionKey, moduleMap[name].requiredVersion)) {
|
|
380
|
+
module = await (await versionValue.get())();
|
|
381
|
+
} else {
|
|
382
|
+
console.log(
|
|
383
|
+
`provider support ${name}(${versionKey}) is not satisfied requiredVersion(\${moduleMap[name].requiredVersion})`
|
|
384
|
+
);
|
|
385
|
+
}
|
|
386
|
+
} else {
|
|
387
|
+
module = await (await versionValue.get())();
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
if (module) {
|
|
391
|
+
return flattenModule(module, name)
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
async function getSharedFromLocal(name) {
|
|
395
|
+
if (moduleMap[name]?.import) {
|
|
396
|
+
let module = await (await moduleMap[name].get())();
|
|
397
|
+
return flattenModule(module, name)
|
|
398
|
+
} else {
|
|
399
|
+
console.error(
|
|
400
|
+
`consumer config import=false,so cant use callback shared module`
|
|
401
|
+
);
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
function flattenModule(module, name) {
|
|
405
|
+
// use a shared module which export default a function will getting error 'TypeError: xxx is not a function'
|
|
406
|
+
if (typeof module.default === 'function') {
|
|
407
|
+
Object.keys(module).forEach((key) => {
|
|
408
|
+
if (key !== 'default') {
|
|
409
|
+
module.default[key] = module[key];
|
|
410
|
+
}
|
|
411
|
+
});
|
|
412
|
+
moduleCache[name] = module.default;
|
|
413
|
+
return module.default
|
|
414
|
+
}
|
|
415
|
+
if (module.default) module = Object.assign({}, module.default, module);
|
|
416
|
+
moduleCache[name] = module;
|
|
417
|
+
return module
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
export { importShared, getSharedFromLocal as importSharedLocal, getSharedFromRuntime as importSharedRuntime };
|
|
421
|
+
//# sourceMappingURL=__federation_fn_import-BiwmVFwy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"__federation_fn_import-BiwmVFwy.js","sources":["../../../../../node_modules/.pnpm/@originjs+vite-plugin-federation@1.3.6/node_modules/@originjs/vite-plugin-federation/dist/satisfy.mjs"],"sourcesContent":["const buildIdentifier = \"[0-9A-Za-z-]+\";\nconst build = `(?:\\\\+(${buildIdentifier}(?:\\\\.${buildIdentifier})*))`;\nconst numericIdentifier = \"0|[1-9]\\\\d*\";\nconst numericIdentifierLoose = \"[0-9]+\";\nconst nonNumericIdentifier = \"\\\\d*[a-zA-Z-][a-zA-Z0-9-]*\";\nconst preReleaseIdentifierLoose = `(?:${numericIdentifierLoose}|${nonNumericIdentifier})`;\nconst preReleaseLoose = `(?:-?(${preReleaseIdentifierLoose}(?:\\\\.${preReleaseIdentifierLoose})*))`;\nconst preReleaseIdentifier = `(?:${numericIdentifier}|${nonNumericIdentifier})`;\nconst preRelease = `(?:-(${preReleaseIdentifier}(?:\\\\.${preReleaseIdentifier})*))`;\nconst xRangeIdentifier = `${numericIdentifier}|x|X|\\\\*`;\nconst xRangePlain = `[v=\\\\s]*(${xRangeIdentifier})(?:\\\\.(${xRangeIdentifier})(?:\\\\.(${xRangeIdentifier})(?:${preRelease})?${build}?)?)?`;\nconst hyphenRange = `^\\\\s*(${xRangePlain})\\\\s+-\\\\s+(${xRangePlain})\\\\s*$`;\nconst mainVersionLoose = `(${numericIdentifierLoose})\\\\.(${numericIdentifierLoose})\\\\.(${numericIdentifierLoose})`;\nconst loosePlain = `[v=\\\\s]*${mainVersionLoose}${preReleaseLoose}?${build}?`;\nconst gtlt = \"((?:<|>)?=?)\";\nconst comparatorTrim = `(\\\\s*)${gtlt}\\\\s*(${loosePlain}|${xRangePlain})`;\nconst loneTilde = \"(?:~>?)\";\nconst tildeTrim = `(\\\\s*)${loneTilde}\\\\s+`;\nconst loneCaret = \"(?:\\\\^)\";\nconst caretTrim = `(\\\\s*)${loneCaret}\\\\s+`;\nconst star = \"(<|>)?=?\\\\s*\\\\*\";\nconst caret = `^${loneCaret}${xRangePlain}$`;\nconst mainVersion = `(${numericIdentifier})\\\\.(${numericIdentifier})\\\\.(${numericIdentifier})`;\nconst fullPlain = `v?${mainVersion}${preRelease}?${build}?`;\nconst tilde = `^${loneTilde}${xRangePlain}$`;\nconst xRange = `^${gtlt}\\\\s*${xRangePlain}$`;\nconst comparator = `^${gtlt}\\\\s*(${fullPlain})$|^$`;\nconst gte0 = \"^\\\\s*>=\\\\s*0.0.0\\\\s*$\";\nfunction parseRegex(source) {\n return new RegExp(source);\n}\nfunction isXVersion(version) {\n return !version || version.toLowerCase() === \"x\" || version === \"*\";\n}\nfunction pipe(...fns) {\n return (x) => {\n return fns.reduce((v, f) => f(v), x);\n };\n}\nfunction extractComparator(comparatorString) {\n return comparatorString.match(parseRegex(comparator));\n}\nfunction combineVersion(major, minor, patch, preRelease2) {\n const mainVersion2 = `${major}.${minor}.${patch}`;\n if (preRelease2) {\n return `${mainVersion2}-${preRelease2}`;\n }\n return mainVersion2;\n}\nfunction parseHyphen(range) {\n return range.replace(\n parseRegex(hyphenRange),\n (_range, from, fromMajor, fromMinor, fromPatch, _fromPreRelease, _fromBuild, to, toMajor, toMinor, toPatch, toPreRelease) => {\n if (isXVersion(fromMajor)) {\n from = \"\";\n } else if (isXVersion(fromMinor)) {\n from = `>=${fromMajor}.0.0`;\n } else if (isXVersion(fromPatch)) {\n from = `>=${fromMajor}.${fromMinor}.0`;\n } else {\n from = `>=${from}`;\n }\n if (isXVersion(toMajor)) {\n to = \"\";\n } else if (isXVersion(toMinor)) {\n to = `<${+toMajor + 1}.0.0-0`;\n } else if (isXVersion(toPatch)) {\n to = `<${toMajor}.${+toMinor + 1}.0-0`;\n } else if (toPreRelease) {\n to = `<=${toMajor}.${toMinor}.${toPatch}-${toPreRelease}`;\n } else {\n to = `<=${to}`;\n }\n return `${from} ${to}`.trim();\n }\n );\n}\nfunction parseComparatorTrim(range) {\n return range.replace(parseRegex(comparatorTrim), \"$1$2$3\");\n}\nfunction parseTildeTrim(range) {\n return range.replace(parseRegex(tildeTrim), \"$1~\");\n}\nfunction parseCaretTrim(range) {\n return range.replace(parseRegex(caretTrim), \"$1^\");\n}\nfunction parseCarets(range) {\n return range.trim().split(/\\s+/).map((rangeVersion) => {\n return rangeVersion.replace(\n parseRegex(caret),\n (_, major, minor, patch, preRelease2) => {\n if (isXVersion(major)) {\n return \"\";\n } else if (isXVersion(minor)) {\n return `>=${major}.0.0 <${+major + 1}.0.0-0`;\n } else if (isXVersion(patch)) {\n if (major === \"0\") {\n return `>=${major}.${minor}.0 <${major}.${+minor + 1}.0-0`;\n } else {\n return `>=${major}.${minor}.0 <${+major + 1}.0.0-0`;\n }\n } else if (preRelease2) {\n if (major === \"0\") {\n if (minor === \"0\") {\n return `>=${major}.${minor}.${patch}-${preRelease2} <${major}.${minor}.${+patch + 1}-0`;\n } else {\n return `>=${major}.${minor}.${patch}-${preRelease2} <${major}.${+minor + 1}.0-0`;\n }\n } else {\n return `>=${major}.${minor}.${patch}-${preRelease2} <${+major + 1}.0.0-0`;\n }\n } else {\n if (major === \"0\") {\n if (minor === \"0\") {\n return `>=${major}.${minor}.${patch} <${major}.${minor}.${+patch + 1}-0`;\n } else {\n return `>=${major}.${minor}.${patch} <${major}.${+minor + 1}.0-0`;\n }\n }\n return `>=${major}.${minor}.${patch} <${+major + 1}.0.0-0`;\n }\n }\n );\n }).join(\" \");\n}\nfunction parseTildes(range) {\n return range.trim().split(/\\s+/).map((rangeVersion) => {\n return rangeVersion.replace(\n parseRegex(tilde),\n (_, major, minor, patch, preRelease2) => {\n if (isXVersion(major)) {\n return \"\";\n } else if (isXVersion(minor)) {\n return `>=${major}.0.0 <${+major + 1}.0.0-0`;\n } else if (isXVersion(patch)) {\n return `>=${major}.${minor}.0 <${major}.${+minor + 1}.0-0`;\n } else if (preRelease2) {\n return `>=${major}.${minor}.${patch}-${preRelease2} <${major}.${+minor + 1}.0-0`;\n }\n return `>=${major}.${minor}.${patch} <${major}.${+minor + 1}.0-0`;\n }\n );\n }).join(\" \");\n}\nfunction parseXRanges(range) {\n return range.split(/\\s+/).map((rangeVersion) => {\n return rangeVersion.trim().replace(\n parseRegex(xRange),\n (ret, gtlt2, major, minor, patch, preRelease2) => {\n const isXMajor = isXVersion(major);\n const isXMinor = isXMajor || isXVersion(minor);\n const isXPatch = isXMinor || isXVersion(patch);\n if (gtlt2 === \"=\" && isXPatch) {\n gtlt2 = \"\";\n }\n preRelease2 = \"\";\n if (isXMajor) {\n if (gtlt2 === \">\" || gtlt2 === \"<\") {\n return \"<0.0.0-0\";\n } else {\n return \"*\";\n }\n } else if (gtlt2 && isXPatch) {\n if (isXMinor) {\n minor = 0;\n }\n patch = 0;\n if (gtlt2 === \">\") {\n gtlt2 = \">=\";\n if (isXMinor) {\n major = +major + 1;\n minor = 0;\n patch = 0;\n } else {\n minor = +minor + 1;\n patch = 0;\n }\n } else if (gtlt2 === \"<=\") {\n gtlt2 = \"<\";\n if (isXMinor) {\n major = +major + 1;\n } else {\n minor = +minor + 1;\n }\n }\n if (gtlt2 === \"<\") {\n preRelease2 = \"-0\";\n }\n return `${gtlt2 + major}.${minor}.${patch}${preRelease2}`;\n } else if (isXMinor) {\n return `>=${major}.0.0${preRelease2} <${+major + 1}.0.0-0`;\n } else if (isXPatch) {\n return `>=${major}.${minor}.0${preRelease2} <${major}.${+minor + 1}.0-0`;\n }\n return ret;\n }\n );\n }).join(\" \");\n}\nfunction parseStar(range) {\n return range.trim().replace(parseRegex(star), \"\");\n}\nfunction parseGTE0(comparatorString) {\n return comparatorString.trim().replace(parseRegex(gte0), \"\");\n}\nfunction compareAtom(rangeAtom, versionAtom) {\n rangeAtom = +rangeAtom || rangeAtom;\n versionAtom = +versionAtom || versionAtom;\n if (rangeAtom > versionAtom) {\n return 1;\n }\n if (rangeAtom === versionAtom) {\n return 0;\n }\n return -1;\n}\nfunction comparePreRelease(rangeAtom, versionAtom) {\n const { preRelease: rangePreRelease } = rangeAtom;\n const { preRelease: versionPreRelease } = versionAtom;\n if (rangePreRelease === void 0 && !!versionPreRelease) {\n return 1;\n }\n if (!!rangePreRelease && versionPreRelease === void 0) {\n return -1;\n }\n if (rangePreRelease === void 0 && versionPreRelease === void 0) {\n return 0;\n }\n for (let i = 0, n = rangePreRelease.length; i <= n; i++) {\n const rangeElement = rangePreRelease[i];\n const versionElement = versionPreRelease[i];\n if (rangeElement === versionElement) {\n continue;\n }\n if (rangeElement === void 0 && versionElement === void 0) {\n return 0;\n }\n if (!rangeElement) {\n return 1;\n }\n if (!versionElement) {\n return -1;\n }\n return compareAtom(rangeElement, versionElement);\n }\n return 0;\n}\nfunction compareVersion(rangeAtom, versionAtom) {\n return compareAtom(rangeAtom.major, versionAtom.major) || compareAtom(rangeAtom.minor, versionAtom.minor) || compareAtom(rangeAtom.patch, versionAtom.patch) || comparePreRelease(rangeAtom, versionAtom);\n}\nfunction eq(rangeAtom, versionAtom) {\n return rangeAtom.version === versionAtom.version;\n}\nfunction compare(rangeAtom, versionAtom) {\n switch (rangeAtom.operator) {\n case \"\":\n case \"=\":\n return eq(rangeAtom, versionAtom);\n case \">\":\n return compareVersion(rangeAtom, versionAtom) < 0;\n case \">=\":\n return eq(rangeAtom, versionAtom) || compareVersion(rangeAtom, versionAtom) < 0;\n case \"<\":\n return compareVersion(rangeAtom, versionAtom) > 0;\n case \"<=\":\n return eq(rangeAtom, versionAtom) || compareVersion(rangeAtom, versionAtom) > 0;\n case void 0: {\n return true;\n }\n default:\n return false;\n }\n}\nfunction parseComparatorString(range) {\n return pipe(\n parseCarets,\n parseTildes,\n parseXRanges,\n parseStar\n )(range);\n}\nfunction parseRange(range) {\n return pipe(\n parseHyphen,\n parseComparatorTrim,\n parseTildeTrim,\n parseCaretTrim\n )(range.trim()).split(/\\s+/).join(\" \");\n}\nfunction satisfy(version, range) {\n if (!version) {\n return false;\n }\n const parsedRange = parseRange(range);\n const parsedComparator = parsedRange.split(\" \").map((rangeVersion) => parseComparatorString(rangeVersion)).join(\" \");\n const comparators = parsedComparator.split(/\\s+/).map((comparator2) => parseGTE0(comparator2));\n const extractedVersion = extractComparator(version);\n if (!extractedVersion) {\n return false;\n }\n const [\n ,\n versionOperator,\n ,\n versionMajor,\n versionMinor,\n versionPatch,\n versionPreRelease\n ] = extractedVersion;\n const versionAtom = {\n operator: versionOperator,\n version: combineVersion(\n versionMajor,\n versionMinor,\n versionPatch,\n versionPreRelease\n ),\n major: versionMajor,\n minor: versionMinor,\n patch: versionPatch,\n preRelease: versionPreRelease == null ? void 0 : versionPreRelease.split(\".\")\n };\n for (const comparator2 of comparators) {\n const extractedComparator = extractComparator(comparator2);\n if (!extractedComparator) {\n return false;\n }\n const [\n ,\n rangeOperator,\n ,\n rangeMajor,\n rangeMinor,\n rangePatch,\n rangePreRelease\n ] = extractedComparator;\n const rangeAtom = {\n operator: rangeOperator,\n version: combineVersion(\n rangeMajor,\n rangeMinor,\n rangePatch,\n rangePreRelease\n ),\n major: rangeMajor,\n minor: rangeMinor,\n patch: rangePatch,\n preRelease: rangePreRelease == null ? void 0 : rangePreRelease.split(\".\")\n };\n if (!compare(rangeAtom, versionAtom)) {\n return false;\n }\n }\n return true;\n}\nexport {\n satisfy\n};\n"],"names":[],"mappings":"AAAA,MAAM,eAAe,GAAG,eAAe;AACvC,MAAM,KAAK,GAAG,CAAC,OAAO,EAAE,eAAe,CAAC,MAAM,EAAE,eAAe,CAAC,IAAI,CAAC;AACrE,MAAM,iBAAiB,GAAG,aAAa;AACvC,MAAM,sBAAsB,GAAG,QAAQ;AACvC,MAAM,oBAAoB,GAAG,4BAA4B;AACzD,MAAM,yBAAyB,GAAG,CAAC,GAAG,EAAE,sBAAsB,CAAC,CAAC,EAAE,oBAAoB,CAAC,CAAC,CAAC;AACzF,MAAM,eAAe,GAAG,CAAC,MAAM,EAAE,yBAAyB,CAAC,MAAM,EAAE,yBAAyB,CAAC,IAAI,CAAC;AAClG,MAAM,oBAAoB,GAAG,CAAC,GAAG,EAAE,iBAAiB,CAAC,CAAC,EAAE,oBAAoB,CAAC,CAAC,CAAC;AAC/E,MAAM,UAAU,GAAG,CAAC,K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