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

linen

Package Overview
Dependencies
Maintainers
1
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

linen - npm Package Compare versions

Comparing version 0.1.39 to 0.1.40

test/service/data/cities.js

10

lib/transports/restful.js

@@ -10,3 +10,3 @@ // Generated by CoffeeScript 1.6.2

module.exports = function(options) {
var fixPath, self, _ref;
var defaultHost, fixPath, self, _ref;

@@ -23,3 +23,3 @@ if (options == null) {

host: (_ref = options.hosts) != null ? _ref.main : void 0,
host: defaultHost = ((_ref = options.hosts) != null ? _ref.main : void 0) || ("" + window.location.protocol + "//" + window.location.host),
/*

@@ -79,5 +79,7 @@ joins two paths together

fet = options.method + " " + host + path;
console.log(fet);
return $.ajax({
url: host + path,
contentType: "application/json",
type: options.method,

@@ -110,3 +112,3 @@ dataType: "json",

}
host = options.host || rhost;
host = options.host || defaultHost;
if (!options.path) {

@@ -113,0 +115,0 @@ options.path = function(payload) {

2

package.json
{
"name": "linen",
"version": "0.1.39",
"version": "0.1.40",
"description": "```javascript",

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

Sorry, the diff of this file is not supported yet

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