Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@goldfishjs/requester

Package Overview
Dependencies
Maintainers
2
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@goldfishjs/requester - npm Package Compare versions

Comparing version 1.1.17 to 1.1.18

lib/loadingCounter.js

5

lib/index.js
export { default as Requester } from './Requester';
export * from './Requester';
export { default as MockRequester } from './MockRequester';
export * from './MockRequester';
export * from './MockRequester';
export { default as cache } from '@goldfishjs/utils';
export { default as loadingCounter } from './loadingCounter';
export { default as requestingCounter } from './requestingCounter';

13

lib/MockRequester.js
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
import _createClass from "@babel/runtime/helpers/createClass";
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
import _get from "@babel/runtime/helpers/get";
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
import _inherits from "@babel/runtime/helpers/inherits";
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
import Requester from './Requester';

@@ -17,4 +12,2 @@

var _super = _createSuper(MockRequester);
function MockRequester(options, config) {

@@ -25,3 +18,3 @@ var _this;

_this = _super.call(this, options);
_this = _possibleConstructorReturn(this, _getPrototypeOf(MockRequester).call(this, options));
_this.datahubConfig = config;

@@ -28,0 +21,0 @@ return _this;

{
"name": "@goldfishjs/requester",
"version": "1.1.17",
"version": "1.1.18",
"description": "goldfish-requester",

@@ -8,3 +8,5 @@ "main": "lib/index.js",

"build": "npm run clean && gulp ts",
"clean": "rm -rf lib && rm -rf types"
"clean": "rm -rf lib && rm -rf types",
"test": "jest --coverage",
"dev": "jest --watch"
},

@@ -29,21 +31,22 @@ "repository": {

"dependencies": {
"@goldfishjs/reactive-connect": "^1.1.17",
"@goldfishjs/utils": "^1.1.17",
"@goldfishjs/reactive": "^1.1.18",
"@goldfishjs/reactive-connect": "^1.1.18",
"@goldfishjs/utils": "^1.1.18",
"mini-types": "^0.1.0"
},
"devDependencies": {
"@babel/core": "^7.7.0",
"@babel/plugin-transform-classes": "^7.7.0",
"@babel/plugin-transform-runtime": "^7.6.2",
"@babel/preset-env": "^7.7.1",
"@types/jest": "^24.0.23",
"babel-plugin-import": "^1.12.2",
"gulp": "^4.0.2",
"gulp-babel": "^8.0.0",
"gulp-typescript": "^5.0.1",
"jest": "^24.9.0",
"merge2": "^1.3.0",
"ts-jest": "^23.10.2"
"@babel/core": "7.7.0",
"@babel/plugin-transform-classes": "7.7.0",
"@babel/plugin-transform-runtime": "7.6.2",
"@babel/preset-env": "7.7.1",
"@types/jest": "24.0.23",
"babel-plugin-import": "1.12.2",
"gulp": "4.0.2",
"gulp-babel": "8.0.0",
"gulp-typescript": "5.0.1",
"jest": "24.9.0",
"merge2": "1.3.0",
"ts-jest": "23.10.2"
},
"types": "./types/index.d.ts"
}

@@ -5,1 +5,4 @@ export { default as Requester } from './Requester';

export * from './MockRequester';
export { default as cache } from '@goldfishjs/utils';
export { default as loadingCounter } from './loadingCounter';
export { default as requestingCounter } from './requestingCounter';
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