@dr.pogodin/babel-preset-svgr
Advanced tools
Comparing version 1.5.1 to 1.6.0
# MIT License | ||
Copyright © 2019 - 2022 Dr. Sergey Pogodin <doc@pogodin.studio> (https://dr.pogodin.studio) | ||
_Copyright © 2019–2023, Dr. Sergey Pogodin_ | ||
— <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. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13222
180
+ Added@svgr/babel-plugin-add-jsx-attribute@7.0.0(transitive)
+ Added@svgr/babel-plugin-remove-jsx-attribute@7.0.0(transitive)
+ Added@svgr/babel-plugin-remove-jsx-empty-expression@7.0.0(transitive)
+ Added@svgr/babel-plugin-replace-jsx-attribute-value@7.0.0(transitive)
+ Added@svgr/babel-plugin-svg-dynamic-title@7.0.0(transitive)
+ Added@svgr/babel-plugin-svg-em-dimensions@7.0.0(transitive)
+ Added@svgr/babel-plugin-transform-react-native-svg@7.0.0(transitive)
+ Added@svgr/babel-plugin-transform-svg-component@7.0.0(transitive)
+ Added@svgr/babel-preset@7.0.0(transitive)
+ Added@svgr/core@7.0.0(transitive)
+ Added@svgr/hast-util-to-babel-ast@7.0.0(transitive)
+ Added@svgr/plugin-jsx@7.0.0(transitive)
+ Added@svgr/plugin-prettier@7.0.0(transitive)
+ Added@svgr/plugin-svgo@7.0.0(transitive)
+ Addedargparse@2.0.1(transitive)
+ Addedcosmiconfig@8.3.6(transitive)
+ Addedcss-select@5.1.0(transitive)
+ Addedcss-tree@2.2.12.3.1(transitive)
+ Addedcsso@5.0.5(transitive)
+ Addeddom-serializer@2.0.0(transitive)
+ Addeddomhandler@5.0.3(transitive)
+ Addeddomutils@3.2.1(transitive)
+ Addedjs-yaml@4.1.0(transitive)
+ Addedmdn-data@2.0.282.0.30(transitive)
+ Addedsource-map-js@1.2.1(transitive)
+ Addedsvgo@3.3.2(transitive)
- Removed@svgr/babel-plugin-add-jsx-attribute@6.5.1(transitive)
- Removed@svgr/babel-plugin-remove-jsx-attribute@8.0.0(transitive)
- Removed@svgr/babel-plugin-remove-jsx-empty-expression@8.0.0(transitive)
- Removed@svgr/babel-plugin-replace-jsx-attribute-value@6.5.1(transitive)
- Removed@svgr/babel-plugin-svg-dynamic-title@6.5.1(transitive)
- Removed@svgr/babel-plugin-svg-em-dimensions@6.5.1(transitive)
- Removed@svgr/babel-plugin-transform-react-native-svg@6.5.1(transitive)
- Removed@svgr/babel-plugin-transform-svg-component@6.5.1(transitive)
- Removed@svgr/babel-preset@6.5.1(transitive)
- Removed@svgr/core@6.5.1(transitive)
- Removed@svgr/hast-util-to-babel-ast@6.5.1(transitive)
- Removed@svgr/plugin-jsx@6.5.1(transitive)
- Removed@svgr/plugin-prettier@6.5.1(transitive)
- Removed@svgr/plugin-svgo@6.5.1(transitive)
- Removed@types/parse-json@4.0.2(transitive)
- Removedcosmiconfig@7.1.0(transitive)
- Removedcss-select@4.3.0(transitive)
- Removedcss-tree@1.1.3(transitive)
- Removedcsso@4.2.0(transitive)
- Removeddom-serializer@1.4.1(transitive)
- Removeddomhandler@4.3.1(transitive)
- Removeddomutils@2.8.0(transitive)
- Removedentities@2.2.0(transitive)
- Removedmdn-data@2.0.14(transitive)
- Removedsource-map@0.6.1(transitive)
- Removedstable@0.1.8(transitive)
- Removedsvgo@2.8.0(transitive)
- Removedyaml@1.10.2(transitive)
Updated@svgr/core@^7.0.0
Updated@svgr/plugin-jsx@^7.0.0
Updated@svgr/plugin-prettier@^7.0.0
Updated@svgr/plugin-svgo@^7.0.0