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

@websdk/nap

Package Overview
Dependencies
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@websdk/nap - npm Package Compare versions

Comparing version 0.11.2-rhumb-0.3.9-upgrade.0 to 0.11.2

2

lib/nap.js

@@ -253,3 +253,3 @@ (function (global, factory) {

return part.input === '/' ? uri : [uri, part.input].join("/");
}, "");
}, "") || '/';
};

@@ -256,0 +256,0 @@

{
"name": "@websdk/nap",
"version": "0.11.2-rhumb-0.3.9-upgrade.0",
"version": "0.11.2",
"description": "Organizing applications into resources",

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

@@ -248,3 +248,3 @@ var rhumb = require('@websdk/rhumb')

, ""
)
) || '/'
}

@@ -251,0 +251,0 @@

@@ -5,3 +5,3 @@ var test = require('tape')

test('Simple URI patterns', function(t) {
t.plan(2)
t.plan(4)
var web = nap.web().resource('demo', '/my-demo', function() {})

@@ -11,2 +11,4 @@

t.equal(web.uri('/my-demo'), '/my-demo', 'should generate a URI based on resource path')
t.equal(web.uri('/'), '/', 'should generate a URI based on root resource path')
t.equal(web.uri(''), '/', 'should generate a URI based on empty resource path')
})

@@ -13,0 +15,0 @@

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