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

@based/client

Package Overview
Dependencies
Maintainers
1
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@based/client - npm Package Compare versions

Comparing version 0.9.2 to 0.9.3

6

dist/file/fetch.js
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const cross_fetch_1 = __importDefault(require("cross-fetch"));
exports.default = (client, url, options) => {
fetch(url + '/file', {
(0, cross_fetch_1.default)(url + '/file', {
method: 'POST',

@@ -6,0 +10,0 @@ cache: 'no-cache',

3

dist/index.js

@@ -359,5 +359,4 @@ "use strict";

let { env, project, org, url, key, name = '@based/hub', cluster, params, } = opts;
cluster = opts.cluster = (0, get_service_1.getClusterUrl)(cluster);
console.info(cluster, opts.cluster);
if (!url) {
cluster = opts.cluster = (0, get_service_1.getClusterUrl)(cluster);
url = async () => {

@@ -364,0 +363,0 @@ const { url } = await (0, get_service_1.default)({

{
"name": "@based/client",
"version": "0.9.2",
"version": "0.9.3",
"main": "dist/index.js",

@@ -16,3 +16,3 @@ "browser": {

"dependencies": {
"@based/get-service": "^0.2.1",
"@based/get-service": "^0.2.2",
"@saulx/diff": "^1.1.3",

@@ -19,0 +19,0 @@ "@saulx/hash": "^1.1.0",

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