New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

data-lackey

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

data-lackey - npm Package Compare versions

Comparing version 1.0.0-alpha.1 to 1.0.0-alpha.2

dist/index.js

4

dist/example.js

@@ -6,7 +6,7 @@ 'use strict';

});
exports.default = configureDataLackey;
exports.default = createLackeyWithLoaders;
var _core = require('./core');
function configureDataLackey(loaders) {
function createLackeyWithLoaders(loaders) {

@@ -13,0 +13,0 @@ // Step 1: create the lackey, with options

@@ -102,3 +102,4 @@ 'use strict';

if (!_this.dataLackey) throw 'No dataLackey found. Unable to load specified data.';
// eslint-disable-next-line no-console
if (!_this.dataLackey) console.error('No dataLackey found. Unable to load specified data.');

@@ -105,0 +106,0 @@ _this.state = {

{
"name": "data-lackey",
"version": "1.0.0-alpha.1",
"version": "1.0.0-alpha.2",
"description": "orchestrates loading of your data",

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

@@ -92,7 +92,7 @@ # Data Lackey

* change to new DataLackey()
* add `rules`
* `unload` callback should pass in params from matcher, not just URL
* ttl
* Poll
* Load in batches
* accept params to url. So a resource can be `{ uri: `/item`, itemId: 7 }`
that automatically becomes `/item?itemId=7`. Needs URL encoding, sorting of params.

@@ -99,0 +99,0 @@

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