Update parsleyjs [MAILPOET-3386]
Note: deferred.pipe() fix is not implemented yet, see https://github.com/guillaumepotier/Parsley.js/pull/1347
This commit is contained in:
14
package-lock.json
generated
14
package-lock.json
generated
@@ -50,7 +50,7 @@
|
|||||||
"moment": "^2.26.0",
|
"moment": "^2.26.0",
|
||||||
"mousetrap": "^1.6.5",
|
"mousetrap": "^1.6.5",
|
||||||
"papaparse": "^5.2.0",
|
"papaparse": "^5.2.0",
|
||||||
"parsleyjs": "^2.8.1",
|
"parsleyjs": "^2.9.2",
|
||||||
"prop-types": "^15.7.2",
|
"prop-types": "^15.7.2",
|
||||||
"react": "^16.13.1",
|
"react": "^16.13.1",
|
||||||
"react-beautiful-dnd": "^13.0.0",
|
"react-beautiful-dnd": "^13.0.0",
|
||||||
@@ -22194,9 +22194,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/parsleyjs": {
|
"node_modules/parsleyjs": {
|
||||||
"version": "2.8.1",
|
"version": "2.9.2",
|
||||||
"resolved": "https://registry.npmjs.org/parsleyjs/-/parsleyjs-2.8.1.tgz",
|
"resolved": "https://registry.npmjs.org/parsleyjs/-/parsleyjs-2.9.2.tgz",
|
||||||
"integrity": "sha1-oEq/kcIUZHXm1NVAS0WUCtb7uKQ=",
|
"integrity": "sha512-DKS2XXTjEUZ1BJWUzgXAr+550kFBZrom2WYweubqdV7WzdNC1hjOajZDfeBPoAZMkXumJPlB3v37IKatbiW8zQ==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"jquery": ">=1.8.0"
|
"jquery": ">=1.8.0"
|
||||||
}
|
}
|
||||||
@@ -52484,9 +52484,9 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"parsleyjs": {
|
"parsleyjs": {
|
||||||
"version": "2.8.1",
|
"version": "2.9.2",
|
||||||
"resolved": "https://registry.npmjs.org/parsleyjs/-/parsleyjs-2.8.1.tgz",
|
"resolved": "https://registry.npmjs.org/parsleyjs/-/parsleyjs-2.9.2.tgz",
|
||||||
"integrity": "sha1-oEq/kcIUZHXm1NVAS0WUCtb7uKQ=",
|
"integrity": "sha512-DKS2XXTjEUZ1BJWUzgXAr+550kFBZrom2WYweubqdV7WzdNC1hjOajZDfeBPoAZMkXumJPlB3v37IKatbiW8zQ==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"jquery": ">=1.8.0"
|
"jquery": ">=1.8.0"
|
||||||
}
|
}
|
||||||
|
@@ -83,7 +83,7 @@
|
|||||||
"moment": "^2.26.0",
|
"moment": "^2.26.0",
|
||||||
"mousetrap": "^1.6.5",
|
"mousetrap": "^1.6.5",
|
||||||
"papaparse": "^5.2.0",
|
"papaparse": "^5.2.0",
|
||||||
"parsleyjs": "^2.8.1",
|
"parsleyjs": "^2.9.2",
|
||||||
"prop-types": "^15.7.2",
|
"prop-types": "^15.7.2",
|
||||||
"react": "^16.13.1",
|
"react": "^16.13.1",
|
||||||
"react-beautiful-dnd": "^13.0.0",
|
"react-beautiful-dnd": "^13.0.0",
|
||||||
|
@@ -11,3 +11,8 @@ cat $INIT_CWD/node_modules/tinymce/icons/default/icons.min.js >> $INIT_CWD/asset
|
|||||||
# Replace deprecated jQuery methods in the spectrum-colorpicker dependency
|
# Replace deprecated jQuery methods in the spectrum-colorpicker dependency
|
||||||
# Remove this when a patch is included in a package update
|
# Remove this when a patch is included in a package update
|
||||||
git apply $INIT_CWD/tasks/patches/spectrum-replace-jquery-deprecated.patch || true
|
git apply $INIT_CWD/tasks/patches/spectrum-replace-jquery-deprecated.patch || true
|
||||||
|
|
||||||
|
# Replace deprecated jQuery methods in the parsley dependency
|
||||||
|
# Remove this when a patch is included in a package update.
|
||||||
|
# Note: deferred.pipe() fix is not implemented yet, see https://github.com/guillaumepotier/Parsley.js/pull/1347
|
||||||
|
sed -i -- "s/_focusedField\.focus()/_focusedField\.trigger('focus')/g" node_modules/parsleyjs/dist/parsley*.js
|
||||||
|
Reference in New Issue
Block a user