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

raptor-render-context

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

raptor-render-context - npm Package Compare versions

Comparing version 0.2.0-beta to 0.2.1-beta

14

lib/Context.js

@@ -105,2 +105,3 @@ /*

}
// Keep track of how many asynchronous fragments are in the template

@@ -188,2 +189,3 @@ // NOTE: firstPassComplete changes to true after processing all of the nodes of the template

asyncAttributes.remaining++;
var ready = true;

@@ -268,6 +270,10 @@ var asyncContext = this.createNestedContext(this.writer);

var attributes = this.attributes;
var async = this.attributes.async;
if (!attributes.async) {
if (async) {
async.count++;
} else {
attributes.async = {
remaining: 0
remaining: 0,
count: 1
};

@@ -279,3 +285,3 @@ }

var async = this.attributes.async;
if (!async.firstPassComplete) {
if (--async.count === 0) {
async.firstPassComplete = true;

@@ -290,5 +296,5 @@ if (async.remaining === 0) {

if (typeof window === 'undefined') {
extend(Context.prototype, require('./Context_server.js'));
extend(Context.prototype, require('./Context' + '_server')); // String concatenation to full the optimizers!
}
module.exports = Context;
{
"name": "raptor-render-context",
"version": "0.2.0-beta",
"description": "Helper module for working with promises",
"repository": {
"type": "git",
"url": "https://github.com/raptorjs/raptor-render-context.git"
},
"scripts": {
"test": "node_modules/.bin/mocha --ui bdd --reporter spec ./test"
},
"author": "Patrick Steele-Idem <pnidem@gmail.com>",
"maintainers": "Patrick Steele-Idem <pnidem@gmail.com>",
"dependencies": {
"raptor-util": "^0.2.0-beta",
"raptor-logging": "^0.2.0-beta",
"raptor-detect": "^0.2.0-beta",
"raptor-promises": "^0.2.0-beta",
"raptor-strings": "^0.2.0-beta",
"events-browserify": "0.0.1"
},
"devDependencies": {
"mocha": "~1.15.1",
"chai": "~1.8.1"
},
"license": "Apache License v2.0",
"bin": {},
"main": "lib/raptor-render-context.js",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"browser": {
"./lib/Context_server.js": null,
"events": "events-browserify"
}
}
"path": "/Users/psteeleidem/development/github/raptorjs3/raptor-render-context/package.json",
"name": "raptor-render-context",
"description": "Helper module for working with promises",
"repository": {
"type": "git",
"url": "https://github.com/raptorjs/raptor-render-context.git"
},
"scripts": {
"test": "node_modules/.bin/mocha --ui bdd --reporter spec ./test"
},
"author": "Patrick Steele-Idem <pnidem@gmail.com>",
"maintainers": "Patrick Steele-Idem <pnidem@gmail.com>",
"dependencies": {
"raptor-util": "^0.2.0-beta",
"raptor-logging": "^0.2.0-beta",
"raptor-detect": "^0.2.0-beta",
"raptor-promises": "^0.2.0-beta",
"raptor-strings": "^0.2.0-beta",
"events-browserify": "0.0.1"
},
"devDependencies": {
"mocha": "~1.15.1",
"chai": "~1.8.1"
},
"license": "Apache License v2.0",
"bin": {},
"main": "lib/raptor-render-context.js",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"browser": {
"./lib/Context_server.js": null,
"events": "events-browserify"
},
"version": "0.2.1-beta"
}
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