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

rho

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rho - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

build/rho-0.1.5.js

7

Gruntfile.js

@@ -15,5 +15,7 @@ var fs = require("fs")

var pkg = grunt.file.readJSON('package.json');
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
pkg: pkg,

@@ -42,3 +44,4 @@ browserify: {

data: {
texts: texts
texts: texts,
pkg: pkg
}

@@ -45,0 +48,0 @@ },

@@ -21,8 +21,2 @@ "use strict";

this.out = [];
this.selector = {};
this.blockIndent = 0;
this.options = require("extend")(true, {}, defaults.options, options);

@@ -32,3 +26,3 @@

this.inline.out = this.out;
this.reset();

@@ -35,0 +29,0 @@ };

@@ -19,6 +19,6 @@ "use strict";

this.out = [];
this.options = require("extend")(true, {}, defaults.options, options);
this.reset();
};

@@ -25,0 +25,0 @@

"use strict";
var extend = require("extend");
/* # Generic character sequence walker

@@ -368,20 +370,22 @@

SubWalker.prototype = new Walker;
SubWalker.prototype = extend({}, new Walker, {
SubWalker.prototype.charAt = function(i) {
if (i >= this.length)
return "";
return this.source.charAt(this.start + i);
};
charAt: function(i) {
if (i >= this.length)
return "";
return this.source.charAt(this.start + i);
},
SubWalker.prototype.substring = function(s, e) {
if (typeof(e) == 'undefined')
e = this.length;
return this.source.substring(this.start + s, this.start + e);
};
substring: function(s, e) {
if (typeof(e) == 'undefined')
e = this.length;
return this.source.substring(this.start + s, this.start + e);
},
SubWalker.prototype.toString = function() {
return this.source.substring(this.start, this.end);
};
toString: function() {
return this.source.substring(this.start, this.end);
}
});
/* # Multi sequence walker

@@ -414,17 +418,19 @@

MultiWalker.prototype = new Walker;
MultiWalker.prototype = extend({}, new Walker, {
MultiWalker.prototype.charAt = function(idx) {
return this.string.charAt(idx);
};
charAt: function(idx) {
return this.string.charAt(idx);
},
MultiWalker.prototype.substring = function(s, e) {
if (this.regions.length == 0)
return "";
return this.string.substring(s, e);
};
substring: function(s, e) {
if (this.regions.length == 0)
return "";
return this.string.substring(s, e);
},
MultiWalker.prototype.toString = function() {
return this.string;
};
toString: function() {
return this.string;
}
});
{
"name": "rho",
"version": "0.1.4",
"version": "0.1.5",
"description": "Easy-to-{read,write,understand} semantic markup language for Node",

@@ -5,0 +5,0 @@ "author": "Boris Okunskiy <boris@okunskiy.name>",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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