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

@tipe/databox-loader

Package Overview
Dependencies
Maintainers
4
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tipe/databox-loader - npm Package Compare versions

Comparing version 0.0.4 to 0.1.0

src/batch.js

2

package.json
{
"name": "@tipe/databox-loader",
"version": "0.0.4",
"version": "0.1.0",
"description": "Tipe Databox Loader for talking with Databox",

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

const create = require('./create')
const batch = require('./batch')

@@ -6,6 +7,12 @@ function createDatabox(url, models, actions) {

}
function createBatchDatabox(url, models, actions) {
return batch(url, models, actions)
}
createDatabox.createBatchDatabox = createBatchDatabox
createDatabox.createDatabox = createDatabox
createDatabox['default'] = createDatabox
Object.defineProperty(exports, "__esModule", {
Object.defineProperty(createDatabox, "__esModule", {
value: true

@@ -12,0 +19,0 @@ });

@@ -7,2 +7,10 @@

});
test('should have __esModule', () => {
const createDatabox = require('./index');
expect(createDatabox.hasOwnProperty('__esModule')).toBe(true);
});
test('should have createDatabox', () => {
const createDatabox = require('./index');
expect(createDatabox.hasOwnProperty('createDatabox')).toBe(true);
});
})
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