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

rm3-page-router

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

rm3-page-router - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

11

CHANGELOG.md

@@ -7,2 +7,13 @@ # Change Log

## 0.0.2 - 2016-8-13
### Added
- 100% test coverage
### Changed
- Updated dependencies
- Supported versions of node.js are 4.0 and 5.0
### Fixed
- Accidentally binding to the wrong this
## 0.0.1 - 2016-1-10

@@ -9,0 +20,0 @@ ### Added

4

lib/index.js

@@ -26,3 +26,3 @@ var methods = require('methods');

self.dispatch[method] = {};
PageRouter.prototype[method] = route.bind(self, method);
self[method] = route.bind(self, method);
});

@@ -63,3 +63,3 @@ };

} else {
done();
done(new Error('Cannot handle'));
}

@@ -66,0 +66,0 @@ };

{
"name": "rm3-page-router",
"version": "0.0.1",
"version": "0.0.2",
"description": "A helper router for resource-specific express routing",

@@ -16,3 +16,3 @@ "main": "lib/index.js",

"lint": "./node_modules/.bin/jshint lib tests",
"travis": "npm run test && npm run lint",
"travis": "npm run test && ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha tests/*.js --report lcovonly && codecov",
"coverage": "./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha tests/*"

@@ -29,2 +29,6 @@ },

"license": "MIT",
"engines": {
"node": "4.x || 5.x",
"npm": "2.x || 3.x"
},
"dependencies": {

@@ -35,4 +39,5 @@ "methods": "~1.1.1",

"devDependencies": {
"mocha": "~2.3.4",
"should": "~8.0.2",
"codecov": "^1.0.1",
"mocha": "~3.0.1",
"should": "~11.0.0",
"jshint": "~2.9.1-rc1",

@@ -39,0 +44,0 @@ "istanbul": "~0.4.1"

# Page Router
[![Build Status](https://travis-ci.org/rm3web/rm3-page-router.svg?branch=master)](https://travis-ci.org/rm3web/rm3-page-router)[![Dependency Status](https://david-dm.org/rm3web/rm3-page-router.svg)](https://david-dm.org/rm3web/rm3-page-router)[![devDependency Status](https://david-dm.org/rm3web/rm3-page-router/dev-status.svg)](https://david-dm.org/rm3web/rm3-page-router#info=devDependencies)[![npm version](https://badge.fury.io/js/rm3-page-router.svg)](https://www.npmjs.com/package/rm3-page-router)[![codecov](https://codecov.io/gh/rm3web/rm3-page-router/branch/master/graph/badge.svg)](https://codecov.io/gh/rm3web/rm3-page-router)
When you are trying to do resource-specific routing in Express where the

@@ -4,0 +6,0 @@ actual set of routes you are trying to mount aren't known until you

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