@svgr/plugin-prettier
Advanced tools
Comparing version 6.5.0 to 6.5.1
@@ -6,54 +6,34 @@ # Change Log | ||
# [6.5.0](https://github.com/gregberge/svgr/compare/v6.4.0...v6.5.0) (2022-10-14) | ||
## [6.5.1](https://github.com/gregberge/svgr/compare/v6.5.0...v6.5.1) (2022-10-27) | ||
**Note:** Version bump only for package @svgr/plugin-prettier | ||
# [6.5.0](https://github.com/gregberge/svgr/compare/v6.4.0...v6.5.0) (2022-10-14) | ||
**Note:** Version bump only for package @svgr/plugin-prettier | ||
## [6.3.1](https://github.com/gregberge/svgr/compare/v6.3.0...v6.3.1) (2022-07-22) | ||
### Bug Fixes | ||
* fix exports compat with ESM ([#749](https://github.com/gregberge/svgr/issues/749)) ([f3e304c](https://github.com/gregberge/svgr/commit/f3e304c166282f042ecd4d6c396a0798a7f0b490)) | ||
- fix exports compat with ESM ([#749](https://github.com/gregberge/svgr/issues/749)) ([f3e304c](https://github.com/gregberge/svgr/commit/f3e304c166282f042ecd4d6c396a0798a7f0b490)) | ||
# [6.3.0](https://github.com/gregberge/svgr/compare/v6.2.1...v6.3.0) (2022-07-18) | ||
### Bug Fixes | ||
* **package.json:** fix exports ([#745](https://github.com/gregberge/svgr/issues/745)) ([2a368d1](https://github.com/gregberge/svgr/commit/2a368d1305949ec6426c7c7312c04224071ec2bd)) | ||
- **package.json:** fix exports ([#745](https://github.com/gregberge/svgr/issues/745)) ([2a368d1](https://github.com/gregberge/svgr/commit/2a368d1305949ec6426c7c7312c04224071ec2bd)) | ||
## [6.1.2](https://github.com/gregberge/svgr/compare/v6.1.1...v6.1.2) (2021-12-12) | ||
### Bug Fixes | ||
* specify valid peer deps ([45a76ed](https://github.com/gregberge/svgr/commit/45a76ed5f7d433e549c8513c0fdab08eb6c7bc2c)) | ||
- specify valid peer deps ([45a76ed](https://github.com/gregberge/svgr/commit/45a76ed5f7d433e549c8513c0fdab08eb6c7bc2c)) | ||
# [5.5.0](https://github.com/gregberge/svgr/tree/master/packages/plugin-prettier/compare/v5.4.0...v5.5.0) (2020-11-15) | ||
### Performance Improvements | ||
* replace merge-deep with smaller deepmerge ([#463](https://github.com/gregberge/svgr/tree/master/packages/plugin-prettier/issues/463)) ([1f015eb](https://github.com/gregberge/svgr/tree/master/packages/plugin-prettier/commit/1f015eb16fca093a08b012236dc83623f7bcce55)) | ||
- replace merge-deep with smaller deepmerge ([#463](https://github.com/gregberge/svgr/tree/master/packages/plugin-prettier/issues/463)) ([1f015eb](https://github.com/gregberge/svgr/tree/master/packages/plugin-prettier/commit/1f015eb16fca093a08b012236dc83623f7bcce55)) | ||
# [5.4.0](https://github.com/gregberge/svgr/tree/master/packages/plugin-prettier/compare/v5.3.1...v5.4.0) (2020-04-27) | ||
@@ -63,6 +43,2 @@ | ||
## [5.3.1](https://github.com/gregberge/svgr/tree/master/packages/plugin-prettier/compare/v5.3.0...v5.3.1) (2020-04-05) | ||
@@ -72,6 +48,2 @@ | ||
# [5.3.0](https://github.com/gregberge/svgr/tree/master/packages/plugin-prettier/compare/v5.2.0...v5.3.0) (2020-03-22) | ||
@@ -81,17 +53,8 @@ | ||
## [5.0.1](https://github.com/gregberge/svgr/tree/master/packages/plugin-prettier/compare/v5.0.0...v5.0.1) (2019-12-29) | ||
### Bug Fixes | ||
* fix engines in package.json ([a45d6fc](https://github.com/gregberge/svgr/tree/master/packages/plugin-prettier/commit/a45d6fc8b43402bec60ed4e9273f90fdc65a23a7)) | ||
- fix engines in package.json ([a45d6fc](https://github.com/gregberge/svgr/tree/master/packages/plugin-prettier/commit/a45d6fc8b43402bec60ed4e9273f90fdc65a23a7)) | ||
## [4.3.2](https://github.com/gregberge/svgr/tree/master/packages/plugin-prettier/compare/v4.3.1...v4.3.2) (2019-07-15) | ||
@@ -101,6 +64,2 @@ | ||
## [4.3.1](https://github.com/gregberge/svgr/tree/master/packages/plugin-prettier/compare/v4.3.0...v4.3.1) (2019-07-01) | ||
@@ -110,39 +69,24 @@ | ||
# [4.2.0](https://github.com/gregberge/svgr/tree/master/packages/plugin-prettier/compare/v4.1.0...v4.2.0) (2019-04-11) | ||
### Bug Fixes | ||
* **plugin-prettier:** fix prettier warning ([d01d33f](https://github.com/gregberge/svgr/tree/master/packages/plugin-prettier/commit/d01d33f)) | ||
- **plugin-prettier:** fix prettier warning ([d01d33f](https://github.com/gregberge/svgr/tree/master/packages/plugin-prettier/commit/d01d33f)) | ||
## [4.0.3](https://github.com/gregberge/svgr/compare/v4.0.2...v4.0.3) (2018-11-13) | ||
### Bug Fixes | ||
* upgrade dependencies ([7e2195f](https://github.com/gregberge/svgr/commit/7e2195f)) | ||
- upgrade dependencies ([7e2195f](https://github.com/gregberge/svgr/commit/7e2195f)) | ||
# [4.0.0](https://github.com/gregberge/svgr/compare/v3.1.0...v4.0.0) (2018-11-04) | ||
### Features | ||
* **v4:** new architecture ([ac8b8ca](https://github.com/gregberge/svgr/commit/ac8b8ca)) | ||
- **v4:** new architecture ([ac8b8ca](https://github.com/gregberge/svgr/commit/ac8b8ca)) | ||
### BREAKING CHANGES | ||
* **v4:** - `template` option must now returns a Babel AST | ||
- `@svgr/core` does not include svgo & prettier by default | ||
- **v4:** - `template` option must now returns a Babel AST | ||
* `@svgr/core` does not include svgo & prettier by default |
@@ -15,7 +15,10 @@ 'use strict'; | ||
const prettierRcConfig = config.runtimeConfig ? prettier.resolveConfig.sync(filePath, { editorconfig: true }) : {}; | ||
return prettier.format(code, deepmerge__default["default"].all([ | ||
{ parser: "babel" }, | ||
prettierRcConfig || {}, | ||
config.prettierConfig || {} | ||
])); | ||
return prettier.format( | ||
code, | ||
deepmerge__default["default"].all([ | ||
{ parser: "babel" }, | ||
prettierRcConfig || {}, | ||
config.prettierConfig || {} | ||
]) | ||
); | ||
}; | ||
@@ -22,0 +25,0 @@ |
{ | ||
"name": "@svgr/plugin-prettier", | ||
"description": "Format code using Prettier", | ||
"version": "6.5.0", | ||
"version": "6.5.1", | ||
"main": "./dist/index.js", | ||
@@ -37,3 +37,3 @@ "types": "./dist/index.d.ts", | ||
"peerDependencies": { | ||
"@svgr/core": "^6.0.0" | ||
"@svgr/core": "*" | ||
}, | ||
@@ -44,3 +44,3 @@ "dependencies": { | ||
}, | ||
"gitHead": "b385279d27e51d34e4684dda326aa4216a485572" | ||
"gitHead": "d5efedd372999692f84d30072e502b5a6b8fe734" | ||
} |
Sorry, the diff of this file is not supported yet
8604
28