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

node-csfd-api

Package Overview
Dependencies
Maintainers
1
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-csfd-api - npm Package Compare versions

Comparing version 2.1.1-next.0 to 2.2.0-next.0

8

helpers/movie.helper.js

@@ -129,7 +129,5 @@ "use strict";

const getDescriptions = (el) => {
var _a;
// TODO more plots
const plot = (_a = el
.querySelector('.body--plots .plot-full p')) === null || _a === void 0 ? void 0 : _a.textContent.trim().replace(/(\r\n|\n|\r|\t)/gm, '');
return plot ? [plot] : [];
return el
.querySelectorAll('.body--plots .plot-full p, .body--plots .plots .plots-item p')
.map((movie) => { var _a; return (_a = movie.textContent) === null || _a === void 0 ? void 0 : _a.trim().replace(/(\r\n|\n|\r|\t)/gm, ''); });
};

@@ -136,0 +134,0 @@ exports.getDescriptions = getDescriptions;

{
"name": "node-csfd-api",
"version": "2.1.1-next.0",
"version": "2.2.0-next.0",
"description": "ČSFD API in JavaScript. Amazing NPM library for scrapping csfd.cz :)",

@@ -5,0 +5,0 @@ "main": "./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