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

arq-js

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arq-js - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

3

dist/index.d.ts

@@ -84,3 +84,3 @@ import * as t from './types';

*/
tmdb(query: string): Promise<t.TmdbResult>;
tmdb(query: string, tmdbID?: number): Promise<t.TmdbResult>;
/**

@@ -97,4 +97,5 @@ * Generate Telegram quote stickers.

translate(text: string, destLangCode?: string): Promise<t.TranslateResult>;
pypi(query: string): Promise<t.PyPiResult>;
}
export declare const ARQ: typeof _ARQ;
export {};

@@ -334,7 +334,8 @@ "use strict";

*/
_ARQ.prototype.tmdb = function (query) {
_ARQ.prototype.tmdb = function (query, tmdbID) {
if (tmdbID === void 0) { tmdbID = 0; }
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, this.fetch('tmdb', { query: query })];
case 0: return [4 /*yield*/, this.fetch('tmdb', { query: query, tmdbID: tmdbID })];
case 1: return [2 /*return*/, _a.sent()];

@@ -382,4 +383,14 @@ }

};
_ARQ.prototype.pypi = function (query) {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, this.fetch('pypi', { query: query })];
case 1: return [2 /*return*/, _a.sent()];
}
});
});
};
return _ARQ;
}());
exports.ARQ = _ARQ;

@@ -162,1 +162,22 @@ export declare type LunaResult = string;

}
export interface PyPiResult {
name: string;
version: string;
license: string;
description: string | null;
size: string;
uploadTime: string;
author: string;
authorEmail: string;
keywords: string;
requirements: string[];
minPyVersion: string;
homepage: string | null;
bugTrackURL: string | null;
docsURL: string | null;
pypiURL: string;
releaseURL: string;
projectURLS: {
[key: string]: string;
};
}
{
"name": "arq-js",
"version": "2.1.0",
"description": "",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"prepare": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/rojserbest/arq-js.git"
},
"author": "Roj Serbest <rojserbest@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/rojserbest/arq-js/issues"
},
"homepage": "https://github.com/rojserbest/arq-js",
"dependencies": {
"node-fetch": "^2.6.1"
},
"devDependencies": {
"@types/node-fetch": "^2.5.10",
"typescript": "^4.2.4"
}
"name": "arq-js",
"version": "2.1.1",
"description": "",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"prepare": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/rojserbest/arq-js.git"
},
"author": "Roj Serbest <rojserbest@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/rojserbest/arq-js/issues"
},
"homepage": "https://github.com/rojserbest/arq-js",
"dependencies": {
"node-fetch": "^2.6.1"
},
"devDependencies": {
"@types/node-fetch": "^2.5.10",
"typescript": "^4.2.4"
}
}

@@ -184,4 +184,4 @@ import { encode } from 'querystring';

*/
async tmdb(query: string): Promise<t.TmdbResult> {
return await this.fetch('tmdb', { query });
async tmdb(query: string, tmdbID: number = 0): Promise<t.TmdbResult> {
return await this.fetch('tmdb', { query, tmdbID });
}

@@ -213,4 +213,8 @@

}
async pypi(query: string): Promise<t.PyPiResult> {
return await this.fetch('pypi', { query });
}
}
export const ARQ = _ARQ;

@@ -182,1 +182,21 @@ export type LunaResult = string;

}
export interface PyPiResult {
name: string;
version: string;
license: string;
description: string | null;
size: string;
uploadTime: string;
author: string;
authorEmail: string;
keywords: string;
requirements: string[];
minPyVersion: string;
homepage: string | null;
bugTrackURL: string | null;
docsURL: string | null;
pypiURL: string;
releaseURL: string;
projectURLS: { [key: string]: string };
}
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