Socket
Socket
Sign inDemoInstall

path-proxy

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

path-proxy - npm Package Compare versions

Comparing version 0.1.1 to 1.0.0

2

package.json
{
"name": "path-proxy",
"version": "0.1.1",
"version": "1.0.0",
"description": "A path proxy object constructor",

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

@@ -51,2 +51,10 @@ var pathProxy = require('../index'),

context('when the path is a segment followed by a segment with a parameter', function() {
var base = new Base();
pathProxy.pathProxy(Base, '/foo/baz/{qux}');
createsAProxyObjectConstructorWith(base.foo(), ['foo'], [], '/foo');
createsAProxyObjectConstructorWith(base.foo().baz('qux'), ['foo', 'baz', 'qux'], ['qux'], '/foo/baz/qux');
});
context('when the path is a segment with a parameter followed by a segment with a parameter', function() {

@@ -53,0 +61,0 @@ var base = new Base();

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