
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.
laravel-blade-jade
Advanced tools
Create laravel blade views using jade
$ npm install --save-dev laravel-blade-jade
// Gulpfile.js
const elixir = require('laravel-elixir');
require('laravel-blade-jade');
elixir(mix => {
/**
* Blade Views
*/
mix.blade({
sourcePath: "resources/assets/blade",
locals: {}
});
// ...
});
Trigger
$ gulp blade
// index.jade
doctype html
html
head
title @yield('title')
body
@include("partials.foo-bar", ['key' => 'val'])
@section('sidebar')
sidebar.master
p This is the master sidebar.
@stop
.container: .row
@yield('content')
<!-- index.blade.php -->
<!DOCTYPE html>
<html>
<head>
<title>@yield('title')</title>
</head>
<body>
@include("partials.foo-bar", ['key' => 'val'])
@section('sidebar')
<sidebar class="master">
<p>This is the master sidebar.</p>
</sidebar>
@stop
<div class="container">
<div class="row">
@yield('content')
</div>
</div>
</body>
</html>
Files containing _*.jade
not be rendered.
Type: object
All options supported by the Jade API are supported
Type: string
, null
Default: "resources/assets/blade"
Type: string
, null
Default: "resources/views"
Type: string
, null
Default: null
Type: object
Default: {}
Type: boolean
, string
Default: true
If you using version 1.0
please check docs
MIT @ Guntur Poetra
FAQs
Create laravel blade views using jade
We found that laravel-blade-jade 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.