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

@kaguya-anime/parsers

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kaguya-anime/parsers - npm Package Compare versions

Comparing version 1.13.3 to 1.13.4

2

build/parsers/anime/gogo.js

@@ -122,3 +122,3 @@ Object.defineProperty(exports, "__esModule", { value: true });

const allSources = [...sources, ...sources_bk].map((source) => {
return Object.assign(Object.assign({}, source), { useProxy: true, proxy: {
return Object.assign(Object.assign({}, source), { useEdgeProxy: true, proxy: {
appendReqHeaders: {

@@ -125,0 +125,0 @@ referer: Referer,

@@ -109,3 +109,3 @@ Object.defineProperty(exports, "__esModule", { value: true });

image: `${data.baseUrl}/data/${data.chapter.hash}/${hash}`,
useProxy: true,
useEdgeProxy: true,
proxy: {

@@ -112,0 +112,0 @@ appendReqHeaders: {

@@ -5,3 +5,3 @@ Object.defineProperty(exports, "__esModule", { value: true });

const MangaScraper_1 = tslib_1.__importDefault(require("../../core/MangaScraper"));
const BASE_URL = 'https://www.nettruyenup.com';
const BASE_URL = 'https://www.nettruyenvt.com';
class NettruyenScraper extends MangaScraper_1.default {

@@ -125,3 +125,3 @@ constructor() {

image,
useProxy: true,
useEdgeProxy: true,
proxy: {

@@ -128,0 +128,0 @@ appendReqHeaders: {

@@ -6,7 +6,14 @@ Object.defineProperty(exports, "__esModule", { value: true });

let mappings = [];
let mappingsLastUpdated = null;
const getMappings = () => tslib_1.__awaiter(this, void 0, void 0, function* () {
if (mappings === null || mappings === void 0 ? void 0 : mappings.length)
return mappings;
const today = new Date();
const oneDay = 24 * 60 * 60 * 1000;
if (today.getTime() - ((mappingsLastUpdated === null || mappingsLastUpdated === void 0 ? void 0 : mappingsLastUpdated.getTime()) || new Date()) >=
oneDay) {
if (mappings === null || mappings === void 0 ? void 0 : mappings.length)
return mappings;
}
const { data } = yield axios_1.default.get('https://raw.githubusercontent.com/Fribb/anime-lists/master/anime-list-full.json');
mappings = data;
mappingsLastUpdated = new Date();
return mappings;

@@ -13,0 +20,0 @@ });

{
"name": "@kaguya-anime/parsers",
"version": "1.13.3",
"version": "1.13.4",
"main": "build/index.js",

@@ -43,3 +43,3 @@ "license": "MIT",

},
"gitHead": "6d1d43a95a0b24dfd4834c1c75ffc0978d936f91"
"gitHead": "687800258351870f24a2d1817f202d60b8ae057d"
}

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