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

babel-plugin-inline-react-svg

Package Overview
Dependencies
Maintainers
6
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-inline-react-svg - npm Package Versions

2

2.0.2

Diff

Changelog

Source

v2.0.2 - 2023-02-22

Merged

Fixed

  • [Fix] Register export declaration in scope #74

Commits

  • [meta] add auto-changelog 0137651
  • [Tests] migrate from travis to github actions 63611b5
  • [Dev Deps] update @babel/cli, @babel/node, @babel/preset-react, eslint, eslint-config-airbnb, eslint-plugin-import, eslint-plugin-jsx-a11y, eslint-plugin-react b839b94
  • [readme] Update svgo configuration example e37c29b
  • [Fix] Fix crash when svg has a style tag in the root element; pass path to SVGO a4c1c4c
  • [meta] use npmignore to autogenerate an npmignore file aeb3ddf
  • [Deps] update resolve, svgo b29d6a6
  • [meta] add safe-publish-latest and use prepublishOnly 982144b
  • [Dev Deps] update @babel/cli, @babel/plugin-transform-typescript 815bb4a
lencioni
published 2.0.1 •

Changelog

Source

v2.0.1 - 2021-02-23

Commits

  • [Fix] Fix crash when SVGO is turned off b8fb637
  • [Deps] update svgo 7471408
lencioni
published 2.0.0 •

Changelog

Source

v2.0.0 - 2021-02-18

Fixed

  • [Tests] add passing test #89

Commits

  • [Breaking] update svgo to v2; drop node < v10.13 90eeedd
  • [Dev Deps] update @babel/cli, @babel/node, @babel/preset-react, babel-preset-airbnb, eslint, eslint-config-airbnb, eslint-plugin-import, eslint-plugin-jsx-a11y, eslint-plugin-react 4ed41be
  • [Dev Deps] update @babel/cli, @babel/node, @babel/preset-react, eslint 0b2b119
  • [Deps] update resolve c7ae6fd
  • [Deps] update resolve ca99a79
lencioni
published 1.1.2 •

Changelog

Source

1.1.2 - 2020-10-30

lencioni
published 1.1.1 •

Changelog

Source

v1.1.1 - 2020-01-21

Merged

  • [Fix] Register module binding #68

Commits

ljharb
published 1.1.0 •

Changelog

Source

v1.1.0 - 2019-04-09

Commits

  • [New] Add support for export default from 4ed020e
  • add MIT license file a39dfa5
  • [Dev Deps] update @babel/cli, @babel/node, babel-preset-airbnb, eslint, eslint-plugin-import, eslint-plugin-jsx-a11y, eslint-plugin-react 6b39561
  • [Deps] update resolve 5e7bb85
ljharb
published 1.0.1 •

Changelog

Source

v1.0.1 - 2018-10-22

Merged

  • Fix transforming via API #53

Fixed

  • Merge pull request #53 from airbnb/svg_api #52
  • [Fix] require "filename" option when transforming code #52

Commits

ljharb
published 1.0.0 •

Changelog

Source

v1.0.0 - 2018-10-09

Merged

  • [Breaking] Upgrade to babel 7 #48

Commits

  • [Refactor] no need to directly depend on babel-template or babel-traverse 7665543
  • [Breaking] drop support of node < 6, per babel 7 143e8b1
  • Switch to single quotes with curly tick 83cae6f
ljharb
published 0.5.4 •

Changelog

Source

v0.5.4 - 2018-07-20

Fixed

  • [Fix] do not crash on dynamic requires #47
ljharb
published 0.5.3 •

Changelog

Source

v0.5.3 - 2018-06-25

Merged

  • [Fix] throw a better error if no svg is found; add tests for multiple SVGs. #39
  • fix CloseSVG typo in readme #37

Commits

  • [New] add support for require 512996e
  • [Dev Deps] update babel-cli, babel-core, babel-preset-airbnb, eslint, eslint-config-airbnb, eslint-plugin-import, eslint-plugin-jsx-a11y, eslint-plugin-react 7dc34fa
  • [Tests] add failing tests for multiple React imports f380c66
  • [Tests] skip case-sensitive check when on a case-sensitive filesystem 8f7f42b
  • [Refactor] reduce repeated object lookups f9d9613
  • [Tests] add travis b6bb7d4
  • [fix] fix linting errors 49fcb09
  • Fix invalid JS issue for data attr and cater for aria-* (#33) 6052866
  • [Dev Deps] update babel-preset-airbnb, eslint-config-airbnb, eslint-plugin-import, eslint-plugin-react 52533c8
  • [Deps] update babel-template, babel-traverse, babylon, svgo 0c5dcdb
  • [Tests] add test scripts acf96e2
  • Only apps should have lockfiles 6b39b21
  • [Refactor] use resolve instead of resolve-from 2696b6b
  • [Fix] throw a better error if no svg is found 157bbf0
  • [Fix] ensure that a React import is only added once f022c45
2
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