This repository has been archived by the owner on Mar 30, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Update packages, fix lint errors, rename signature
BREAKING CHANGE: * rename exported "set" to "setup" * rename "queryStringifyFn" to "stringifyQueryParams" ```js // old import { stringify } from "qs" import { set } from "@asd14/fetch-browser" set({ queryStringifyFn: source => qs.stringify(source), }) // new import { stringify } from "qs" import { setup } from "@asd14/fetch-browser" setup({ stringifyQueryParams: source => qs.stringify(source), }) ```
- Loading branch information
Showing
10 changed files
with
33,145 additions
and
4,476 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,16 @@ | ||
{ | ||
"presets": [ | ||
// Use the latest JavaScript without needing to micromanage which syntax | ||
// transforms (and optionally, browser polyfills) are needed by your | ||
// target environment. | ||
// | ||
// Uses .browserslistrc to determine what plugins to use. | ||
// | ||
// https://babeljs.io/docs/en/babel-preset-env | ||
"@babel/preset-env", | ||
["@babel/preset-env", { | ||
"useBuiltIns": "entry", | ||
"corejs": 3, | ||
}] | ||
], | ||
|
||
"plugins": [ | ||
// Enables the re-use of Babel's injected helper code to save on codesize | ||
"@babel/plugin-transform-runtime", | ||
], | ||
// Babel uses very small helpers for common functions such as _extend. By | ||
// default this will be added to every file that requires it. This | ||
// duplication is sometimes unnecessary, especially when your application | ||
// is spread out over multiple files. | ||
["@babel/plugin-transform-runtime", { corejs: 3 }] | ||
] | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.