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.0 to 0.19.1

7

level-packager.js

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

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

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

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

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

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

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

{
"name": "level-packager",
"description": "LevelUP package helper for distributing with a LevelDOWN-compatible back-end",
"version": "0.19.0",
"version": "0.19.1",
"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