![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
babel-plugin-buildo-react-components
Advanced tools
Readme
Babel plugin to avoid cherry-pick imports from buildo-react-components
You can finally import named exports from buildo-react-components
using ES6 destructuring without worrying about your bundle size!
// before
import Popover from 'buildo-react-components/src/popover/Popover';
import FlexView from 'buildo-react-components/src/flex/FlexView';
// now
import { Popover, FlexView } from 'buildo-react-components';
Install with npm
npm i --save-dev babel-plugin-buildo-react-components
add "buildo-react-components" in your .babelrc
{
plugins: ["buildo-react-components"]
}
imports from the /lib
folder are not supported yet so you must include /buildo-react-components/
in webpack
destructured imports are safely transformed
// your code
import { FlexView as Flex, Popover } from 'buildo-react-components';
// after transformation
import Flex from 'buildo-react-components/src/flex/FlexView';
import Popover from 'buildo-react-components/src/popover/Popover';
default imports are left untouched
// your code
import TextOverflow from 'buildo-react-components/src/text-overflow';
// left untouched
import TextOverflow from 'buildo-react-components/src/text-overflow';
you can mix any kind of import together
// your code
import flex, { FlexView as _FlexView, FlexCell } from 'buildo-react-components/src/flex';
// after transformation
import flex from 'buildo-react-components/src/flex';
import _FlexView from 'buildo-react-components/src/flex/FlexView';
import FlexCell from 'buildo-react-components/src/flex/FlexCell';
link-state functions are safely transformed too
// your code
import { linkState, getValueLink } from 'buildo-react-components';
// after transformation
import { linkState, getValueLink } from 'buildo-react-components/src/link-state';
FAQs
Babel plugin to avoid cherry-pick imports from buildo-react-components
The npm package babel-plugin-buildo-react-components receives a total of 0 weekly downloads. As such, babel-plugin-buildo-react-components popularity was classified as not popular.
We found that babel-plugin-buildo-react-components demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.