Caleb Porzio 3 years ago
parent
commit
3c578e5c8d

+ 1 - 1
packages/alpinejs/package.json

@@ -1,6 +1,6 @@
 {
 {
     "name": "alpinejs",
     "name": "alpinejs",
-    "version": "3.5.1",
+    "version": "3.5.2",
     "description": "The rugged, minimal JavaScript framework",
     "description": "The rugged, minimal JavaScript framework",
     "author": "Caleb Porzio",
     "author": "Caleb Porzio",
     "license": "MIT",
     "license": "MIT",

+ 1 - 2
packages/alpinejs/src/evaluator.js

@@ -100,8 +100,7 @@ function generateEvaluatorFromString(dataStack, expression, el) {
                 // Once the function has run, we clear func.result so we don't create
                 // Once the function has run, we clear func.result so we don't create
                 // memory leaks. func is stored in the evaluatorMemo and every time
                 // memory leaks. func is stored in the evaluatorMemo and every time
                 // it runs, it assigns the evaluated expression to result which could
                 // it runs, it assigns the evaluated expression to result which could
-                // potentially store reference to DOM element that will be removed
-                // later on
+                // potentially store a reference to the DOM element that will be removed later on.
                 func.result = undefined
                 func.result = undefined
             } else {
             } else {
                 // If not, return the result when the promise resolves.
                 // If not, return the result when the promise resolves.

+ 3 - 3
packages/alpinejs/src/mutation.js

@@ -160,13 +160,13 @@ function onMutate(mutations) {
         onAttributeAddeds.forEach(i => i(el, attrs))
         onAttributeAddeds.forEach(i => i(el, attrs))
     })
     })
 
 
-    // Mutations are undled together by the browser but sometimes
+    // Mutations are bundled together by the browser but sometimes
     // for complex cases, there may be javascript code adding a wrapper
     // for complex cases, there may be javascript code adding a wrapper
     // and then an alpine component as a child of that wrapper in the same
     // and then an alpine component as a child of that wrapper in the same
     // function and the mutation observer will receive 2 different mutations.
     // function and the mutation observer will receive 2 different mutations.
-    // when it comes to run them, the dom contains both changes so the child
+    // when it comes time to run them, the dom contains both changes so the child
     // element would be processed twice as Alpine calls initTree on
     // element would be processed twice as Alpine calls initTree on
-    // both mutations. We mark all node as _x_ignored and only remove the flag
+    // both mutations. We mark all nodes as _x_ignored and only remove the flag
     // when processing the node to avoid those duplicates.
     // when processing the node to avoid those duplicates.
     addedNodes.forEach((node) => {
     addedNodes.forEach((node) => {
         node._x_ignoreSelf = true
         node._x_ignoreSelf = true

+ 1 - 1
packages/collapse/package.json

@@ -1,6 +1,6 @@
 {
 {
     "name": "@alpinejs/collapse",
     "name": "@alpinejs/collapse",
-    "version": "3.5.1",
+    "version": "3.5.2",
     "description": "Collapse and expand elements with robust animations",
     "description": "Collapse and expand elements with robust animations",
     "author": "Caleb Porzio",
     "author": "Caleb Porzio",
     "license": "MIT",
     "license": "MIT",

+ 1 - 1
packages/docs/package.json

@@ -1,6 +1,6 @@
 {
 {
     "name": "@alpinejs/docs",
     "name": "@alpinejs/docs",
-    "version": "3.5.1-revision.2",
+    "version": "3.5.2-revision.1",
     "description": "The documentation for Alpine",
     "description": "The documentation for Alpine",
     "author": "Caleb Porzio",
     "author": "Caleb Porzio",
     "license": "MIT"
     "license": "MIT"

+ 1 - 1
packages/docs/src/en/essentials/installation.md

@@ -33,7 +33,7 @@ This is by far the simplest way to get started with Alpine. Include the followin
 Notice the `@3.x.x` in the provided CDN link. This will pull the latest version of Alpine version 3. For stability in production, it's recommended that you hardcode the latest version in the CDN link.
 Notice the `@3.x.x` in the provided CDN link. This will pull the latest version of Alpine version 3. For stability in production, it's recommended that you hardcode the latest version in the CDN link.
 
 
 ```alpine
 ```alpine
-<script defer src="https://unpkg.com/alpinejs@3.5.1/dist/cdn.min.js"></script>
+<script defer src="https://unpkg.com/alpinejs@3.5.2/dist/cdn.min.js"></script>
 ```
 ```
 
 
 That's it! Alpine is now available for use inside your page.
 That's it! Alpine is now available for use inside your page.

+ 1 - 1
packages/intersect/package.json

@@ -1,6 +1,6 @@
 {
 {
     "name": "@alpinejs/intersect",
     "name": "@alpinejs/intersect",
-    "version": "3.5.1",
+    "version": "3.5.2",
     "description": "Trigger JavaScript when an element enters the viewport",
     "description": "Trigger JavaScript when an element enters the viewport",
     "author": "Caleb Porzio",
     "author": "Caleb Porzio",
     "license": "MIT",
     "license": "MIT",

+ 1 - 1
packages/morph/package.json

@@ -1,6 +1,6 @@
 {
 {
     "name": "@alpinejs/morph",
     "name": "@alpinejs/morph",
-    "version": "3.5.1",
+    "version": "3.5.2",
     "description": "Diff and patch a block of HTML on a page with an HTML template",
     "description": "Diff and patch a block of HTML on a page with an HTML template",
     "author": "Caleb Porzio",
     "author": "Caleb Porzio",
     "license": "MIT",
     "license": "MIT",

+ 1 - 1
packages/persist/package.json

@@ -1,6 +1,6 @@
 {
 {
     "name": "@alpinejs/persist",
     "name": "@alpinejs/persist",
-    "version": "3.5.1",
+    "version": "3.5.2",
     "description": "Persist Alpine data across page loads",
     "description": "Persist Alpine data across page loads",
     "author": "Caleb Porzio",
     "author": "Caleb Porzio",
     "license": "MIT",
     "license": "MIT",

+ 1 - 1
packages/trap/package.json

@@ -1,6 +1,6 @@
 {
 {
     "name": "@alpinejs/trap",
     "name": "@alpinejs/trap",
-    "version": "3.5.1",
+    "version": "3.5.2",
     "description": "Trap focus on a page within a specific element",
     "description": "Trap focus on a page within a specific element",
     "author": "Caleb Porzio",
     "author": "Caleb Porzio",
     "license": "MIT",
     "license": "MIT",