
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@tinajs/gulp-mina
Advanced tools
:oden: split/precompile mina single-file-component
npm install --save-dev @tinajs/gulp-mina
const gulp = require('gulp')
const babel = require('gulp-babel')
const mina = require('@tinajs/gulp-mina')
gulp.task('default', () => {
return gulp.src('src/**/*.mina')
.pipe(mina({
script: (stream) => stream.pipe(babel({ presets: ['env'] })),
}))
.pipe(gulp.dest('dist'))
})
wxml
, wxss
, json
and js
)const gulp = require('gulp')
const babel = require('gulp-babel')
const mina = require('@tinajs/gulp-mina')
gulp.task('default', ['clean'], () => {
return gulp.src('src/**/*.mina')
.pipe(mina.split({
script: (stream) => stream.pipe(babel({ presets: ['env'] })),
}))
.pipe(gulp.dest('dist'))
})
Separate mina-sfc to multiple streams, and pipe the recombined results down.
Type: Object
Default: {}
Each separated streams of mina-sfc file will be passed to these mapping functions.
Type: Function
Receive the stream of <script>
part as a .js
file.
Type: Function
Receive the stream of <config>
part as a .json
file.
Type: Function
Receive the stream of <style>
part as a .wxss
file.
Type: Function
Receive the stream of <template>
part as a .wxml
file.
Just like mina([mapping])
, but pipe separated mina-sfc as multiple files to the downstream.
MIT © yelo, 2017 - present
FAQs
split/precompile mina single-file-component
We found that @tinajs/gulp-mina 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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.