Socket
Socket
Sign inDemoInstall

mande

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mande - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

6

CHANGELOG.md

@@ -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);

2

dist/mande.esm.min.js
/*!
* 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 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc