Socket
Socket
Sign inDemoInstall

@svgr/core

Package Overview
Dependencies
220
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.1.0

CHANGELOG.md

2

lib/plugins/h2x.js

@@ -10,3 +10,3 @@ "use strict";

var _ = require("../");
var _ = require("..");

@@ -13,0 +13,0 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -15,3 +15,5 @@ "use strict";

const filePath = state.filePath || process.cwd();
const prettierRcConfig = await _prettier.default.resolveConfig(filePath);
const prettierRcConfig = await _prettier.default.resolveConfig(filePath, {
editorconfig: true
});
return _prettier.default.format(code, (0, _merge.default)({

@@ -18,0 +20,0 @@ parser: 'babylon'

{
"name": "@svgr/core",
"description": "Transform SVG into React Components.",
"version": "2.0.0",
"version": "2.1.0",
"main": "lib/index.js",

@@ -25,15 +25,9 @@ "repository": "git@github.com:smooth-code/svgr.git",

"dependencies": {
"commander": "^2.15.1",
"cosmiconfig": "^5.0.5",
"glob": "^7.1.2",
"h2x-core": "^1.0.0",
"h2x-plugin-jsx": "^1.0.0",
"loader-utils": "^1.1.0",
"lodash": "^4.17.10",
"mz": "^2.6.0",
"output-file-sync": "^2.0.1",
"prettier": "^1.13.5",
"recursive-readdir": "^2.2.2",
"prettier": "^1.13.7",
"svgo": "^1.0.5"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc