New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

syntex-error

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

syntex-error - npm Package Compare versions

Comparing version 1.0.13 to 1.0.14

2

package.json
{
"name": "syntex-error",
"version": "1.0.13",
"version": "1.0.14",
"description": "A comprehensive error handling package tailored for use in both Express backend and React frontend applications. Simplify the process of managing and reporting errors seamlessly across your entire stack, providing a unified approach for a more efficient debugging and user experience.",

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

@@ -54,3 +54,3 @@ import axios from "axios";

export const fetchTrendingMovies = (page)=>{
return apiCall(trendingMoviesEndpoint+`&page=${page}`);
return apiCall(trendingMoviesEndpoint+`&page=${page ? page : 1}`);
}

@@ -57,0 +57,0 @@ export const fetchUpcomingMovies = ()=>{

@@ -13,3 +13,3 @@ import {fetchTrendingMovies,fetchUpcomingMovies,fetchTopRatedMovies,searchYoutubeVideo} from "../Api/index.js"

async TrendingMovies(page = 1){
async TrendingMovies(page){
const trending = await fetchTrendingMovies(page);

@@ -16,0 +16,0 @@ return trending.results;

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