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

one

Package Overview
Dependencies
Maintainers
1
Versions
208
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

one - npm Package Compare versions

Comparing version 3.1.1 to 3.1.2

4

lib/module.js

@@ -29,3 +29,3 @@ var debug = require("./debug")('module'),

function contentOf(module){
debug('Reading %s%s', module, module.pack.component ? ' [component]' : '');
debug('Reading %s%s', module, module.pack && module.pack.component ? ' [component]' : '');

@@ -35,3 +35,3 @@ var content = readFile(module.filename),

if ( module.pack.component && ( uncompressed = uncompress(content) ) ) {
if ( module.pack && module.pack.component && ( uncompressed = uncompress(content) ) ) {
content = uncompressed;

@@ -38,0 +38,0 @@ }

{
"name": "one",
"version": "3.1.1",
"version": "3.1.2",
"description": "Bundles NodeJS modules/libraries for web browsers",

@@ -5,0 +5,0 @@ "main": "index.js",

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