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

level-packager

Package Overview
Dependencies
Maintainers
3
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

level-packager - npm Package Compare versions

Comparing version 0.19.3 to 0.19.4

7

level-packager.js

@@ -1,2 +0,1 @@

const util = require('util')
const levelup = require('levelup')

@@ -6,5 +5,5 @@

function Level (location, options, callback) {
if (util.isFunction(options))
if (typeof options === 'function')
callback = options
if (!util.isObject(options))
if (typeof options === 'object' && options !== null)
options = {}

@@ -18,3 +17,3 @@

[ 'destroy', 'repair' ].forEach(function (m) {
if (util.isFunction(leveldown[m])) {
if (typeof leveldown[m] === 'function')
Level[m] = function (location, callback) {

@@ -21,0 +20,0 @@ leveldown[m](location, callback || function () {})

{
"name": "level-packager",
"description": "LevelUP package helper for distributing with a LevelDOWN-compatible back-end",
"version": "0.19.3",
"version": "0.19.4",
"contributors": [

@@ -6,0 +6,0 @@ "Rod Vagg <r@va.gg> (https://github.com/rvagg)",

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