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

@deboxsoft/module-core

Package Overview
Dependencies
Maintainers
1
Versions
280
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@deboxsoft/module-core - npm Package Compare versions

Comparing version 1.5.6 to 1.5.7

10

index.cjs.js

@@ -5,4 +5,4 @@ 'use strict';

var Container = require('typedi');
var graphqlRequest = require('graphql-request');
var Container = require('typedi');

@@ -36,2 +36,10 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }

Object.keys(Container).forEach(function (k) {
if (k !== 'default') Object.defineProperty(exports, k, {
enumerable: true,
get: function () {
return Container[k];
}
});
});
exports.DeboxError = DeboxError;

@@ -38,0 +46,0 @@ exports.Logger = Logger;

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

export * from 'typedi';
import { GraphQLClient, gql as gql$1, rawRequest, request } from 'graphql-request';

@@ -2,0 +3,0 @@ import { RequestInit } from 'graphql-request/dist/types.dom';

7

index.js

@@ -0,3 +1,4 @@

import Container__default from 'typedi';
export * from 'typedi';
import { GraphQLClient, gql as gql$1, rawRequest, request } from 'graphql-request';
import Container from 'typedi';

@@ -17,7 +18,7 @@ class Logger {

if (persisted) {
Container.set(GraphQLClient, request2);
Container__default.set(GraphQLClient, request2);
}
return request2;
};
const getFetchGraphql = () => Container.get(GraphQLClient);
const getFetchGraphql = () => Container__default.get(GraphQLClient);
const fetchGraphql = (query, variables) => getFetchGraphql().request(query, variables);

@@ -24,0 +25,0 @@ const gql = gql$1;

{
"name": "@deboxsoft/module-core",
"version": "1.5.6",
"version": "1.5.7",
"license": "SEE LICENSE IN LICENSE",

@@ -33,7 +33,4 @@ "maintainers": [

"graphql-request": "3.3.0",
"nanoid": "^3.1.12"
"typedi": "^0.8.0"
},
"devDependencies": {
"@types/nanoid": "^2.1.0"
},
"publishConfig": {

@@ -50,3 +47,3 @@ "access": "public"

},
"gitHead": "3236c9d25957887c5866c9ff12ebf9328af3caec"
"gitHead": "18a65487ac12a27273118a57159bee9b54dbecbf"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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