@nest-vue/vue-security-patched 2.7.16-patch.2

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.
Files changed (214) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +122 -0
  3. package/compiler-sfc/index.d.ts +1 -0
  4. package/compiler-sfc/index.js +1 -0
  5. package/compiler-sfc/index.mjs +1 -0
  6. package/compiler-sfc/package.json +5 -0
  7. package/dist/vue.common.js +5 -0
  8. package/dist/vue.runtime.common.js +5 -0
  9. package/dist/vue.runtime.mjs +76 -0
  10. package/package.json +136 -0
  11. package/packages/compiler-sfc/api-extractor.json +64 -0
  12. package/packages/compiler-sfc/dist/compiler-sfc.js +17146 -0
  13. package/packages/compiler-sfc/node_modules/.bin/lessc +17 -0
  14. package/packages/compiler-sfc/node_modules/.bin/parser +17 -0
  15. package/packages/compiler-sfc/node_modules/.bin/prettier +17 -0
  16. package/packages/compiler-sfc/node_modules/.bin/sass +17 -0
  17. package/packages/compiler-sfc/node_modules/.bin/stylus +17 -0
  18. package/packages/compiler-sfc/package.json +37 -0
  19. package/packages/compiler-sfc/src/babelUtils.ts +423 -0
  20. package/packages/compiler-sfc/src/compileScript.ts +1916 -0
  21. package/packages/compiler-sfc/src/compileStyle.ts +147 -0
  22. package/packages/compiler-sfc/src/compileTemplate.ts +205 -0
  23. package/packages/compiler-sfc/src/cssVars.ts +179 -0
  24. package/packages/compiler-sfc/src/index.ts +31 -0
  25. package/packages/compiler-sfc/src/parse.ts +129 -0
  26. package/packages/compiler-sfc/src/parseComponent.ts +220 -0
  27. package/packages/compiler-sfc/src/prefixIdentifiers.ts +82 -0
  28. package/packages/compiler-sfc/src/rewriteDefault.ts +121 -0
  29. package/packages/compiler-sfc/src/stylePlugins/scoped.ts +203 -0
  30. package/packages/compiler-sfc/src/stylePlugins/trim.ts +18 -0
  31. package/packages/compiler-sfc/src/stylePreprocessors.ts +135 -0
  32. package/packages/compiler-sfc/src/templateCompilerModules/assetUrl.ts +84 -0
  33. package/packages/compiler-sfc/src/templateCompilerModules/srcset.ts +76 -0
  34. package/packages/compiler-sfc/src/templateCompilerModules/utils.ts +86 -0
  35. package/packages/compiler-sfc/src/types.ts +69 -0
  36. package/packages/compiler-sfc/src/warn.ts +16 -0
  37. package/packages/compiler-sfc/test/__snapshots__/compileScript.spec.ts.snap +971 -0
  38. package/packages/compiler-sfc/test/__snapshots__/cssVars.spec.ts.snap +189 -0
  39. package/packages/compiler-sfc/test/compileScript.spec.ts +1635 -0
  40. package/packages/compiler-sfc/test/compileStyle.spec.ts +203 -0
  41. package/packages/compiler-sfc/test/compileTemplate.spec.ts +258 -0
  42. package/packages/compiler-sfc/test/cssVars.spec.ts +247 -0
  43. package/packages/compiler-sfc/test/parseComponent.spec.ts +269 -0
  44. package/packages/compiler-sfc/test/prefixIdentifiers.spec.ts +97 -0
  45. package/packages/compiler-sfc/test/rewriteDefault.spec.ts +311 -0
  46. package/packages/compiler-sfc/test/stylePluginScoped.spec.ts +137 -0
  47. package/packages/compiler-sfc/test/tsconfig.json +7 -0
  48. package/packages/compiler-sfc/test/util.ts +35 -0
  49. package/src/compiler/codeframe.ts +52 -0
  50. package/src/compiler/codegen/events.ts +170 -0
  51. package/src/compiler/codegen/index.ts +668 -0
  52. package/src/compiler/create-compiler.ts +83 -0
  53. package/src/compiler/directives/bind.ts +9 -0
  54. package/src/compiler/directives/index.ts +9 -0
  55. package/src/compiler/directives/model.ts +145 -0
  56. package/src/compiler/directives/on.ts +9 -0
  57. package/src/compiler/error-detector.ts +158 -0
  58. package/src/compiler/helpers.ts +243 -0
  59. package/src/compiler/index.ts +24 -0
  60. package/src/compiler/optimizer.ts +135 -0
  61. package/src/compiler/parser/entity-decoder.ts +9 -0
  62. package/src/compiler/parser/filter-parser.ts +116 -0
  63. package/src/compiler/parser/html-parser.ts +345 -0
  64. package/src/compiler/parser/index.ts +999 -0
  65. package/src/compiler/parser/text-parser.ts +52 -0
  66. package/src/compiler/to-function.ts +119 -0
  67. package/src/core/components/index.ts +5 -0
  68. package/src/core/components/keep-alive.ts +171 -0
  69. package/src/core/config.ts +128 -0
  70. package/src/core/global-api/assets.ts +35 -0
  71. package/src/core/global-api/extend.ts +94 -0
  72. package/src/core/global-api/index.ts +68 -0
  73. package/src/core/global-api/mixin.ts +9 -0
  74. package/src/core/global-api/use.ts +23 -0
  75. package/src/core/index.ts +27 -0
  76. package/src/core/instance/events.ts +160 -0
  77. package/src/core/instance/index.ts +27 -0
  78. package/src/core/instance/init.ts +143 -0
  79. package/src/core/instance/inject.ts +80 -0
  80. package/src/core/instance/lifecycle.ts +421 -0
  81. package/src/core/instance/proxy.ts +97 -0
  82. package/src/core/instance/render-helpers/bind-dynamic-keys.ts +36 -0
  83. package/src/core/instance/render-helpers/bind-object-listeners.ts +18 -0
  84. package/src/core/instance/render-helpers/bind-object-props.ts +59 -0
  85. package/src/core/instance/render-helpers/check-keycodes.ts +33 -0
  86. package/src/core/instance/render-helpers/index.ts +31 -0
  87. package/src/core/instance/render-helpers/render-list.ts +49 -0
  88. package/src/core/instance/render-helpers/render-slot.ts +39 -0
  89. package/src/core/instance/render-helpers/render-static.ts +57 -0
  90. package/src/core/instance/render-helpers/resolve-filter.ts +8 -0
  91. package/src/core/instance/render-helpers/resolve-scoped-slots.ts +30 -0
  92. package/src/core/instance/render-helpers/resolve-slots.ts +51 -0
  93. package/src/core/instance/render.ts +172 -0
  94. package/src/core/instance/state.ts +393 -0
  95. package/src/core/observer/array.ts +54 -0
  96. package/src/core/observer/dep.ts +108 -0
  97. package/src/core/observer/index.ts +339 -0
  98. package/src/core/observer/scheduler.ts +199 -0
  99. package/src/core/observer/traverse.ts +47 -0
  100. package/src/core/observer/watcher.ts +278 -0
  101. package/src/core/util/debug.ts +105 -0
  102. package/src/core/util/env.ts +93 -0
  103. package/src/core/util/error.ts +81 -0
  104. package/src/core/util/index.ts +9 -0
  105. package/src/core/util/lang.ts +45 -0
  106. package/src/core/util/next-tick.ts +117 -0
  107. package/src/core/util/options.ts +489 -0
  108. package/src/core/util/perf.ts +28 -0
  109. package/src/core/util/props.ts +254 -0
  110. package/src/core/vdom/create-component.ts +275 -0
  111. package/src/core/vdom/create-element.ts +172 -0
  112. package/src/core/vdom/create-functional-component.ts +180 -0
  113. package/src/core/vdom/helpers/extract-props.ts +75 -0
  114. package/src/core/vdom/helpers/get-first-component-child.ts +16 -0
  115. package/src/core/vdom/helpers/index.ts +7 -0
  116. package/src/core/vdom/helpers/is-async-placeholder.ts +6 -0
  117. package/src/core/vdom/helpers/merge-hook.ts +40 -0
  118. package/src/core/vdom/helpers/normalize-children.ts +99 -0
  119. package/src/core/vdom/helpers/normalize-scoped-slots.ts +97 -0
  120. package/src/core/vdom/helpers/resolve-async-component.ts +157 -0
  121. package/src/core/vdom/helpers/update-listeners.ts +101 -0
  122. package/src/core/vdom/modules/directives.ts +137 -0
  123. package/src/core/vdom/modules/index.ts +4 -0
  124. package/src/core/vdom/modules/template-ref.ts +94 -0
  125. package/src/core/vdom/patch.ts +907 -0
  126. package/src/core/vdom/vnode.ts +119 -0
  127. package/src/global.d.ts +17 -0
  128. package/src/platforms/web/compiler/directives/html.ts +8 -0
  129. package/src/platforms/web/compiler/directives/index.ts +9 -0
  130. package/src/platforms/web/compiler/directives/model.ts +181 -0
  131. package/src/platforms/web/compiler/directives/text.ts +8 -0
  132. package/src/platforms/web/compiler/index.ts +6 -0
  133. package/src/platforms/web/compiler/modules/class.ts +44 -0
  134. package/src/platforms/web/compiler/modules/index.ts +5 -0
  135. package/src/platforms/web/compiler/modules/model.ts +89 -0
  136. package/src/platforms/web/compiler/modules/style.ts +47 -0
  137. package/src/platforms/web/compiler/options.ts +25 -0
  138. package/src/platforms/web/compiler/util.ts +22 -0
  139. package/src/platforms/web/entry-compiler.ts +4 -0
  140. package/src/platforms/web/entry-runtime-esm.ts +5 -0
  141. package/src/platforms/web/entry-runtime-with-compiler-esm.ts +5 -0
  142. package/src/platforms/web/entry-runtime-with-compiler.ts +10 -0
  143. package/src/platforms/web/entry-runtime.ts +7 -0
  144. package/src/platforms/web/runtime/class-util.ts +61 -0
  145. package/src/platforms/web/runtime/components/index.ts +7 -0
  146. package/src/platforms/web/runtime/components/transition-group.ts +204 -0
  147. package/src/platforms/web/runtime/components/transition.ts +205 -0
  148. package/src/platforms/web/runtime/directives/index.ts +7 -0
  149. package/src/platforms/web/runtime/directives/model.ts +148 -0
  150. package/src/platforms/web/runtime/directives/show.ts +61 -0
  151. package/src/platforms/web/runtime/index.ts +75 -0
  152. package/src/platforms/web/runtime/modules/attrs.ts +115 -0
  153. package/src/platforms/web/runtime/modules/class.ts +37 -0
  154. package/src/platforms/web/runtime/modules/dom-props.ts +123 -0
  155. package/src/platforms/web/runtime/modules/events.ts +127 -0
  156. package/src/platforms/web/runtime/modules/index.ts +8 -0
  157. package/src/platforms/web/runtime/modules/style.ts +102 -0
  158. package/src/platforms/web/runtime/modules/transition.ts +341 -0
  159. package/src/platforms/web/runtime/node-ops.ts +66 -0
  160. package/src/platforms/web/runtime/patch.ts +10 -0
  161. package/src/platforms/web/runtime/transition-util.ts +215 -0
  162. package/src/platforms/web/runtime-with-compiler.ts +110 -0
  163. package/src/platforms/web/util/attrs.ts +58 -0
  164. package/src/platforms/web/util/class.ts +87 -0
  165. package/src/platforms/web/util/compat.ts +16 -0
  166. package/src/platforms/web/util/element.ts +76 -0
  167. package/src/platforms/web/util/index.ts +21 -0
  168. package/src/platforms/web/util/style.ts +71 -0
  169. package/src/shared/constants.ts +20 -0
  170. package/src/shared/util.ts +378 -0
  171. package/src/types/compiler.ts +207 -0
  172. package/src/types/component.ts +212 -0
  173. package/src/types/global-api.ts +37 -0
  174. package/src/types/modules.d.ts +15 -0
  175. package/src/types/options.ts +114 -0
  176. package/src/types/ssr.ts +27 -0
  177. package/src/types/utils.ts +3 -0
  178. package/src/types/vnode.ts +127 -0
  179. package/src/v3/apiAsyncComponent.ts +117 -0
  180. package/src/v3/apiInject.ts +71 -0
  181. package/src/v3/apiLifecycle.ts +68 -0
  182. package/src/v3/apiSetup.ts +246 -0
  183. package/src/v3/apiWatch.ts +353 -0
  184. package/src/v3/currentInstance.ts +23 -0
  185. package/src/v3/debug.ts +21 -0
  186. package/src/v3/h.ts +18 -0
  187. package/src/v3/index.ts +96 -0
  188. package/src/v3/reactivity/computed.ts +100 -0
  189. package/src/v3/reactivity/effect.ts +20 -0
  190. package/src/v3/reactivity/effectScope.ts +137 -0
  191. package/src/v3/reactivity/operations.ts +14 -0
  192. package/src/v3/reactivity/reactive.ts +137 -0
  193. package/src/v3/reactivity/readonly.ts +127 -0
  194. package/src/v3/reactivity/ref.ts +293 -0
  195. package/src/v3/sfc-helpers/useCssModule.ts +24 -0
  196. package/src/v3/sfc-helpers/useCssVars.ts +34 -0
  197. package/types/built-in-components.d.ts +63 -0
  198. package/types/common.d.ts +21 -0
  199. package/types/index.d.ts +81 -0
  200. package/types/jsx.d.ts +1353 -0
  201. package/types/options.d.ts +349 -0
  202. package/types/plugin.d.ts +8 -0
  203. package/types/umd.d.ts +68 -0
  204. package/types/v3-component-options.d.ts +252 -0
  205. package/types/v3-component-props.d.ts +99 -0
  206. package/types/v3-component-public-instance.d.ts +232 -0
  207. package/types/v3-define-async-component.d.ts +26 -0
  208. package/types/v3-define-component.d.ts +201 -0
  209. package/types/v3-directive.d.ts +29 -0
  210. package/types/v3-manual-apis.d.ts +10 -0
  211. package/types/v3-setup-context.d.ts +41 -0
  212. package/types/v3-setup-helpers.d.ts +154 -0
  213. package/types/vnode.d.ts +117 -0
  214. package/types/vue.d.ts +446 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2013-present, Yuxi (Evan) You
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,122 @@
1
+ ## Vue 2 has reached End of Life
2
+
3
+ **You are looking at the now inactive repository for Vue 2. The actively maintained repository for the latest version of Vue is [vuejs/core](https://github.com/vuejs/core).**
4
+
5
+ Vue has reached End of Life on December 31st, 2023. It no longer receives new features, updates, or fixes. However, it is still available on all existing distribution channels (CDNs, package managers, Github, etc).
6
+
7
+ If you are starting a new project, please start with the latest version of Vue (3.x). We also strongly recommend current Vue 2 users to upgrade ([guide](https://v3-migration.vuejs.org/)), but we also acknowledge that not all users have the bandwidth or incentive to do so. If you have to stay on Vue 2 but also have compliance or security requirements about unmaintained software, check out [Vue 2 NES](https://www.herodevs.com/support/nes-vue?utm_source=vuejs-github&utm_medium=vue2-readme).
8
+
9
+ <p align="center"><a href="https://vuejs.org" target="_blank" rel="noopener noreferrer"><img width="100" src="https://vuejs.org/images/logo.png" alt="Vue logo"></a></p>
10
+
11
+ <p align="center">
12
+ <a href="https://circleci.com/gh/vuejs/vue/tree/dev"><img src="https://img.shields.io/circleci/project/github/vuejs/vue/dev.svg?sanitize=true" alt="Build Status"></a>
13
+ <a href="https://codecov.io/github/vuejs/vue?branch=dev"><img src="https://img.shields.io/codecov/c/github/vuejs/vue/dev.svg?sanitize=true" alt="Coverage Status"></a>
14
+ <a href="https://npmcharts.com/compare/vue?minimal=true"><img src="https://img.shields.io/npm/dm/vue.svg?sanitize=true" alt="Downloads"></a>
15
+ <a href="https://www.npmjs.com/package/vue"><img src="https://img.shields.io/npm/v/vue.svg?sanitize=true" alt="Version"></a>
16
+ <a href="https://www.npmjs.com/package/vue"><img src="https://img.shields.io/npm/l/vue.svg?sanitize=true" alt="License"></a>
17
+ <a href="https://chat.vuejs.org/"><img src="https://img.shields.io/badge/chat-on%20discord-7289da.svg?sanitize=true" alt="Chat"></a>
18
+ </p>
19
+
20
+ ## Sponsors
21
+
22
+ Vue.js is an MIT-licensed open source project with its ongoing development made possible entirely by the support of these awesome [backers](https://github.com/vuejs/core/blob/main/BACKERS.md). If you'd like to join them, please consider [ sponsor Vue's development](https://vuejs.org/sponsor/).
23
+
24
+ <p align="center">
25
+ <h3 align="center">Special Sponsor</h3>
26
+ </p>
27
+
28
+ <p align="center">
29
+ <a target="_blank" href="https://github.com/appwrite/appwrite">
30
+ <img alt="special sponsor appwrite" src="https://sponsors.vuejs.org/images/appwrite.svg" width="300">
31
+ </a>
32
+ </p>
33
+
34
+ <p align="center">
35
+ <a target="_blank" href="https://vuejs.org/sponsor/">
36
+ <img alt="sponsors" src="https://sponsors.vuejs.org/sponsors.svg?v3">
37
+ </a>
38
+ </p>
39
+
40
+ ---
41
+
42
+ ## Introduction
43
+
44
+ Vue (pronounced `/vjuː/`, like view) is a **progressive framework** for building user interfaces. It is designed from the ground up to be incrementally adoptable, and can easily scale between a library and a framework depending on different use cases. It consists of an approachable core library that focuses on the view layer only, and an ecosystem of supporting libraries that helps you tackle complexity in large Single-Page Applications.
45
+
46
+ #### Browser Compatibility
47
+
48
+ Vue.js supports all browsers that are [ES5-compliant](https://compat-table.github.io/compat-table/es5/) (IE8 and below are not supported).
49
+
50
+ ## Ecosystem
51
+
52
+ | Project | Status | Description |
53
+ | --------------------- | ------------------------------------------------------------ | ------------------------------------------------------- |
54
+ | [vue-router] | [![vue-router-status]][vue-router-package] | Single-page application routing |
55
+ | [vuex] | [![vuex-status]][vuex-package] | Large-scale state management |
56
+ | [vue-cli] | [![vue-cli-status]][vue-cli-package] | Project scaffolding |
57
+ | [vue-loader] | [![vue-loader-status]][vue-loader-package] | Single File Component (`*.vue` file) loader for webpack |
58
+ | [vue-server-renderer] | [![vue-server-renderer-status]][vue-server-renderer-package] | Server-side rendering support |
59
+ | [vue-class-component] | [![vue-class-component-status]][vue-class-component-package] | TypeScript decorator for a class-based API |
60
+ | [vue-rx] | [![vue-rx-status]][vue-rx-package] | RxJS integration |
61
+ | [vue-devtools] | [![vue-devtools-status]][vue-devtools-package] | Browser DevTools extension |
62
+
63
+ [vue-router]: https://github.com/vuejs/vue-router
64
+ [vuex]: https://github.com/vuejs/vuex
65
+ [vue-cli]: https://github.com/vuejs/vue-cli
66
+ [vue-loader]: https://github.com/vuejs/vue-loader
67
+ [vue-server-renderer]: https://github.com/vuejs/vue/tree/dev/packages/vue-server-renderer
68
+ [vue-class-component]: https://github.com/vuejs/vue-class-component
69
+ [vue-rx]: https://github.com/vuejs/vue-rx
70
+ [vue-devtools]: https://github.com/vuejs/vue-devtools
71
+ [vue-router-status]: https://img.shields.io/npm/v/vue-router.svg
72
+ [vuex-status]: https://img.shields.io/npm/v/vuex.svg
73
+ [vue-cli-status]: https://img.shields.io/npm/v/@vue/cli.svg
74
+ [vue-loader-status]: https://img.shields.io/npm/v/vue-loader.svg
75
+ [vue-server-renderer-status]: https://img.shields.io/npm/v/vue-server-renderer.svg
76
+ [vue-class-component-status]: https://img.shields.io/npm/v/vue-class-component.svg
77
+ [vue-rx-status]: https://img.shields.io/npm/v/vue-rx.svg
78
+ [vue-devtools-status]: https://img.shields.io/chrome-web-store/v/nhdogjmejiglipccpnnnanhbledajbpd.svg
79
+ [vue-router-package]: https://npmjs.com/package/vue-router
80
+ [vuex-package]: https://npmjs.com/package/vuex
81
+ [vue-cli-package]: https://npmjs.com/package/@vue/cli
82
+ [vue-loader-package]: https://npmjs.com/package/vue-loader
83
+ [vue-server-renderer-package]: https://npmjs.com/package/vue-server-renderer
84
+ [vue-class-component-package]: https://npmjs.com/package/vue-class-component
85
+ [vue-rx-package]: https://npmjs.com/package/vue-rx
86
+ [vue-devtools-package]: https://chrome.google.com/webstore/detail/vuejs-devtools/nhdogjmejiglipccpnnnanhbledajbpd
87
+
88
+ ## Documentation
89
+
90
+ To check out [live examples](https://v2.vuejs.org/v2/examples/) and docs, visit [vuejs.org](https://v2.vuejs.org).
91
+
92
+ ## Questions
93
+
94
+ For questions and support please use [the official forum](https://forum.vuejs.org) or [community chat](https://chat.vuejs.org/). The issue list of this repo is **exclusively** for bug reports and feature requests.
95
+
96
+ ## Issues
97
+
98
+ Please make sure to read the [Issue Reporting Checklist](https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#issue-reporting-guidelines) before opening an issue. Issues not conforming to the guidelines may be closed immediately.
99
+
100
+ ## Changelog
101
+
102
+ Detailed changes for each release are documented in the [release notes](https://github.com/vuejs/vue/releases).
103
+
104
+ ## Stay In Touch
105
+
106
+ - [Twitter](https://twitter.com/vuejs)
107
+ - [Blog](https://medium.com/the-vue-point)
108
+ - [Job Board](https://vuejobs.com/?ref=vuejs)
109
+
110
+ ## Contribution
111
+
112
+ Please make sure to read the [Contributing Guide](https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md) before making a pull request. If you have a Vue-related project/component/tool, add it with a pull request to [this curated list](https://github.com/vuejs/awesome-vue)!
113
+
114
+ Thank you to all the people who already contributed to Vue!
115
+
116
+ <a href="https://github.com/vuejs/vue/graphs/contributors"><img src="https://opencollective.com/vuejs/contributors.svg?width=890" /></a>
117
+
118
+ ## License
119
+
120
+ [MIT](https://opensource.org/licenses/MIT)
121
+
122
+ Copyright (c) 2013-present, Yuxi (Evan) You
@@ -0,0 +1 @@
1
+ export * from '@vue/compiler-sfc'
@@ -0,0 +1 @@
1
+ module.exports = require('@vue/compiler-sfc')
@@ -0,0 +1 @@
1
+ export * from '@vue/compiler-sfc'
@@ -0,0 +1,5 @@
1
+ {
2
+ "main": "index.js",
3
+ "module": "index.mjs",
4
+ "types": "index.d.ts"
5
+ }
@@ -0,0 +1,5 @@
1
+ if (process.env.NODE_ENV === 'production') {
2
+ module.exports = require('./vue.common.prod.js')
3
+ } else {
4
+ module.exports = require('./vue.common.dev.js')
5
+ }
@@ -0,0 +1,5 @@
1
+ if (process.env.NODE_ENV === 'production') {
2
+ module.exports = require('./vue.runtime.common.prod.js')
3
+ } else {
4
+ module.exports = require('./vue.runtime.common.dev.js')
5
+ }
@@ -0,0 +1,76 @@
1
+ import Vue from './vue.runtime.common.js'
2
+ export default Vue
3
+
4
+ // this should be kept in sync with src/v3/index.ts
5
+ export const {
6
+ version,
7
+
8
+ // refs
9
+ ref,
10
+ shallowRef,
11
+ isRef,
12
+ toRef,
13
+ toRefs,
14
+ unref,
15
+ proxyRefs,
16
+ customRef,
17
+ triggerRef,
18
+ computed,
19
+
20
+ // reactive
21
+ reactive,
22
+ isReactive,
23
+ isReadonly,
24
+ isShallow,
25
+ isProxy,
26
+ shallowReactive,
27
+ markRaw,
28
+ toRaw,
29
+ readonly,
30
+ shallowReadonly,
31
+
32
+ // watch
33
+ watch,
34
+ watchEffect,
35
+ watchPostEffect,
36
+ watchSyncEffect,
37
+
38
+ // effectScope
39
+ effectScope,
40
+ onScopeDispose,
41
+ getCurrentScope,
42
+
43
+ // provide / inject
44
+ provide,
45
+ inject,
46
+
47
+ // lifecycle
48
+ onBeforeMount,
49
+ onMounted,
50
+ onBeforeUpdate,
51
+ onUpdated,
52
+ onBeforeUnmount,
53
+ onUnmounted,
54
+ onErrorCaptured,
55
+ onActivated,
56
+ onDeactivated,
57
+ onServerPrefetch,
58
+ onRenderTracked,
59
+ onRenderTriggered,
60
+
61
+ // v2 only
62
+ set,
63
+ del,
64
+
65
+ // v3 compat
66
+ h,
67
+ getCurrentInstance,
68
+ useSlots,
69
+ useAttrs,
70
+ mergeDefaults,
71
+ nextTick,
72
+ useCssModule,
73
+ useCssVars,
74
+ defineComponent,
75
+ defineAsyncComponent
76
+ } = Vue
package/package.json ADDED
@@ -0,0 +1,136 @@
1
+ {
2
+ "name": "@nest-vue/vue-security-patched",
3
+ "version": "2.7.16-patch.2",
4
+ "packageManager": "pnpm@8.9.2",
5
+ "description": "Reactive, component-oriented view layer for modern web interfaces.",
6
+ "main": "dist/vue.runtime.common.js",
7
+ "module": "dist/vue.runtime.esm.js",
8
+ "unpkg": "dist/vue.js",
9
+ "jsdelivr": "dist/vue.js",
10
+ "typings": "types/index.d.ts",
11
+ "files": [
12
+ "src",
13
+ "dist/*.js",
14
+ "dist/*.mjs",
15
+ "types/*.d.ts",
16
+ "compiler-sfc",
17
+ "packages/compiler-sfc"
18
+ ],
19
+ "exports": {
20
+ ".": {
21
+ "types": "./types/index.d.ts",
22
+ "import": {
23
+ "node": "./dist/vue.runtime.mjs",
24
+ "default": "./dist/vue.runtime.esm.js"
25
+ },
26
+ "require": "./dist/vue.runtime.common.js"
27
+ },
28
+ "./compiler-sfc": {
29
+ "types": "./compiler-sfc/index.d.ts",
30
+ "import": "./compiler-sfc/index.mjs",
31
+ "require": "./compiler-sfc/index.js"
32
+ },
33
+ "./dist/*": "./dist/*",
34
+ "./types/*": [
35
+ "./types/*.d.ts",
36
+ "./types/*"
37
+ ],
38
+ "./package.json": "./package.json"
39
+ },
40
+ "sideEffects": false,
41
+ "scripts": {
42
+ "dev": "rollup -w -c scripts/config.js --environment TARGET:full-dev",
43
+ "dev:cjs": "rollup -w -c scripts/config.js --environment TARGET:runtime-cjs-dev",
44
+ "dev:esm": "rollup -w -c scripts/config.js --environment TARGET:runtime-esm",
45
+ "dev:ssr": "rollup -w -c scripts/config.js --environment TARGET:server-renderer",
46
+ "dev:compiler": "rollup -w -c scripts/config.js --environment TARGET:compiler ",
47
+ "build": "node scripts/build.js",
48
+ "build:ssr": "npm run build -- runtime-cjs,server-renderer",
49
+ "build:types": "rimraf temp && tsc --declaration --emitDeclarationOnly --outDir temp && api-extractor run && api-extractor run -c packages/compiler-sfc/api-extractor.json",
50
+ "test": "npm run ts-check && npm run test:types && npm run test:unit && npm run test:e2e && npm run test:ssr && npm run test:sfc",
51
+ "test:unit": "vitest run test/unit",
52
+ "test:ssr": "npm run build:ssr && vitest run server-renderer",
53
+ "test:sfc": "vitest run compiler-sfc",
54
+ "test:e2e": "npm run build -- full-prod,server-renderer-basic && vitest run test/e2e",
55
+ "test:transition": "karma start test/transition/karma.conf.js",
56
+ "test:types": "npm run build:types && tsc -p ./types/tsconfig.json",
57
+ "format": "prettier --write --parser typescript \"(src|test|packages|types)/**/*.ts\"",
58
+ "ts-check": "tsc -p tsconfig.json --noEmit",
59
+ "ts-check:test": "tsc -p test/tsconfig.json --noEmit",
60
+ "bench:ssr": "npm run build:ssr && node benchmarks/ssr/renderToString.js && node benchmarks/ssr/renderToStream.js",
61
+ "release": "node scripts/release.js",
62
+ "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
63
+ },
64
+ "gitHooks": {
65
+ "pre-commit": "lint-staged",
66
+ "commit-msg": "node scripts/verify-commit-msg.js"
67
+ },
68
+ "lint-staged": {
69
+ "*.js": [
70
+ "prettier --write"
71
+ ],
72
+ "*.ts": [
73
+ "prettier --parser=typescript --write"
74
+ ]
75
+ },
76
+ "repository": {
77
+ "type": "git",
78
+ "url": "git+https://github.com/vuejs/vue.git"
79
+ },
80
+ "keywords": [
81
+ "vue"
82
+ ],
83
+ "author": "Evan You",
84
+ "license": "MIT",
85
+ "bugs": {
86
+ "url": "https://github.com/vuejs/vue/issues"
87
+ },
88
+ "homepage": "https://github.com/vuejs/vue#readme",
89
+ "dependencies": {
90
+ "@vue/compiler-sfc": "2.7.16",
91
+ "csstype": "^3.1.0"
92
+ },
93
+ "devDependencies": {
94
+ "@babel/parser": "^7.23.5",
95
+ "@microsoft/api-extractor": "^7.25.0",
96
+ "@rollup/plugin-alias": "^3.1.9",
97
+ "@rollup/plugin-commonjs": "^22.0.0",
98
+ "@rollup/plugin-node-resolve": "^13.3.0",
99
+ "@rollup/plugin-replace": "^4.0.0",
100
+ "@types/he": "^1.1.2",
101
+ "@types/node": "^20.10.3",
102
+ "chalk": "^4.1.2",
103
+ "conventional-changelog-cli": "^2.2.2",
104
+ "cross-spawn": "^7.0.3",
105
+ "enquirer": "^2.3.6",
106
+ "esbuild": "^0.19.8",
107
+ "execa": "^4.1.0",
108
+ "he": "^1.2.0",
109
+ "jasmine-core": "^4.2.0",
110
+ "jsdom": "^19.0.0",
111
+ "karma": "^6.3.20",
112
+ "karma-chrome-launcher": "^3.1.1",
113
+ "karma-cli": "^2.0.0",
114
+ "karma-esbuild": "^2.2.5",
115
+ "karma-jasmine": "^5.0.1",
116
+ "lint-staged": "^12.5.0",
117
+ "lodash": "^4.17.21",
118
+ "marked": "^4.0.16",
119
+ "minimist": "^1.2.6",
120
+ "postcss": "^8.4.14",
121
+ "prettier": "^2.6.2",
122
+ "puppeteer": "^14.3.0",
123
+ "rimraf": "^3.0.2",
124
+ "rollup": "^2.79.1",
125
+ "rollup-plugin-typescript2": "^0.32.0",
126
+ "semver": "^7.3.7",
127
+ "shelljs": "^0.8.5",
128
+ "terser": "^5.14.0",
129
+ "todomvc-app-css": "^2.4.2",
130
+ "ts-node": "^10.8.1",
131
+ "tslib": "^2.4.0",
132
+ "typescript": "^4.8.4",
133
+ "vitest": "^1.0.4",
134
+ "yorkie": "^2.0.0"
135
+ }
136
+ }
@@ -0,0 +1,64 @@
1
+ {
2
+ "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3
+
4
+ "projectFolder": ".",
5
+
6
+ "mainEntryPointFilePath": "../../temp/packages/compiler-sfc/src/index.d.ts",
7
+
8
+ "compiler": {
9
+ "tsconfigFilePath": "../../api-extractor.tsconfig.json"
10
+ },
11
+
12
+ "dtsRollup": {
13
+ "enabled": true,
14
+ "untrimmedFilePath": "",
15
+ "publicTrimmedFilePath": "./dist/compiler-sfc.d.ts"
16
+ },
17
+
18
+ "apiReport": {
19
+ "enabled": false
20
+ },
21
+
22
+ "docModel": {
23
+ "enabled": false
24
+ },
25
+
26
+ "tsdocMetadata": {
27
+ "enabled": false
28
+ },
29
+
30
+ "messages": {
31
+ "compilerMessageReporting": {
32
+ "default": {
33
+ "logLevel": "warning"
34
+ }
35
+ },
36
+
37
+ "extractorMessageReporting": {
38
+ "default": {
39
+ "logLevel": "warning",
40
+ "addToApiReportFile": true
41
+ },
42
+
43
+ "ae-missing-release-tag": {
44
+ "logLevel": "none"
45
+ },
46
+ "ae-internal-missing-underscore": {
47
+ "logLevel": "none"
48
+ },
49
+ "ae-forgotten-export": {
50
+ "logLevel": "none"
51
+ }
52
+ },
53
+
54
+ "tsdocMessageReporting": {
55
+ "default": {
56
+ "logLevel": "warning"
57
+ },
58
+
59
+ "tsdoc-undefined-tag": {
60
+ "logLevel": "none"
61
+ }
62
+ }
63
+ }
64
+ }