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

@svgr/core

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@svgr/core - npm Package Compare versions

Comparing version 6.5.0 to 6.5.1

13

dist/index.js

@@ -35,5 +35,8 @@ 'use strict';

return "SvgComponent";
const pascalCaseFileName = camelCase__default["default"](path.parse(filePath).name.replace(VALID_CHAR_REGEX, ""), {
pascalCase: true
});
const pascalCaseFileName = camelCase__default["default"](
path.parse(filePath).name.replace(VALID_CHAR_REGEX, ""),
{
pascalCase: true
}
);
return `Svg${pascalCaseFileName}`;

@@ -169,3 +172,5 @@ };

console.log(error);
throw new Error(`Module "${moduleName}" missing. Maybe \`npm install ${moduleName}\` could help!`);
throw new Error(
`Module "${moduleName}" missing. Maybe \`npm install ${moduleName}\` could help!`
);
}

@@ -172,0 +177,0 @@ };

{
"name": "@svgr/core",
"description": "Transform SVG into React Components.",
"version": "6.5.0",
"version": "6.5.1",
"main": "./dist/index.js",

@@ -41,5 +41,5 @@ "types": "./dist/index.d.ts",

"dependencies": {
"@babel/core": "^7.18.5",
"@svgr/babel-preset": "^6.5.0",
"@svgr/plugin-jsx": "^6.5.0",
"@babel/core": "^7.19.6",
"@svgr/babel-preset": "^6.5.1",
"@svgr/plugin-jsx": "^6.5.1",
"camelcase": "^6.2.0",

@@ -49,5 +49,5 @@ "cosmiconfig": "^7.0.1"

"devDependencies": {
"@types/svgo": "^2.6.3"
"@types/svgo": "^2.6.4"
},
"gitHead": "b385279d27e51d34e4684dda326aa4216a485572"
"gitHead": "d5efedd372999692f84d30072e502b5a6b8fe734"
}

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