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

@ejnshtein/nyaasi

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ejnshtein/nyaasi - npm Package Compare versions

Comparing version 2.1.3 to 2.2.0

2

dist/Agent.d.ts
import { RequestOptions, RequestResult } from '@ejnshtein/smol-request';
import { AgentOptions, Cookie, NyaaApiRequestResult, NyaaRequestOptions } from './types';
import { AgentOptions, Cookie, NyaaApiRequestResult, NyaaRequestOptions } from '../types';
export declare class Agent {

@@ -4,0 +4,0 @@ host: string;

@@ -1,4 +0,5 @@

export { Agent } from './Agent';
export { Nyaa } from './Nyaa';
export { NyaaRss } from './NyaaRss';
export * from './Agent';
export * from './Nyaa';
export * from './NyaaRss';
export * as Scraper from './Scraper';
export * from '../types/index';

@@ -14,2 +14,5 @@ "use strict";

});
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
var __importStar = (this && this.__importStar) || function (mod) {

@@ -23,9 +26,7 @@ if (mod && mod.__esModule) return mod;

Object.defineProperty(exports, "__esModule", { value: true });
exports.Scraper = exports.NyaaRss = exports.Nyaa = exports.Agent = void 0;
var Agent_1 = require("./Agent");
Object.defineProperty(exports, "Agent", { enumerable: true, get: function () { return Agent_1.Agent; } });
var Nyaa_1 = require("./Nyaa");
Object.defineProperty(exports, "Nyaa", { enumerable: true, get: function () { return Nyaa_1.Nyaa; } });
var NyaaRss_1 = require("./NyaaRss");
Object.defineProperty(exports, "NyaaRss", { enumerable: true, get: function () { return NyaaRss_1.NyaaRss; } });
exports.Scraper = void 0;
__exportStar(require("./Agent"), exports);
__exportStar(require("./Nyaa"), exports);
__exportStar(require("./NyaaRss"), exports);
exports.Scraper = __importStar(require("./Scraper"));
__exportStar(require("../types/index"), exports);

@@ -1,4 +0,4 @@

import { AgentOptions, GetTorrentOptions, NyaaApiRequestResult, NyaaRequestOptions, SearchOptions } from './types';
import { AgentOptions, GetTorrentOptions, NyaaApiRequestResult, NyaaRequestOptions, SearchOptions } from '../types';
import { Agent } from './Agent';
import { Profile, SearchResult, ViewTorrent } from './types/nyaa';
import { Profile, SearchResult, ViewTorrent } from '../types/nyaa';
export declare class Nyaa {

@@ -5,0 +5,0 @@ options: AgentOptions;

@@ -1,2 +0,2 @@

import { Comment, Profile, SearchResult, ViewTorrent } from './types/nyaa';
import { Comment, Entry, Profile, SearchResult, ViewTorrent } from '../types/nyaa';
export declare const getCSRFToken: (html: string) => string;

@@ -7,1 +7,2 @@ export declare const parseProfile: (html: string) => Profile;

export declare const parseTorrent: (id: number, html: string, host?: string) => ViewTorrent;
export declare function getEntry(entry: string): Entry;

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.parseTorrent = exports.parseSearch = exports.parseComments = exports.parseProfile = exports.getCSRFToken = void 0;
exports.getEntry = exports.parseTorrent = exports.parseSearch = exports.parseComments = exports.parseProfile = exports.getCSRFToken = void 0;
const cheerio_1 = __importDefault(require("cheerio"));

@@ -158,1 +158,2 @@ const bytes_iec_1 = __importDefault(require("bytes-iec"));

}
exports.getEntry = getEntry;
{
"name": "@ejnshtein/nyaasi",
"version": "2.1.3",
"version": "2.2.0",
"description": "Nyaa.si api wrapper for Node written in Typescript",

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

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