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

monkberry

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

monkberry - npm Package Compare versions

Comparing version 3.4.1 to 3.5.0

lib/transform/entity.js

4

lib/index.js

@@ -78,2 +78,4 @@ 'use strict';

var _entity = require('./transform/entity');
var _graph = require('./graph');

@@ -91,3 +93,3 @@

this.parsers = { 'default': _monkberryParser.parser };
this.transforms = { whitespace: _whitespace.whitespace };
this.transforms = { whitespace: _whitespace.whitespace, entity: _entity.entity };
this.globals = [];

@@ -94,0 +96,0 @@ }

{
"name": "monkberry",
"version": "3.4.1",
"version": "3.5.0",
"description": "JavaScript DOM Template Engine",

@@ -38,3 +38,3 @@ "bin": "bin/monkberry",

"commander": "^2.9.0",
"monkberry-parser": "^3.4.0",
"monkberry-parser": "^3.5.0",
"source-map": "^0.5.3",

@@ -41,0 +41,0 @@ "asciitree": "^1.0.2"

@@ -55,5 +55,5 @@ # Monkberry - JavaScript template engine

- [view.remove([force])](#viewremoveforce)
- [view.getElementById(id)](#viewgetelementbyidid)
- [view.querySelector(query)](#viewqueryselectorquery)
- [Tests](#tests)
- [Plugins](#plugins)
- [Benchmarks](#benchmarks)

@@ -619,2 +619,4 @@

If you template contains more then one nodes on first level, `querySelector` will look other all subtrees. Array of all top level nodes can be accessed by `view.nodes[]` array.
> Note what querySelector can not work with template which have if/for/custom node on first level.

@@ -645,2 +647,6 @@ > ```twig

## Plugins
* Atom Text Editor: [language-monkberry](https://atom.io/packages/language-monkberry)
## Benchmarks

@@ -647,0 +653,0 @@

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