New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@lion/ajax

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lion/ajax - npm Package Compare versions

Comparing version 0.2.10 to 0.3.0

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [0.3.0](https://github.com/ing-bank/lion/compare/@lion/ajax@0.2.10...@lion/ajax@0.3.0) (2020-05-18)
### Features
* use singleton manager to support nested npm installations ([e2eb0e0](https://github.com/ing-bank/lion/commit/e2eb0e0077b9efed9382701461753778f63cad48))
## [0.2.10](https://github.com/ing-bank/lion/compare/@lion/ajax@0.2.9...@lion/ajax@0.2.10) (2020-04-29)

@@ -8,0 +19,0 @@

12

package.json
{
"name": "@lion/ajax",
"version": "0.2.10",
"version": "0.3.0",
"description": "Thin wrapper around axios to allow for custom interceptors",

@@ -18,4 +18,4 @@ "author": "ing-bank",

"prepublishOnly": "../../scripts/npm-prepublish.js",
"test": "cd ../../ && yarn test --grep \"packages/ajax/test/**/*.test.js\"",
"test:watch": "cd ../../ && yarn test:watch --grep \"packages/ajax/test/**/*.test.js\""
"test": "cd ../../ && yarn test:browser --grep \"packages/ajax/test/**/*.test.js\"",
"test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/ajax/test/**/*.test.js\""
},

@@ -37,7 +37,9 @@ "keywords": [

],
"sideEffects": false,
"dependencies": {
"@bundled-es-modules/axios": "0.18.1",
"@lion/core": "0.5.2"
"@lion/core": "0.6.0",
"singleton-manager": "1.0.0"
},
"gitHead": "2476211c21e3f785a909c71e8f94ff307fc6a4fc"
"gitHead": "f9ce60c08cf0c608f5f3a9ef9937c536f7782c11"
}

@@ -0,1 +1,2 @@

import { singletonManager } from 'singleton-manager';
import { AjaxClass } from './AjaxClass.js';

@@ -6,3 +7,3 @@

*/
export let ajax = AjaxClass.getInstance(); // eslint-disable-line import/no-mutable-exports
export let ajax = singletonManager.get('@lion/ajax::ajax::0.3.x') || AjaxClass.getInstance(); // eslint-disable-line import/no-mutable-exports

@@ -9,0 +10,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