Socket
Socket
Sign inDemoInstall

aspida

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aspida - npm Package Compare versions

Comparing version 0.15.2 to 0.15.3

1

dist/cli/build.js

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.Watch = exports.Build = exports.CommandToBuild = void 0;
var buildTemplate_1 = __importDefault(require("../buildTemplate"));

@@ -8,0 +9,0 @@ var CommandToBuild = /** @class */ (function () {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.nullCommand = void 0;
exports.nullCommand = {

@@ -4,0 +5,0 @@ exec: function () {

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.run = exports.options = void 0;
var minimist_1 = __importDefault(require("minimist"));

@@ -8,0 +9,0 @@ var getConfig_1 = __importDefault(require("../getConfig"));

3

dist/cli/version.js

@@ -6,8 +6,9 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
var path_1 = __importDefault(require("path"));
exports.version = {
exec: function () {
console.log("v" + require(path_1.default.join(process.cwd(), 'package.json')).version);
console.log("v" + require(path_1.default.join(__dirname, '../../package.json')).version);
}
};
//# sourceMappingURL=version.js.map

@@ -86,9 +86,11 @@ "use strict";

var rootIndent = ' ';
return {
api: createApiString(input, '.', rootIndent, '', "{\n<% props %>\n }", fs_1.default.existsSync(rootIndexPath)
? getMethodsString('./index', rootIndexPath, rootIndent, '')
: undefined),
imports: imports
};
var emptyMethodsRegExp = /.+{\n\n? +},?\n/;
var api = createApiString(input, '.', rootIndent, '', "{\n<% props %>\n }", fs_1.default.existsSync(rootIndexPath)
? getMethodsString('./index', rootIndexPath, rootIndent, '')
: undefined);
while (emptyMethodsRegExp.test(api)) {
api = api.replace(emptyMethodsRegExp, '');
}
return { api: api, imports: imports };
});
//# sourceMappingURL=createTemplateValues.js.map

@@ -37,3 +37,3 @@ export declare type HttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'HEAD' | 'PATCH' | 'OPTIONS';

export declare const dataToURLString: (data: Record<string, any>) => string;
export declare const optionToRequest: (option?: AspidaParams<any> | undefined, type?: "string" | "ArrayBuffer" | "any" | "FormData" | "URLSearchParams" | "Blob" | undefined) => AspidaRequest<any> | undefined;
export declare const optionToRequest: (option?: AspidaParams<any> | undefined, type?: "string" | "ArrayBuffer" | "any" | "FormData" | "URLSearchParams" | "Blob" | undefined) => AspidaRequest | undefined;
export declare type AspidaMethodParams = {

@@ -40,0 +40,0 @@ query?: any;

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.optionToRequest = exports.dataToURLString = exports.headersToObject = void 0;
exports.headersToObject = function (headers) {

@@ -36,0 +37,0 @@ return __spread(headers.entries()).reduce(function (prev, _a) {

{
"name": "aspida",
"version": "0.15.2",
"version": "0.15.3",
"description": "TypeScript friendly HTTP client wrapper for the browser and node.js",

@@ -5,0 +5,0 @@ "author": "m-mitsuhide <m.mitsuhide@amatelus.com>",

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

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

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

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

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

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

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