]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: fix some typos (#5050) [ci skip]
authorForzen FIsh <76603360+sudongyuer@users.noreply.github.com>
Sun, 12 Dec 2021 01:58:46 +0000 (09:58 +0800)
committerGitHub <noreply@github.com>
Sun, 12 Dec 2021 01:58:46 +0000 (20:58 -0500)
packages/compiler-core/src/transforms/hoistStatic.ts
packages/runtime-core/src/compat/global.ts
packages/runtime-core/src/featureFlags.ts
packages/vue/package.json

index 5c8a10923bf61d590f21a9794393d0ca7f54bd8c..ae95eadb6830017c3d3b6d133f09e988ecb60bc7 100644 (file)
@@ -330,7 +330,7 @@ function getGeneratedPropsConstantType(
       } else if (value.type === NodeTypes.JS_CALL_EXPRESSION) {
         // some helper calls can be hoisted,
         // such as the `normalizeProps` generated by the compiler for pre-normalize class,
-        // in this case we need to respect the ConstantType of the helper's argments
+        // in this case we need to respect the ConstantType of the helper's arguments
         valueType = getConstantTypeOfHelperCall(value, context)
       } else {
         valueType = ConstantTypes.NOT_CONSTANT
index 10a258638270951d5f275434f95ee33920e28524..2e4898a7081311a3d9256be4891b0cf5b61a8f4f 100644 (file)
@@ -602,7 +602,7 @@ const methodsToPatch = [
 const patched = new WeakSet<object>()
 
 function defineReactive(obj: any, key: string, val: any) {
-  // it's possible for the orignial object to be mutated after being defined
+  // it's possible for the original object to be mutated after being defined
   // and expecting reactivity... we are covering it here because this seems to
   // be a bit more common.
   if (isObject(val) && !isReactive(val) && !patched.has(val)) {
index e04c352c577afd3f19979c0707f4ebdd83a1940d..e878407bcc89b83741ac0981dae697304e990b7b 100644 (file)
@@ -29,7 +29,7 @@ export function initFeatureFlags() {
         `which expects these compile-time feature flags to be globally injected ` +
         `via the bundler config in order to get better tree-shaking in the ` +
         `production bundle.\n\n` +
-        `For more details, see http://link.vuejs.org/feature-flags.`
+        `For more details, see https://link.vuejs.org/feature-flags.`
     )
   }
 }
index a6a3606a9093a6c3876af056130e6af9091f2f33..4498bb2a7575d9a6f3ed7b7994a52d2a98479267 100644 (file)
@@ -1,7 +1,7 @@
 {
   "name": "vue",
   "version": "3.2.24",
-  "description": "The progressive JavaScript framework for buiding modern web UI.",
+  "description": "The progressive JavaScript framework for building modern web UI.",
   "main": "index.js",
   "module": "dist/vue.runtime.esm-bundler.js",
   "types": "dist/vue.d.ts",