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

cross-domain-storage

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

cross-domain-storage - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

2

guest/index.js

@@ -114,3 +114,3 @@ var crel = require('crel');

function set(key, value, callback) {
message('set', key, value, null, callback);
message('set', key, value, callback);
}

@@ -117,0 +117,0 @@

{
"name": "cross-domain-storage",
"version": "1.0.5",
"version": "1.0.6",
"description": "Cross domain local storage",

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

@@ -5,12 +5,12 @@ var crel = require('crel'),

var instructions = crel('div', {
class: 'instructions',
},
crel('h3', 'cross-domain-storage guest')
var instructions = crel(
'div',
{
class: 'instructions',
},
crel('h3', 'cross-domain-storage guest'),
);
doc.ready(function () {
crel(document.body,
instructions
);
doc.ready(function() {
crel(document.body, instructions);

@@ -20,8 +20,9 @@ var storageGuest = createStorageGuest('http://localhost:9123');

// TODO: actually write some tests here
storageGuest.get('foo', function(error, data) {
console.log('Guest callback: ', error, data);
});
storageGuest.get('foo', function (error, data) {
console.log('foo:', arguments);
storageGuest.set('foo', 'cabbage', function(error, data) {
console.log('Set callback:', error, data);
});
storageGuest.set('foo', 'cabbage');
});

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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