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

react-inlinesvg

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-inlinesvg - npm Package Compare versions

Comparing version 4.1.4 to 4.1.5

6

dist/index.js

@@ -130,7 +130,7 @@ "use client";

this.cacheApi = cache;
}).catch((error) => {
console.error(`Failed to open cache: ${error.message}`);
}).finally(() => {
this.isReady = true;
this.subscribers.forEach((callback) => callback());
}).catch((error) => {
this.isReady = true;
console.error(`Failed to open cache: ${error.message}`);
});

@@ -137,0 +137,0 @@ } else {

{
"name": "react-inlinesvg",
"version": "4.1.4",
"version": "4.1.5",
"description": "An SVG loader for React",

@@ -51,3 +51,3 @@ "author": "Gil Barbara <gilbarbara@gmail.com>",

"peerDependencies": {
"react": "16.8 - 18"
"react": "16.8 - 19"
},

@@ -58,14 +58,14 @@ "dependencies": {

"devDependencies": {
"@arethetypeswrong/cli": "^0.16.4",
"@gilbarbara/eslint-config": "^0.8.1",
"@arethetypeswrong/cli": "^0.17.0",
"@gilbarbara/eslint-config": "^0.8.2",
"@gilbarbara/prettier-config": "^1.0.0",
"@gilbarbara/tsconfig": "^0.2.3",
"@size-limit/preset-small-lib": "^11.1.6",
"@testing-library/jest-dom": "^6.6.2",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@types/node": "^20.11.21",
"@types/react": "^18.3.11",
"@types/node": "^22.9.0",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@vitejs/plugin-react": "^4.3.3",
"@vitest/coverage-v8": "^2.1.3",
"@vitest/coverage-v8": "^2.1.5",
"browser-cache-mock": "^0.1.7",

@@ -84,6 +84,6 @@ "del-cli": "^6.0.0",

"ts-node": "^10.9.2",
"tsup": "^8.3.0",
"tsup": "^8.3.5",
"typescript": "^5.6.3",
"vitest": "^2.1.3",
"vitest-fetch-mock": "^0.3.0"
"vitest": "^2.1.5",
"vitest-fetch-mock": "^0.4.2"
},

@@ -90,0 +90,0 @@ "scripts": {

@@ -28,11 +28,10 @@ import { canUseDOM, request, sleep } from './helpers';

this.cacheApi = cache;
this.isReady = true;
this.subscribers.forEach(callback => callback());
})
.catch(error => {
this.isReady = true;
// eslint-disable-next-line no-console
console.error(`Failed to open cache: ${error.message}`);
})
.finally(() => {
this.isReady = true;
this.subscribers.forEach(callback => callback());
});

@@ -39,0 +38,0 @@ } else {

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