Socket
Socket
Sign inDemoInstall

@svgr/core

Package Overview
Dependencies
80
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.0.0-alpha.1 to 6.0.0-alpha.2

25

dist/index.d.ts

@@ -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[];

6

package.json
{
"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

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