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

mu2

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mu2 - npm Package Compare versions

Comparing version 0.5.10 to 0.5.11

18

lib/mu/renderer.js
var BUFFER_LENGTH = 1024 * 8;
var parser = require('./parser'),
baseProto = ({}).__proto__;
var parser = require('./parser');

@@ -27,3 +26,3 @@ exports.render = render;

if (stream.paused) {
stream.on('resumed', function () {
stream.once('resumed', function () {
process.nextTick(next);

@@ -189,15 +188,2 @@ });

function insertProto(obj, newProto, replaceProto) {
replaceProto = replaceProto || baseProto;
var proto = obj.__proto__;
while (proto !== replaceProto) {
obj = proto;
proto = proto.__proto__;
}
obj.__proto__ = newProto;
return obj;
}
//

@@ -204,0 +190,0 @@ //

var util = require('util')
, Stream = require('stream').Stream;
function MuStream() {

@@ -17,3 +15,2 @@ Stream.call(this);

MuStream.prototype.pause = function () {
console.log('pause');
this.paused = true;

@@ -23,5 +20,4 @@ }

MuStream.prototype.resume = function () {
console.log('resume');
this.paused = false;
this.emit('resumed');
};

2

package.json
{ "name": "mu2"
, "description": "A Mustache template engine for Node.js"
, "keywords": ["template", "mustache"]
, "version" : "0.5.10"
, "version" : "0.5.11"
, "homepage": "http://github.com/raycmorgan/mu"

@@ -6,0 +6,0 @@ , "author" : "RayMorgan <ray@rumgr.com>"

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