Comparing version 0.0.1 to 0.0.2
@@ -0,3 +1,7 @@ | ||
## 0.0.2 (2020-05-17) | ||
Added docs | ||
## 0.0.1 (2020-05-17) | ||
Initail release | ||
Initial release |
/*! | ||
* mande v0.0.1 | ||
* mande v0.0.2 | ||
* (c) 2020 Eduardo San Martin Morote | ||
@@ -18,2 +18,16 @@ * @license MIT | ||
let newURL = (url, base) => new URL(url, 'http://e.e' + base); | ||
/** | ||
* Create a Mande instance | ||
* | ||
* @example | ||
* ```js | ||
* const users = mande('/api/users/') | ||
* users.get('2').then(user => { | ||
* // do something | ||
* }) | ||
* ``` | ||
* @param baseURL absolute url with a leading slash | ||
* @param globalOptions optional global options that will be applied to every | ||
* other request | ||
*/ | ||
function mande(baseURL, globalOptions = {}) { | ||
@@ -20,0 +34,0 @@ let options = Object.assign({ responseAs: 'json', headers: {} }, globalOptions); |
/*! | ||
* mande v0.0.1 | ||
* mande v0.0.2 | ||
* (c) 2020 Eduardo San Martin Morote | ||
@@ -14,2 +14,16 @@ * @license MIT | ||
let newURL = (url, base) => new URL(url, 'http://e.e' + base); | ||
/** | ||
* Create a Mande instance | ||
* | ||
* @example | ||
* ```js | ||
* const users = mande('/api/users/') | ||
* users.get('2').then(user => { | ||
* // do something | ||
* }) | ||
* ``` | ||
* @param baseURL absolute url with a leading slash | ||
* @param globalOptions optional global options that will be applied to every | ||
* other request | ||
*/ | ||
function mande(baseURL, globalOptions = {}) { | ||
@@ -16,0 +30,0 @@ let options = Object.assign({ responseAs: 'json', headers: {} }, globalOptions); |
/*! | ||
* mande v0.0.1 | ||
* mande v0.0.2 | ||
* (c) 2020 Eduardo San Martin Morote | ||
@@ -4,0 +4,0 @@ * @license MIT |
/*! | ||
* mande v0.0.1 | ||
* mande v0.0.2 | ||
* (c) 2020 Eduardo San Martin Morote | ||
@@ -17,2 +17,16 @@ * @license MIT | ||
let newURL = (url, base) => new URL(url, 'http://e.e' + base); | ||
/** | ||
* Create a Mande instance | ||
* | ||
* @example | ||
* ```js | ||
* const users = mande('/api/users/') | ||
* users.get('2').then(user => { | ||
* // do something | ||
* }) | ||
* ``` | ||
* @param baseURL absolute url with a leading slash | ||
* @param globalOptions optional global options that will be applied to every | ||
* other request | ||
*/ | ||
function mande(baseURL, globalOptions = {}) { | ||
@@ -19,0 +33,0 @@ let options = Object.assign({ responseAs: 'json', headers: {} }, globalOptions); |
/*! | ||
* mande v0.0.1 | ||
* mande v0.0.2 | ||
* (c) 2020 Eduardo San Martin Morote | ||
@@ -4,0 +4,0 @@ * @license MIT |
{ | ||
"name": "mande", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Some awesome description", | ||
@@ -27,2 +27,3 @@ "main": "dist/mande.common.js", | ||
"build:dts": "api-extractor run --local --verbose", | ||
"docs": "api-documenter markdown -i temp -o docs", | ||
"prepublishOnly": "yarn run build" | ||
@@ -29,0 +30,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
14047
225
5