Skip to content

Commit

Permalink
adjust peerDependency to match FilePond 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rikschennink committed Feb 5, 2019
1 parent 5b20845 commit aaa4bbc
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2018 PQINA | Rik Schennink <rik@pqina.nl>
Copyright (c) 2019 PQINA | Rik Schennink <rik@pqina.nl>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions dist/filepond-plugin-file-validate-type.esm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FilePondPluginFileValidateType 1.2.1
* FilePondPluginFileValidateType 1.2.2
* Licensed under MIT, https://opensource.org/licenses/MIT
* Please visit https://pqina.nl/filepond for details.
*/
Expand Down Expand Up @@ -203,7 +203,7 @@ var plugin$1 = ({ addFilter, utils }) => {
const isBrowser =
typeof window !== 'undefined' && typeof window.document !== 'undefined';

if (isBrowser && document) {
if (isBrowser) {
document.dispatchEvent(
new CustomEvent('FilePond:pluginloaded', { detail: plugin$1 })
);
Expand Down
4 changes: 2 additions & 2 deletions dist/filepond-plugin-file-validate-type.esm.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/filepond-plugin-file-validate-type.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FilePondPluginFileValidateType 1.2.1
* FilePondPluginFileValidateType 1.2.2
* Licensed under MIT, https://opensource.org/licenses/MIT
* Please visit https://pqina.nl/filepond for details.
*/
Expand Down Expand Up @@ -230,7 +230,7 @@
var isBrowser =
typeof window !== 'undefined' && typeof window.document !== 'undefined';

if (isBrowser && document) {
if (isBrowser) {
document.dispatchEvent(
new CustomEvent('FilePond:pluginloaded', { detail: plugin$1 })
);
Expand Down
4 changes: 2 additions & 2 deletions dist/filepond-plugin-file-validate-type.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "filepond-plugin-file-validate-type",
"version": "1.2.1",
"version": "1.2.2",
"description": "File Type Validation Plugin for FilePond",
"homepage": "https://pqina.nl/filepond",
"repository": "pqina/filepond-plugin-file-validate-type",
Expand All @@ -11,5 +11,8 @@
"author": {
"name": "PQINA",
"url": "https://pqina.nl"
},
"peerDependencies": {
"filepond": ">=1.x <5.x"
}
}

0 comments on commit aaa4bbc

Please sign in to comment.