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.
Node.js build system based in generators.
See the documentation to learn more.
npm install fly
Out of the box, a flyfile.js
should be written in native ES5:
var x = module.exports
var paths = {
scripts: ['src/**/*.js', '!src/ignore/**/*.js']
}
x.default = function * () {
yield this.watch(paths.scripts, 'build')
}
x.build = function * () {
yield this.source(paths.scripts)
.eslint({
rules: {'no-extra-semi': 0}
})
yield this.source(paths.scripts)
.babel({
presets: ['es2015', 'stage-0']
})
.concat('app.js')
.target('dist')
}
If you'd prefer to write your flyfile.js
and plugins with ES6 or ES7 syntax, install fly-esnext and that's it :)
npm i -D fly-esnext
const paths = {
scripts: ['src/**/*.js', '!src/ignore/**/*.js']
}
export default async function () {
await this.watch(paths.scripts, 'build')
}
export async function build() {
await this.source(paths.scripts)
.eslint({
rules: {'no-extra-semi': 0}
})
await this.source(paths.scripts)
.babel({
presets: ['es2015', 'stage-0']
})
.concat('app.js')
.target('dist')
}
FAQs
For back-end development
The npm package fly receives a total of 32 weekly downloads. As such, fly popularity was classified as not popular.
We found that fly demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.