@nuxt/webpack-builder 4.3.0 → 4.3.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/README.md +1 -1
- package/dist/THIRD-PARTY-LICENSES.md +115 -0
- package/dist/_chunks/libs/@vue/shared.d.mts +119 -0
- package/dist/_chunks/libs/pkg-types.d.mts +23 -0
- package/dist/index.d.mts +50462 -1
- package/dist/index.mjs +107 -191
- package/dist/loaders/vue-module-identifier.mjs +1 -6
- package/package.json +15 -15
package/README.md
CHANGED
|
@@ -111,7 +111,7 @@ Follow the docs to [Set Up Your Local Development Environment](https://nuxt.com/
|
|
|
111
111
|
## <a name="follow-us">🔗 Follow Us</a>
|
|
112
112
|
|
|
113
113
|
<p valign="center">
|
|
114
|
-
<a href="https://go.nuxt.com/discord"><img width="
|
|
114
|
+
<a href="https://go.nuxt.com/discord"><img width="20" src="https://github.com/nuxt/nuxt/blob/main/.github/assets/discord.svg" alt="Discord"></a> <a href="https://go.nuxt.com/x"><img width="20" src="https://github.com/nuxt/nuxt/blob/main/.github/assets/twitter.svg" alt="Twitter"></a> <a href="https://go.nuxt.com/github"><img width="20" src="https://github.com/nuxt/nuxt/blob/main/.github/assets/github.svg" alt="GitHub"></a> <a href="https://go.nuxt.com/bluesky"><img width="20" src="https://github.com/nuxt/nuxt/blob/main/.github/assets/bluesky.svg" alt="Bluesky"></a>
|
|
115
115
|
</p>
|
|
116
116
|
|
|
117
117
|
## <a name="license">⚖️ License</a>
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
# Licenses of Bundled Dependencies
|
|
2
|
+
|
|
3
|
+
The published artifact additionally contains code with the following licenses:
|
|
4
|
+
MIT
|
|
5
|
+
|
|
6
|
+
# Bundled Dependencies
|
|
7
|
+
|
|
8
|
+
## @nuxt/schema
|
|
9
|
+
|
|
10
|
+
License: MIT
|
|
11
|
+
Repository: https://github.com/nuxt/nuxt
|
|
12
|
+
|
|
13
|
+
> The MIT License (MIT)
|
|
14
|
+
>
|
|
15
|
+
> Copyright (c) 2016-present - Nuxt Team
|
|
16
|
+
>
|
|
17
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
18
|
+
> of this software and associated documentation files (the "Software"), to deal
|
|
19
|
+
> in the Software without restriction, including without limitation the rights
|
|
20
|
+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
21
|
+
> copies of the Software, and to permit persons to whom the Software is
|
|
22
|
+
> furnished to do so, subject to the following conditions:
|
|
23
|
+
>
|
|
24
|
+
> The above copyright notice and this permission notice shall be included in all
|
|
25
|
+
> copies or substantial portions of the Software.
|
|
26
|
+
>
|
|
27
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
28
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
29
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
30
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
31
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
32
|
+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
33
|
+
> SOFTWARE.
|
|
34
|
+
|
|
35
|
+
---------------------------------------
|
|
36
|
+
|
|
37
|
+
## @vue/shared
|
|
38
|
+
|
|
39
|
+
License: MIT
|
|
40
|
+
By: Evan You
|
|
41
|
+
Repository: https://github.com/vuejs/core
|
|
42
|
+
|
|
43
|
+
> The MIT License (MIT)
|
|
44
|
+
>
|
|
45
|
+
> Copyright (c) 2018-present, Yuxi (Evan) You
|
|
46
|
+
>
|
|
47
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
48
|
+
> of this software and associated documentation files (the "Software"), to deal
|
|
49
|
+
> in the Software without restriction, including without limitation the rights
|
|
50
|
+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
51
|
+
> copies of the Software, and to permit persons to whom the Software is
|
|
52
|
+
> furnished to do so, subject to the following conditions:
|
|
53
|
+
>
|
|
54
|
+
> The above copyright notice and this permission notice shall be included in
|
|
55
|
+
> all copies or substantial portions of the Software.
|
|
56
|
+
>
|
|
57
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
58
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
59
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
60
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
61
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
62
|
+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
63
|
+
> THE SOFTWARE.
|
|
64
|
+
|
|
65
|
+
---------------------------------------
|
|
66
|
+
|
|
67
|
+
## pkg-types
|
|
68
|
+
|
|
69
|
+
License: MIT
|
|
70
|
+
Repository: https://github.com/unjs/pkg-types
|
|
71
|
+
|
|
72
|
+
> MIT License
|
|
73
|
+
>
|
|
74
|
+
> Copyright (c) Pooya Parsa <pooya@pi0.io> - Daniel Roe <daniel@roe.dev>
|
|
75
|
+
>
|
|
76
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
77
|
+
> of this software and associated documentation files (the "Software"), to deal
|
|
78
|
+
> in the Software without restriction, including without limitation the rights
|
|
79
|
+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
80
|
+
> copies of the Software, and to permit persons to whom the Software is
|
|
81
|
+
> furnished to do so, subject to the following conditions:
|
|
82
|
+
>
|
|
83
|
+
> The above copyright notice and this permission notice shall be included in all
|
|
84
|
+
> copies or substantial portions of the Software.
|
|
85
|
+
>
|
|
86
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
87
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
88
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
89
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
90
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
91
|
+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
92
|
+
> SOFTWARE.
|
|
93
|
+
>
|
|
94
|
+
> --------------------------------------------------------------------------------
|
|
95
|
+
>
|
|
96
|
+
> Copyright Joyent, Inc. and other Node contributors.
|
|
97
|
+
>
|
|
98
|
+
> Permission is hereby granted, free of charge, to any person obtaining a
|
|
99
|
+
> copy of this software and associated documentation files (the
|
|
100
|
+
> "Software"), to deal in the Software without restriction, including
|
|
101
|
+
> without limitation the rights to use, copy, modify, merge, publish,
|
|
102
|
+
> distribute, sublicense, and/or sell copies of the Software, and to permit
|
|
103
|
+
> persons to whom the Software is furnished to do so, subject to the
|
|
104
|
+
> following conditions:
|
|
105
|
+
>
|
|
106
|
+
> The above copyright notice and this permission notice shall be included
|
|
107
|
+
> in all copies or substantial portions of the Software.
|
|
108
|
+
>
|
|
109
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
110
|
+
> OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
111
|
+
> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
|
|
112
|
+
> NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
|
113
|
+
> DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
|
114
|
+
> OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
|
115
|
+
> USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/@vue+shared@3.5.27/node_modules/@vue/shared/dist/shared.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Patch flags are optimization hints generated by the compiler.
|
|
4
|
+
* when a block with dynamicChildren is encountered during diff, the algorithm
|
|
5
|
+
* enters "optimized mode". In this mode, we know that the vdom is produced by
|
|
6
|
+
* a render function generated by the compiler, so the algorithm only needs to
|
|
7
|
+
* handle updates explicitly marked by these patch flags.
|
|
8
|
+
*
|
|
9
|
+
* Patch flags can be combined using the | bitwise operator and can be checked
|
|
10
|
+
* using the & operator, e.g.
|
|
11
|
+
*
|
|
12
|
+
* ```js
|
|
13
|
+
* const flag = TEXT | CLASS
|
|
14
|
+
* if (flag & TEXT) { ... }
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* Check the `patchElement` function in '../../runtime-core/src/renderer.ts' to see how the
|
|
18
|
+
* flags are handled during diff.
|
|
19
|
+
*/
|
|
20
|
+
declare enum PatchFlags {
|
|
21
|
+
/**
|
|
22
|
+
* Indicates an element with dynamic textContent (children fast path)
|
|
23
|
+
*/
|
|
24
|
+
TEXT = 1,
|
|
25
|
+
/**
|
|
26
|
+
* Indicates an element with dynamic class binding.
|
|
27
|
+
*/
|
|
28
|
+
CLASS = 2,
|
|
29
|
+
/**
|
|
30
|
+
* Indicates an element with dynamic style
|
|
31
|
+
* The compiler pre-compiles static string styles into static objects
|
|
32
|
+
* + detects and hoists inline static objects
|
|
33
|
+
* e.g. `style="color: red"` and `:style="{ color: 'red' }"` both get hoisted
|
|
34
|
+
* as:
|
|
35
|
+
* ```js
|
|
36
|
+
* const style = { color: 'red' }
|
|
37
|
+
* render() { return e('div', { style }) }
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
STYLE = 4,
|
|
41
|
+
/**
|
|
42
|
+
* Indicates an element that has non-class/style dynamic props.
|
|
43
|
+
* Can also be on a component that has any dynamic props (includes
|
|
44
|
+
* class/style). when this flag is present, the vnode also has a dynamicProps
|
|
45
|
+
* array that contains the keys of the props that may change so the runtime
|
|
46
|
+
* can diff them faster (without having to worry about removed props)
|
|
47
|
+
*/
|
|
48
|
+
PROPS = 8,
|
|
49
|
+
/**
|
|
50
|
+
* Indicates an element with props with dynamic keys. When keys change, a full
|
|
51
|
+
* diff is always needed to remove the old key. This flag is mutually
|
|
52
|
+
* exclusive with CLASS, STYLE and PROPS.
|
|
53
|
+
*/
|
|
54
|
+
FULL_PROPS = 16,
|
|
55
|
+
/**
|
|
56
|
+
* Indicates an element that requires props hydration
|
|
57
|
+
* (but not necessarily patching)
|
|
58
|
+
* e.g. event listeners & v-bind with prop modifier
|
|
59
|
+
*/
|
|
60
|
+
NEED_HYDRATION = 32,
|
|
61
|
+
/**
|
|
62
|
+
* Indicates a fragment whose children order doesn't change.
|
|
63
|
+
*/
|
|
64
|
+
STABLE_FRAGMENT = 64,
|
|
65
|
+
/**
|
|
66
|
+
* Indicates a fragment with keyed or partially keyed children
|
|
67
|
+
*/
|
|
68
|
+
KEYED_FRAGMENT = 128,
|
|
69
|
+
/**
|
|
70
|
+
* Indicates a fragment with unkeyed children.
|
|
71
|
+
*/
|
|
72
|
+
UNKEYED_FRAGMENT = 256,
|
|
73
|
+
/**
|
|
74
|
+
* Indicates an element that only needs non-props patching, e.g. ref or
|
|
75
|
+
* directives (onVnodeXXX hooks). since every patched vnode checks for refs
|
|
76
|
+
* and onVnodeXXX hooks, it simply marks the vnode so that a parent block
|
|
77
|
+
* will track it.
|
|
78
|
+
*/
|
|
79
|
+
NEED_PATCH = 512,
|
|
80
|
+
/**
|
|
81
|
+
* Indicates a component with dynamic slots (e.g. slot that references a v-for
|
|
82
|
+
* iterated value, or dynamic slot names).
|
|
83
|
+
* Components with this flag are always force updated.
|
|
84
|
+
*/
|
|
85
|
+
DYNAMIC_SLOTS = 1024,
|
|
86
|
+
/**
|
|
87
|
+
* Indicates a fragment that was created only because the user has placed
|
|
88
|
+
* comments at the root level of a template. This is a dev-only flag since
|
|
89
|
+
* comments are stripped in production.
|
|
90
|
+
*/
|
|
91
|
+
DEV_ROOT_FRAGMENT = 2048,
|
|
92
|
+
/**
|
|
93
|
+
* SPECIAL FLAGS -------------------------------------------------------------
|
|
94
|
+
* Special flags are negative integers. They are never matched against using
|
|
95
|
+
* bitwise operators (bitwise matching should only happen in branches where
|
|
96
|
+
* patchFlag > 0), and are mutually exclusive. When checking for a special
|
|
97
|
+
* flag, simply check patchFlag === FLAG.
|
|
98
|
+
*/
|
|
99
|
+
/**
|
|
100
|
+
* Indicates a cached static vnode. This is also a hint for hydration to skip
|
|
101
|
+
* the entire sub tree since static content never needs to be updated.
|
|
102
|
+
*/
|
|
103
|
+
CACHED = -1,
|
|
104
|
+
/**
|
|
105
|
+
* A special flag that indicates that the diffing algorithm should bail out
|
|
106
|
+
* of optimized mode. For example, on block fragments created by renderSlot()
|
|
107
|
+
* when encountering non-compiler generated slots (i.e. manually written
|
|
108
|
+
* render functions, which should always be fully diffed)
|
|
109
|
+
* OR manually cloneVNodes
|
|
110
|
+
*/
|
|
111
|
+
BAIL = -2
|
|
112
|
+
}
|
|
113
|
+
declare function generateCodeFrame(source: string, start?: number, end?: number): string;
|
|
114
|
+
type Prettify<T> = { [K in keyof T]: T[K] } & {};
|
|
115
|
+
type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends ((k: infer I) => void) ? I : never;
|
|
116
|
+
type LooseRequired<T> = { [P in keyof (T & Required<T>)]: T[P] };
|
|
117
|
+
type IfAny<T, Y, N> = 0 extends 1 & T ? Y : N;
|
|
118
|
+
//#endregion
|
|
119
|
+
export { UnionToIntersection as a, Prettify as i, LooseRequired as n, generateCodeFrame as o, PatchFlags as r, IfAny as t };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import "exsolve";
|
|
2
|
+
|
|
3
|
+
//#region ../../node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.d.mts
|
|
4
|
+
type StripEnums<T extends Record<string, any>> = { [K in keyof T]: T[K] extends boolean ? T[K] : T[K] extends string ? T[K] : T[K] extends object ? T[K] : T[K] extends Array<any> ? T[K] : T[K] extends undefined ? undefined : any };
|
|
5
|
+
interface TSConfig {
|
|
6
|
+
compilerOptions?: StripEnums<CompilerOptions>;
|
|
7
|
+
exclude?: string[];
|
|
8
|
+
compileOnSave?: boolean;
|
|
9
|
+
extends?: string | string[];
|
|
10
|
+
files?: string[];
|
|
11
|
+
include?: string[];
|
|
12
|
+
typeAcquisition?: TypeAcquisition;
|
|
13
|
+
references?: {
|
|
14
|
+
path: string;
|
|
15
|
+
}[];
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Defines a TSConfig structure.
|
|
19
|
+
* @param tsconfig - The contents of `tsconfig.json` as an object. See {@link TSConfig}.
|
|
20
|
+
* @returns the same `tsconfig.json` object.
|
|
21
|
+
*/
|
|
22
|
+
//#endregion
|
|
23
|
+
export { TSConfig as t };
|