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

razorleaf

Package Overview
Dependencies
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

razorleaf - npm Package Compare versions

Comparing version 2.2.1 to 2.2.2

4

compiler.js

@@ -36,3 +36,3 @@ "use strict";

Scope.prototype.getName = function (name) {
while (this.used.hasOwnProperty(name)) {
while (hasOwnProperty.call(this.used, name)) {
name += "_";

@@ -264,3 +264,3 @@ }

if (node.indexName) {
if (compiler.scope.used.hasOwnProperty(node.indexName)) {
if (hasOwnProperty.call(compiler.scope.used, node.indexName)) {
originalName = compiler.scope.getName("original");

@@ -267,0 +267,0 @@

{
"name": "razorleaf",
"version": "2.2.1",
"version": "2.2.2",
"main": "razorleaf.js",

@@ -5,0 +5,0 @@ "files": [

@@ -581,3 +581,3 @@ "use strict";

if (c === null || !BLOCK_OR_TEMPLATE_NAME.test(c)) {
if (parser.root.blocks.hasOwnProperty(parser.identifier)) {
if (hasOwnProperty.call(parser.root.blocks, parser.identifier)) {
throw parser.error("A block named “" + parser.identifier + "” has already been defined");

@@ -638,3 +638,3 @@ }

if (parser.root.blockActions.hasOwnProperty(parser.identifier)) {
if (hasOwnProperty.call(parser.root.blockActions, parser.identifier)) {
parser.root.blockActions[parser.identifier].push(action);

@@ -688,3 +688,3 @@ } else {

if (parser.root.blockActions.hasOwnProperty(parser.identifier)) {
if (hasOwnProperty.call(parser.root.blockActions, parser.identifier)) {
parser.root.blockActions[parser.identifier].push(action);

@@ -1056,4 +1056,4 @@ } else {

for (blockName in root.blocks) {
if (root.blocks.hasOwnProperty(blockName)) {
if (parentTemplate.blocks.hasOwnProperty(blockName)) {
if (hasOwnProperty.call(root.blocks, blockName)) {
if (hasOwnProperty.call(parentTemplate.blocks, blockName)) {
throw new SyntaxError("Parent template " + root.extends + " already contains a block named “" + blockName + "”.");

@@ -1067,4 +1067,4 @@ }

for (blockName in root.blockActions) {
if (root.blockActions.hasOwnProperty(blockName)) {
if (!parentTemplate.blocks.hasOwnProperty(blockName)) {
if (hasOwnProperty.call(root.blockActions, blockName)) {
if (!hasOwnProperty.call(parentTemplate.blocks, blockName)) {
throw new SyntaxError("There is no block named “" + blockName + "”.");

@@ -1071,0 +1071,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