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

@spinque/query-api

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spinque/query-api - npm Package Compare versions

Comparing version 0.15.2 to 0.15.3

17

dist/authentication/Authenticator.js

@@ -118,3 +118,3 @@ "use strict";

return __awaiter(this, void 0, void 0, function () {
var fs, json;
var fs, json, e_1;
return __generator(this, function (_a) {

@@ -128,10 +128,17 @@ switch (_a.label) {

}
if (!(!browser_or_node_1.isBrowser && this._tokenCachePath)) return [3 /*break*/, 2];
if (!(!browser_or_node_1.isBrowser && this._tokenCachePath)) return [3 /*break*/, 4];
_a.label = 1;
case 1:
_a.trys.push([1, 3, , 4]);
return [4 /*yield*/, Promise.resolve().then(function () { return require('fs'); })];
case 1:
case 2:
fs = _a.sent();
json = JSON.stringify({ accessToken: accessToken, expires: expires });
fs.writeFileSync(this._tokenCachePath, json);
_a.label = 2;
case 2: return [2 /*return*/];
return [3 /*break*/, 4];
case 3:
e_1 = _a.sent();
console.log(e_1);
return [3 /*break*/, 4];
case 4: return [2 /*return*/];
}

@@ -138,0 +145,0 @@ });

{
"name": "@spinque/query-api",
"version": "0.15.2",
"version": "0.15.3",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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