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

ryuu.js

Package Overview
Dependencies
Maintainers
3
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ryuu.js - npm Package Compare versions

Comparing version 2.4.1 to 2.5.0

35

domo.js

@@ -16,4 +16,4 @@ /**

a.Promise&&"reject"in a.Promise&&"all"in a.Promise&&"race"in a.Promise&&function(){var b;new a.Promise(function(a){b=a});return s(b)}()||(a.Promise=h)}};"function"===typeof define&&define.amd?define(function(){return z}):"undefined"!==typeof module&&module.exports?module.exports=z:"undefined"!==typeof this&&(this.ES6Promise=z)}).call(this);
function domo(){};

@@ -29,5 +29,5 @@

var req = new XMLHttpRequest();
req.open('GET', url);
// set format

@@ -46,3 +46,3 @@ if (options.format === 'array-of-arrays'){

}
req.onload = function() {

@@ -52,7 +52,7 @@ var data;

if (req.status == 200) {
if (options.format === 'csv' || options.format === 'excel'){
resolve(req.response);
}
try {

@@ -74,3 +74,3 @@ data = JSON.parse(req.response);

};
// Handle network errors

@@ -80,3 +80,3 @@ req.onerror = function() {

};
// Make the request

@@ -86,3 +86,3 @@ req.send();

}
domo.getAll = function(urls, options) {

@@ -100,3 +100,3 @@ return Promise.all(urls.map(function(url){

var message = JSON.parse(event.data);
// send acknowledgement to prevent autorefresh

@@ -108,3 +108,3 @@ var ack = JSON.stringify({

event.source.postMessage(ack, event.origin);
// inform domo app which alias has been updated

@@ -114,16 +114,17 @@ cb(message.alias);

};
/**
* Request a navigation change
*/
domo.navigate = function(url){
domo.navigate = function(url, isNewWindow){
var message = JSON.stringify({
event: 'navigate',
url: url
url: url,
isNewWindow: isNewWindow
});
window.parent.postMessage(message, "*");
}
domo.env = getQueryParams();
function getQueryParams() {

@@ -138,3 +139,3 @@ var query = location.search.substr(1);

}
})()
{
"name": "ryuu.js",
"version": "2.4.1",
"version": "2.5.0",
"description": "Ryuu JavaScript Utility Library",

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

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