Skip to content

Commit

Permalink
Merge pull request #17 from iambumblehead/use-export-default-for-mjs-…
Browse files Browse the repository at this point in the history
…file

increment version number, use es module syntax, increment dependencies
  • Loading branch information
iambumblehead authored Jun 12, 2021
2 parents 8e4e0ab + d62d0ef commit 6a6a78f
Show file tree
Hide file tree
Showing 4 changed files with 176 additions and 141 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"browser": true
},
"parserOptions": {
"sourceType": "script",
"ecmaVersion": 2015
"ecmaVersion": 2015,
"sourceType": "module"
},
"globals": {
"jasmine": false,
Expand Down
2 changes: 1 addition & 1 deletion form-urldecoded.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = data => {
export default data => {
const keyValRe = /^([^"=]*)=([\s\S]*)/,
keyRemRe = /([^[]*)\[([^"\]]*)?\]([\s\S]*)?/,
headQueryRe = /[^=]*\?([\s\S]*)/,
Expand Down
Loading

0 comments on commit 6a6a78f

Please sign in to comment.