Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jade

Package Overview
Dependencies
Maintainers
2
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jade - npm Package Compare versions

Comparing version 0.31.1 to 0.31.2

2

component.json

@@ -5,3 +5,3 @@ {

"description": "Jade template runtime",
"version": "0.31.1",
"version": "0.31.2",
"keywords": [

@@ -8,0 +8,0 @@ "template"

@@ -696,9 +696,8 @@ /*!

if (tag.textOnly && !dot && !(tag.name == 'script' && tag.getAttribute('src'))) {
console.warn('Implicit textOnly for `script` and `style` is deprecated. Use `script.` or `style.` instead.');
}
// block?
if ('indent' == this.peek().type) {
if (tag.textOnly) {
if (!dot) {
console.warn('Implicit textOnly for `script` and `style` is deprecated. Use `script.` or `style.` instead.');
}
this.lexer.pipeless = true;

@@ -705,0 +704,0 @@ tag.block = this.parseTextBlock();

{
"name": "jade",
"description": "Jade template engine",
"version": "0.31.1",
"version": "0.31.2",
"author": "TJ Holowaychuk <tj@vision-media.ca>",

@@ -29,3 +29,4 @@ "repository": "git://github.com/visionmedia/jade",

"uglify-js": "*",
"browserify": "*"
"browserify": "*",
"win-spawn": "*"
},

@@ -39,3 +40,3 @@ "component": {

"test": "mocha -R spec",
"prepublish": "npm prune",
"prepublish": "npm prune && cd bin && win-line-endings && cd ..",
"build": "npm run compile",

@@ -42,0 +43,0 @@ "compile": "npm run compile-full && npm run compile-runtime",

@@ -9,9 +9,9 @@ # Jade - template engine

## Anouncment
## Announcement
Jade version 0.31.0 deprecated implicit text only support for scripts and styles. To fix this all you need to do is add a `.` character after the script or style tag.
It is hoped that this change will make jade easier for newcommers to learn without affecting the power of the language or leading to excessive verboseness.
It is hoped that this change will make Jade easier for newcomers to learn without affecting the power of the language or leading to excessive verboseness.
If you have a lot of jade files that need fixing you can use [fix-jade](https://github.com/ForbesLindesay/fix-jade) to attempt to automate the process.
If you have a lot of Jade files that need fixing you can use [fix-jade](https://github.com/ForbesLindesay/fix-jade) to attempt to automate the process.

@@ -18,0 +18,0 @@ ## Test drive

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc