
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
textile-js
Advanced tools
h1. textile.js
Attempt at an implementation of fully featured Textile parser in JavaScript that runs reasonably fast and mostly avoids outputting broken HTML.
Give it a go in "a live textile web editor":http://borgar.github.com/textile-js/.
h2. Install
bc. $ npm install textile-js
h2. Options
The basic interface mimics "marked":https://github.com/chjj/marked, the popular markdown parser. So if you use that in your project then you can support Textile as well with minimal effort.
Currently, the only supported option is @breaks@ which can be used to enable/disable the default behavior of line-breaking single newlines within blocks.
h2. Usage
bc. console.log( textile( "I am using textile." ) );
You can also get to the syntax tree, which uses "JsonML":http://www.jsonml.org/.
bc. var jsonml = textile.parse( text ); console.log( jsonml );
h2. CLI
bc. $ textile -o hello.html hello world ^D $ cat hello.html
hello world
h2. License
Copyright (c) 2012, Borgar Þorsteinsson (MIT License).
See LICENSE.
FAQs
A full-featured JavaScript Textile parser
We found that textile-js 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
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.