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

@cloudbase/utilities

Package Overview
Dependencies
Maintainers
10
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudbase/utilities - npm Package Compare versions

Comparing version 0.1.0-beta.3 to 1.0.0-beta

17

dist/adapters/index.js
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.useDefaultAdapter = exports.useAdapters = exports.RUNTIME = void 0;
var Web = __importStar(require("./platforms/web"));

@@ -11,0 +24,0 @@ var util_1 = require("../libs/util");

@@ -63,2 +63,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.WebRequest = exports.genAdapter = void 0;
var adapter_interface_1 = require("@cloudbase/adapter-interface");

@@ -65,0 +66,0 @@ var util_1 = require("../../libs/util");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PROTOCOL = exports.SDK_NAME = void 0;
exports.SDK_NAME = '@cloudbase/js-sdk';
exports.PROTOCOL = 'https:';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ERRORS = void 0;
exports.ERRORS = {

@@ -4,0 +5,0 @@ INVALID_PARAMS: 'INVALID_PARAMS',

17

dist/constants/index.js
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__export(require("./common"));
__export(require("./errors"));
__exportStar(require("./common"), exports);
__exportStar(require("./errors"), exports);
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.utils = exports.events = exports.cache = exports.adapters = exports.constants = void 0;
var constants = __importStar(require("./constants"));

@@ -11,0 +24,0 @@ exports.constants = constants;

@@ -10,3 +10,3 @@ import { ICloudbaseCache, ICacheConfig } from '@cloudbase/types/cache';

constructor(config: ICacheConfig);
get mode(): any;
get mode(): "async" | "sync";
get persistence(): Persistence;

@@ -13,0 +13,0 @@ updatePersistence(persistence: Persistence): void;

@@ -52,2 +52,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.CloudbaseCache = void 0;
var adapter_interface_1 = require("@cloudbase/adapter-interface");

@@ -114,3 +115,3 @@ var util_1 = require("./util");

},
enumerable: true,
enumerable: false,
configurable: true

@@ -122,3 +123,3 @@ });

},
enumerable: true,
enumerable: false,
configurable: true

@@ -125,0 +126,0 @@ });

@@ -23,2 +23,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.removeEventListener = exports.activateEvent = exports.addEventListener = exports.CloudbaseEventEmitter = exports.IErrorEvent = exports.CloudbaseEvent = void 0;
var util_1 = require("./util");

@@ -25,0 +26,0 @@ function _addEventListener(name, listener, listeners) {

@@ -6,2 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.throwError = exports.printInfo = exports.printError = exports.printWarn = exports.execCallback = exports.createPromiseCallback = exports.removeParam = exports.getHash = exports.getQuery = exports.toQueryString = exports.createSign = exports.formatUrl = exports.genSeqId = exports.isFormData = exports.isInstanceOf = exports.isNull = exports.isPalinObject = exports.isUndefined = exports.isString = exports.isArray = void 0;
var hmac_sha256_1 = __importDefault(require("crypto-js/hmac-sha256"));

@@ -8,0 +9,0 @@ var enc_base64_1 = __importDefault(require("crypto-js/enc-base64"));

{
"name": "@cloudbase/utilities",
"version": "0.1.0-beta.3",
"version": "1.0.0-beta",
"description": "cloudbase javascript sdk utilities",

@@ -36,3 +36,3 @@ "main": "dist/index.js",

"@cloudbase/adapter-interface": "^0.4.0",
"@cloudbase/types": "^0.1.0-beta.6",
"@cloudbase/types": "^1.0.0-beta",
"crypto-js": "^4.0.0"

@@ -49,3 +49,4 @@ },

]
}
},
"gitHead": "e6278f4b432790818359f17274bd74816a35cf4e"
}
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