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",
|
||||
"mousetrap": "^1.6.5",
|
||||
"papaparse": "^5.2.0",
|
||||
"parsleyjs": "^2.8.1",
|
||||
"parsleyjs": "^2.9.2",
|
||||
"prop-types": "^15.7.2",
|
||||
"react": "^16.13.1",
|
||||
"react-beautiful-dnd": "^13.0.0",
|
||||
@@ -22194,9 +22194,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/parsleyjs": {
|
||||
"version": "2.8.1",
|
||||
"resolved": "https://registry.npmjs.org/parsleyjs/-/parsleyjs-2.8.1.tgz",
|
||||
"integrity": "sha1-oEq/kcIUZHXm1NVAS0WUCtb7uKQ=",
|
||||
"version": "2.9.2",
|
||||
"resolved": "https://registry.npmjs.org/parsleyjs/-/parsleyjs-2.9.2.tgz",
|
||||
"integrity": "sha512-DKS2XXTjEUZ1BJWUzgXAr+550kFBZrom2WYweubqdV7WzdNC1hjOajZDfeBPoAZMkXumJPlB3v37IKatbiW8zQ==",
|
||||
"dependencies": {
|
||||
"jquery": ">=1.8.0"
|
||||
}
|
||||
@@ -52484,9 +52484,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"parsleyjs": {
|
||||
"version": "2.8.1",
|
||||
"resolved": "https://registry.npmjs.org/parsleyjs/-/parsleyjs-2.8.1.tgz",
|
||||
"integrity": "sha1-oEq/kcIUZHXm1NVAS0WUCtb7uKQ=",
|
||||
"version": "2.9.2",
|
||||
"resolved": "https://registry.npmjs.org/parsleyjs/-/parsleyjs-2.9.2.tgz",
|
||||
"integrity": "sha512-DKS2XXTjEUZ1BJWUzgXAr+550kFBZrom2WYweubqdV7WzdNC1hjOajZDfeBPoAZMkXumJPlB3v37IKatbiW8zQ==",
|
||||
"requires": {
|
||||
"jquery": ">=1.8.0"
|
||||
}
|
||||
|
@@ -83,7 +83,7 @@
|
||||
"moment": "^2.26.0",
|
||||
"mousetrap": "^1.6.5",
|
||||
"papaparse": "^5.2.0",
|
||||
"parsleyjs": "^2.8.1",
|
||||
"parsleyjs": "^2.9.2",
|
||||
"prop-types": "^15.7.2",
|
||||
"react": "^16.13.1",
|
||||
"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
|
||||
# Remove this when a patch is included in a package update
|
||||
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