New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

twig

Package Overview
Dependencies
Maintainers
4
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

twig - npm Package Compare versions

Comparing version 1.11.1 to 1.12.0

11

CHANGELOG.md

@@ -0,1 +1,12 @@

Version 1.12.0, released 2018-06-11
-----------------------------------
Major improvements:
* Fix array declaration on multiple lines (#546)
* Fix extend when add is null (#559)
Minor improvements:
* Improve namespaces support (#556)
* Allow express to render async (#558)
Version 1.11.1, released 2018-05-22

@@ -2,0 +13,0 @@ -----------------------------------

8

package.json

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

"description": "JS port of the Twig templating language.",
"version": "1.11.1",
"version": "1.12.0",
"homepage": "https://github.com/twigjs/twig.js",

@@ -40,3 +40,3 @@ "licenses": [

"chai": "^3.5.0",
"mocha": "3.1.x",
"mocha": "^4.1.0",
"require-uncached": "^1.0.3",

@@ -47,4 +47,4 @@ "should": "11.1.x",

"tokenizer": "1.1.x",
"webpack": "^4.6.0",
"webpack-cli": "^2.0.15"
"webpack": "^4.12.0",
"webpack-cli": "^3.0.3"
},

@@ -51,0 +51,0 @@ "browser": {

@@ -12,3 +12,3 @@ [![Stories in Ready](https://badge.waffle.io/twigjs/twig.js.png?label=ready&title=Ready)](https://waffle.io/twigjs/twig.js)

src="https://user-images.githubusercontent.com/3282350/29336704-ab1be05c-81dc-11e7-92e5-cf11cca7b344.png">
Twig.js is a pure JavaScript implementation of the Twig PHP templating language

@@ -69,3 +69,3 @@ (<http://twig.sensiolabs.org/>)

twig = Twig.twig; // Render function
```
```

@@ -98,2 +98,3 @@ ### Usage without Express

app.set("twig options", {
allow_async: true, // Allow asynchronous compiling
strict_variables: false

@@ -100,0 +101,0 @@ });

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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