Skip to content

Commit f52ae7c

Browse files
committed
adjust peerDependency to match FilePond 4.0.0
1 parent cdf8de8 commit f52ae7c

6 files changed

+13
-13
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2018 PQINA | Rik Schennink <[email protected]>
3+
Copyright (c) 2019 PQINA | Rik Schennink <[email protected]>
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

dist/filepond-plugin-file-validate-size.esm.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* FilePondPluginFileValidateSize 2.1.0
2+
* FilePondPluginFileValidateSize 2.1.1
33
* Licensed under MIT, https://opensource.org/licenses/MIT
44
* Please visit https://pqina.nl/filepond for details.
55
*/
@@ -135,7 +135,7 @@ var plugin$1 = ({ addFilter, utils }) => {
135135
const isBrowser =
136136
typeof window !== 'undefined' && typeof window.document !== 'undefined';
137137

138-
if (isBrowser && document) {
138+
if (isBrowser) {
139139
document.dispatchEvent(
140140
new CustomEvent('FilePond:pluginloaded', { detail: plugin$1 })
141141
);

dist/filepond-plugin-file-validate-size.esm.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/filepond-plugin-file-validate-size.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* FilePondPluginFileValidateSize 2.1.0
2+
* FilePondPluginFileValidateSize 2.1.1
33
* Licensed under MIT, https://opensource.org/licenses/MIT
44
* Please visit https://pqina.nl/filepond for details.
55
*/
@@ -152,7 +152,7 @@
152152
var isBrowser =
153153
typeof window !== 'undefined' && typeof window.document !== 'undefined';
154154

155-
if (isBrowser && document) {
155+
if (isBrowser) {
156156
document.dispatchEvent(
157157
new CustomEvent('FilePond:pluginloaded', { detail: plugin$1 })
158158
);

dist/filepond-plugin-file-validate-size.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
22
"name": "filepond-plugin-file-validate-size",
3-
"version": "2.1.0",
3+
"version": "2.1.1",
44
"description": "File Size Validation Plugin for FilePond",
55
"homepage": "https://pqina.nl/filepond",
66
"repository": "pqina/filepond-plugin-file-validate-size",
77
"main": "dist/filepond-plugin-file-validate-size.js",
88
"browser": "dist/filepond-plugin-file-validate-size.js",
99
"module": "dist/filepond-plugin-file-validate-size.esm.js",
1010
"license": "MIT",
11-
"peerDependencies": {
12-
"filepond": "^3.1.2"
13-
},
1411
"author": {
1512
"name": "PQINA",
1613
"url": "https://pqina.nl"
14+
},
15+
"peerDependencies": {
16+
"filepond": ">=3.1.2 <5.x"
1717
}
1818
}

0 commit comments

Comments
 (0)