@svgr/core
Advanced tools
Comparing version 6.0.0-alpha.1 to 6.0.0-alpha.2
@@ -1,4 +0,4 @@ | ||
import { Options as Options$1 } from 'prettier'; | ||
import { Options } from 'prettier'; | ||
import { OptimizeOptions } from 'svgo'; | ||
import { Options } from '@svgr/babel-preset'; | ||
import { Options as Options$1 } from '@svgr/babel-preset'; | ||
import { TransformOptions } from '@babel/core'; | ||
@@ -21,12 +21,27 @@ | ||
interface Config extends Partial<Omit<Options, 'state'>> { | ||
interface Config { | ||
ref?: boolean; | ||
titleProp?: boolean; | ||
expandProps?: boolean | 'start' | 'end'; | ||
dimensions?: boolean; | ||
icon?: boolean; | ||
native?: boolean; | ||
svgProps?: { | ||
[key: string]: string; | ||
}; | ||
replaceAttrValues?: { | ||
[key: string]: string; | ||
}; | ||
runtimeConfig?: boolean; | ||
native?: boolean; | ||
typescript?: boolean; | ||
prettier?: boolean; | ||
prettierConfig?: Options$1; | ||
prettierConfig?: Options; | ||
svgo?: boolean; | ||
svgoConfig?: OptimizeOptions; | ||
configFile?: string; | ||
template?: Options$1['template']; | ||
memo?: boolean; | ||
exportType?: 'named' | 'default'; | ||
namedExport?: string; | ||
jsxRuntime?: 'classic' | 'classic-preact' | 'automatic'; | ||
index?: boolean; | ||
@@ -33,0 +48,0 @@ plugins?: ConfigPlugin[]; |
{ | ||
"name": "@svgr/core", | ||
"description": "Transform SVG into React Components.", | ||
"version": "6.0.0-alpha.1", | ||
"version": "6.0.0-alpha.2", | ||
"main": "./dist/index.js", | ||
@@ -36,3 +36,3 @@ "exports": "./dist/index.js", | ||
"dependencies": { | ||
"@svgr/plugin-jsx": "^6.0.0-alpha.1", | ||
"@svgr/plugin-jsx": "^6.0.0-alpha.2", | ||
"camelcase": "^6.2.0", | ||
@@ -44,3 +44,3 @@ "cosmiconfig": "^7.0.1" | ||
}, | ||
"gitHead": "22e2736665552263fff88683e1551b8ad852b150" | ||
"gitHead": "f729efaad6e2ec22a27972b025737f41cf661045" | ||
} |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
22139
251
0
+ Addedcaniuse-lite@1.0.30001677(transitive)
+ Addedelectron-to-chromium@1.5.51(transitive)
- Removedcaniuse-lite@1.0.30001679(transitive)
- Removedelectron-to-chromium@1.5.55(transitive)