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

@dr.pogodin/babel-preset-svgr

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dr.pogodin/babel-preset-svgr - npm Package Compare versions

Comparing version 1.5.1 to 1.6.0

3

LICENSE.md
# MIT License
Copyright &copy; 2019 - 2022 Dr. Sergey Pogodin <doc@pogodin.studio> (https://dr.pogodin.studio)
_Copyright &copy; 2019&ndash;2023, Dr. Sergey Pogodin_
&mdash; <doc@pogodin.studio> (https://dr.pogodin.studio)

@@ -5,0 +6,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

{
"name": "@dr.pogodin/babel-preset-svgr",
"version": "1.5.1",
"version": "1.6.0",
"description": "Babel preset for SVG import into React apps.",

@@ -32,14 +32,14 @@ "main": "index.js",

"devDependencies": {
"@babel/core": "^7.20.2",
"@babel/core": "^7.21.3",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"babel-jest": "^29.2.2",
"eslint": "^8.26.0",
"babel-jest": "^29.5.0",
"eslint": "^8.37.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.1.4",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-react": "^7.31.10",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"jest": "^29.2.2",
"jest": "^29.5.0",
"react": "^18.2.0",

@@ -49,10 +49,10 @@ "react-dom": "^18.2.0"

"dependencies": {
"@svgr/core": "^6.5.1",
"@svgr/plugin-jsx": "^6.5.0",
"@svgr/plugin-prettier": "^6.5.1",
"@svgr/plugin-svgo": "^6.5.1"
"@svgr/core": "^7.0.0",
"@svgr/plugin-jsx": "^7.0.0",
"@svgr/plugin-prettier": "^7.0.0",
"@svgr/plugin-svgo": "^7.0.0"
},
"peerDependencies": {
"@babel/parser": "^7.20.2"
"@babel/parser": "^7.21.3"
}
}

@@ -5,2 +5,3 @@ # Babel Preset SVGR

[![NPM monthly downloads](https://img.shields.io/npm/dm/@dr.pogodin/babel-preset-svgr)](https://www.npmjs.com/package/@dr.pogodin/babel-preset-svgr)
[![CircleCI](https://dl.circleci.com/status-badge/img/gh/birdofpreyru/babel-preset-svgr/tree/master.svg?style=shield)](https://app.circleci.com/pipelines/github/birdofpreyru/babel-preset-svgr)
[![GitHub Repo stars](https://img.shields.io/github/stars/birdofpreyru/babel-preset-svgr?style=social)](https://github.com/birdofpreyru/babel-preset-svgr)

@@ -28,5 +29,8 @@

1. Install the preset `npm install --save-dev @dr.pogodin/babel-preset-svgr`
(depending on your setup, you may need to use `--save` flag to save it as
a regular dependency, rather than the development one).
1. Install the preset
```shell
npm install --save-dev @dr.pogodin/babel-preset-svgr
```
Depending on your setup, you may need to use `--save` flag to save it as
a regular dependency, rather than the development one.

@@ -33,0 +37,0 @@ 2. Add the preset to your Babel config, e.g.

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