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

basisjs-tools

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

basisjs-tools - npm Package Compare versions

Comparing version 1.0.9 to 1.0.10

12

lib/server/index.js

@@ -378,8 +378,7 @@

if (options.encoding)
if (content.length > 512 && options.encoding)
{
headers['Content-Encoding'] = options.encoding;
if (false && options.file && options.file.zip && options.encoding in options.file.zip
/* FIXME: i'm a hack */ && /text\/html/.test(options.contentType))
if (options.file && options.file.zip && options.encoding in options.file.zip)
content = options.file.zip[options.encoding];

@@ -396,3 +395,4 @@ else

{
if (options.file && options.file.zip)
/* FIXME: check for content-type is a hack */
if (!/text\/html/.test(options.contentType) && options.file && options.file.zip)
options.file.zip[options.encoding] = content;

@@ -855,3 +855,6 @@

if (contentChanged)
{
fileInfo.content = newContent;
fileInfo.zip = {};
}

@@ -877,2 +880,3 @@ newFileInfo.content = newContent;

file.content = null;
file.zip = {};
}

@@ -879,0 +883,0 @@ }

{
"name": "basisjs-tools",
"title": "Basis developer tools",
"version": "1.0.9",
"version": "1.0.10",
"homepage": "https://github.com/basisjs/basisjs-tools",

@@ -6,0 +6,0 @@ "description": "Developer tools for basis.js framework",

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