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

lego-bigpipe

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

lego-bigpipe - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2-1

9

index.js

@@ -18,3 +18,3 @@ 'use strict';

pagelet.js = data.js;
bigpipe = '<script>lego.onPageletArrive(' + JSON.stringify(pagelet) + ')</script>';
bigpipe = '<script>lego.onPageletArrive(' + JSON.stringify(pagelet) + ');</script>';
}

@@ -35,2 +35,5 @@

if (bigpipe) bigpipe += '\n';
if (quickling) quickling += '\n';
return {

@@ -80,3 +83,3 @@ code: data.code,

if (config.combo) {
pre += ejs.render(styleLinkTpl, {locals: {
pre += ejs.render(scriptLinkTpl, {locals: {
url: genUrl(comboIds, '.css.js', config)

@@ -86,3 +89,3 @@ }});

each(comboIds, function (id) {
pre += ejs.render(styleLinkTpl, {locals: {
pre += ejs.render(scriptLinkTpl, {locals: {
url: genUrl(id, '.css.js', config)

@@ -89,0 +92,0 @@ }});

{
"name": "lego-bigpipe",
"version": "0.1.1",
"version": "0.1.2-1",
"description": "a bigpipe builder for scrat-lego",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -16,3 +16,3 @@ // (╯°□°)╯︵oƃǝ˥

r.should.have.property('code', u.code);
r.should.have.property('bigpipe', '<h1>unit</h1><script>lego.onPageletArrive({"id":"unit","js":["c/c1/c1","c/c1/c11","c/c2/c2"]})</script>');
r.should.have.property('bigpipe', '<h1>unit</h1><script>lego.onPageletArrive({"id":"unit","js":["c/c1/c1","c/c1/c11","c/c2/c2"]});</script>');
r.should.have.property('quickling', 'lego.onPageletArrive({"id":"unit","js":["c/c1/c1","c/c1/c11","c/c2/c2"],"html":"<h1>unit</h1>","css":["c/c1/c1","c/c2/c2"]});');

@@ -39,3 +39,3 @@ });

r.should.have.property('code', u.code);
r.should.have.property('bigpipe', '<script>lego.onPageletArrive({"id":"unit","js":["c/c1/c1","c/c1/c11","c/c2/c2"]})</script>');
r.should.have.property('bigpipe', '<script>lego.onPageletArrive({"id":"unit","js":["c/c1/c1","c/c1/c11","c/c2/c2"]});</script>');
r.should.have.property('quickling', 'lego.onPageletArrive({"id":"unit","js":["c/c1/c1","c/c1/c11","c/c2/c2"]});');

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