@nuxt/rspack-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 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="20px" src="https://github.com/nuxt/nuxt/blob/main/.github/assets/discord.svg" alt="Discord"></a>&nbsp;&nbsp;<a href="https://go.nuxt.com/x"><img width="20px" src="https://github.com/nuxt/nuxt/blob/main/.github/assets/twitter.svg" alt="Twitter"></a>&nbsp;&nbsp;<a href="https://go.nuxt.com/github"><img width="20px" src="https://github.com/nuxt/nuxt/blob/main/.github/assets/github.svg" alt="GitHub"></a>&nbsp;&nbsp;<a href="https://go.nuxt.com/bluesky"><img width="20px" src="https://github.com/nuxt/nuxt/blob/main/.github/assets/bluesky.svg" alt="Bluesky"></a>
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>&nbsp;&nbsp;<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>&nbsp;&nbsp;<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>&nbsp;&nbsp;<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,106 @@
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
+ ---------------------------------------
14
+
15
+ ## @nuxt/webpack-builder
16
+
17
+ License: MIT
18
+ Repository: https://github.com/nuxt/nuxt
19
+
20
+ ---------------------------------------
21
+
22
+ ## @vue/shared
23
+
24
+ License: MIT
25
+ By: Evan You
26
+ Repository: https://github.com/vuejs/core
27
+
28
+ > The MIT License (MIT)
29
+ >
30
+ > Copyright (c) 2018-present, Yuxi (Evan) You
31
+ >
32
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
33
+ > of this software and associated documentation files (the "Software"), to deal
34
+ > in the Software without restriction, including without limitation the rights
35
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
36
+ > copies of the Software, and to permit persons to whom the Software is
37
+ > furnished to do so, subject to the following conditions:
38
+ >
39
+ > The above copyright notice and this permission notice shall be included in
40
+ > all copies or substantial portions of the Software.
41
+ >
42
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
43
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
44
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
45
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
46
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
47
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
48
+ > THE SOFTWARE.
49
+
50
+ ---------------------------------------
51
+
52
+ ## pkg-types
53
+
54
+ License: MIT
55
+ Repository: https://github.com/unjs/pkg-types
56
+
57
+ > MIT License
58
+ >
59
+ > Copyright (c) Pooya Parsa <pooya@pi0.io> - Daniel Roe <daniel@roe.dev>
60
+ >
61
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
62
+ > of this software and associated documentation files (the "Software"), to deal
63
+ > in the Software without restriction, including without limitation the rights
64
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
65
+ > copies of the Software, and to permit persons to whom the Software is
66
+ > furnished to do so, subject to the following conditions:
67
+ >
68
+ > The above copyright notice and this permission notice shall be included in all
69
+ > copies or substantial portions of the Software.
70
+ >
71
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
72
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
73
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
74
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
75
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
76
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
77
+ > SOFTWARE.
78
+ >
79
+ > --------------------------------------------------------------------------------
80
+ >
81
+ > Copyright Joyent, Inc. and other Node contributors.
82
+ >
83
+ > Permission is hereby granted, free of charge, to any person obtaining a
84
+ > copy of this software and associated documentation files (the
85
+ > "Software"), to deal in the Software without restriction, including
86
+ > without limitation the rights to use, copy, modify, merge, publish,
87
+ > distribute, sublicense, and/or sell copies of the Software, and to permit
88
+ > persons to whom the Software is furnished to do so, subject to the
89
+ > following conditions:
90
+ >
91
+ > The above copyright notice and this permission notice shall be included
92
+ > in all copies or substantial portions of the Software.
93
+ >
94
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
95
+ > OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
96
+ > MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
97
+ > NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
98
+ > DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
99
+ > OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
100
+ > USE OR OTHER DEALINGS IN THE SOFTWARE.
101
+
102
+
103
+ ## @nuxt/webpack-builder
104
+
105
+ License: MIT
106
+ Repository: https://github.com/nuxt/nuxt
@@ -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 };