Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
babel-plugin-estrela
Advanced tools
A babel plugin to process estrela jsx/tsx files.
import { onDestroy } from 'estrela';
const App = () => {
// create a number state with initial value equal to 0.
let count = 0;
// create an updater interval function.
const interval = setInterval(() => count++, 1000);
// clean interval on destroy this component.
onDestroy(() => clearInterval(interval));
// return JSX element.
return <div>Count is { count * 2 }</div>
}
It will convert the code above to:
import { h as _jsx, createProxyState as _$$ } from 'estrela/internal';
import { state, onDestroy } from 'estrela';
const App = () => {
const _$ = /*#__PURE__*/_$$();
_$.count = 0;
setInterval(() => _$.count++, 1000);
onDestroy(() => clearInterval(interval));
return /*#__PURE__*/h('div', null, 'Count is ', [_$.$.count, _count => _count * 2]);
}
Using npm:
$ npm install --save-dev babel-plugin-estrela
or using yarn:
$ yarn add babel-plugin-estrela --dev
For more Estrela information, visit the github page at https://github.com/estrelajs/estrela/.
FAQs
A babel plugin to pre-process estrela jsx/tsx files
The npm package babel-plugin-estrela receives a total of 0 weekly downloads. As such, babel-plugin-estrela popularity was classified as not popular.
We found that babel-plugin-estrela demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.