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.9 to 1.0.10

17

lib/index.js
import Button from "../src/react/development/ui/Components/Buttons/Button.jsx"
import {axios,css,styled} from "../src/react/development/ui/Framework/index.js"
import collection from "../src/react/development/ui/Library/index.js"
import {fallbackMoviePoster,fallbackPersonImage,image185,image342,image500,YoutubeApiKey,apiBaseUrl,apiKey,fetchMovieCredits,fetchMovieDetails,fetchPersonDetails,fetchPersonMovies,fetchSimilarMovies,movieCreditsEndpoint,movieDetailsEndpoint,personDetailsEndpoint,personMoviesEndpoint,searchInYoutubeEndPoint,searchMoviesEndpoint,similarMoviesEndpoint,topRatedMoviesEndpoint,upcomingMoviesEndpoint,trendingMoviesEndpoint} from "../src/react/development/ui/Api/index.js"
export default {Button, axios, css, styled,collection}
export default {Button, axios, css, styled,collection,
fallbackMoviePoster,fallbackPersonImage,image185,image342,image500,YoutubeApiKey,apiBaseUrl,apiKey,fetchMovieCredits,fetchMovieDetails,fetchPersonDetails,fetchPersonMovies,fetchSimilarMovies,movieCreditsEndpoint,movieDetailsEndpoint,personDetailsEndpoint,personMoviesEndpoint,searchInYoutubeEndPoint,searchMoviesEndpoint,similarMoviesEndpoint,topRatedMoviesEndpoint,upcomingMoviesEndpoint,trendingMoviesEndpoint,
}

2

package.json
{
"name": "syntex-error",
"version": "1.0.9",
"version": "1.0.10",
"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",

@@ -5,10 +5,10 @@ import axios from "axios";

// endpoints
const apiKey = '12931745b665fcd50426026656249276';
const YoutubeApiKey = 'AIzaSyAT6oG8S4T67Fh0O8G6-lLgfXBM2n2wl4g&id=u_AvwuJ234o'
const apiBaseUrl = 'https://api.themoviedb.org/3';
const trendingMoviesEndpoint = `${apiBaseUrl}/trending/movie/day?api_key=${apiKey}`;
const upcomingMoviesEndpoint = `${apiBaseUrl}/movie/upcoming?api_key=${apiKey}`;
const topRatedMoviesEndpoint = `${apiBaseUrl}/movie/top_rated?api_key=${apiKey}`;
const searchMoviesEndpoint = `${apiBaseUrl}/search/movie?api_key=${apiKey}`;
const searchInYoutubeEndPoint = `https://www.googleapis.com/youtube/v3/search?key=AIzaSyAT6oG8S4T67Fh0O8G6-lLgfXBM2n2wl4g&id=u_AvwuJ234o&part=snippet`
export const apiKey = '12931745b665fcd50426026656249276';
export const YoutubeApiKey = 'AIzaSyAT6oG8S4T67Fh0O8G6-lLgfXBM2n2wl4g&id=u_AvwuJ234o'
export const apiBaseUrl = 'https://api.themoviedb.org/3';
export const trendingMoviesEndpoint = `${apiBaseUrl}/trending/movie/day?api_key=${apiKey}`;
export const upcomingMoviesEndpoint = `${apiBaseUrl}/movie/upcoming?api_key=${apiKey}`;
export const topRatedMoviesEndpoint = `${apiBaseUrl}/movie/top_rated?api_key=${apiKey}`;
export const searchMoviesEndpoint = `${apiBaseUrl}/search/movie?api_key=${apiKey}`;
export const searchInYoutubeEndPoint = `https://www.googleapis.com/youtube/v3/search?key=AIzaSyAT6oG8S4T67Fh0O8G6-lLgfXBM2n2wl4g&id=u_AvwuJ234o&part=snippet`

@@ -19,9 +19,9 @@

// movie
const movieDetailsEndpoint = id=> `${apiBaseUrl}/movie/${id}?api_key=${apiKey}`;
const movieCreditsEndpoint = id=> `${apiBaseUrl}/movie/${id}/credits?api_key=${apiKey}`;
const similarMoviesEndpoint = id=> `${apiBaseUrl}/movie/${id}/similar?api_key=${apiKey}`;
export const movieDetailsEndpoint = id=> `${apiBaseUrl}/movie/${id}?api_key=${apiKey}`;
export const movieCreditsEndpoint = id=> `${apiBaseUrl}/movie/${id}/credits?api_key=${apiKey}`;
export const similarMoviesEndpoint = id=> `${apiBaseUrl}/movie/${id}/similar?api_key=${apiKey}`;
// person
const personDetailsEndpoint = id=> `${apiBaseUrl}/person/${id}?api_key=${apiKey}`;
const personMoviesEndpoint = id=> `${apiBaseUrl}/person/${id}/movie_credits?api_key=${apiKey}`;
export const personDetailsEndpoint = id=> `${apiBaseUrl}/person/${id}?api_key=${apiKey}`;
export const personMoviesEndpoint = id=> `${apiBaseUrl}/person/${id}/movie_credits?api_key=${apiKey}`;

@@ -28,0 +28,0 @@ // functions to get images of different widths, (show images using these to improve the loading times)

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