router-http 2.0.0 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/LICENSE.md +0 -0
  2. package/package.json +16 -16
  3. package/src/index.js +0 -2
package/LICENSE.md CHANGED
File without changes
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "router-http",
3
3
  "description": "Simple HTTP router compatible with Express",
4
4
  "homepage": "https://github.com/Kikobeats/router-http",
5
- "version": "2.0.0",
5
+ "version": "2.0.2",
6
6
  "main": "src/index.js",
7
7
  "author": {
8
8
  "email": "josefrancisco.verdu@gmail.com",
@@ -29,7 +29,7 @@
29
29
  "routes"
30
30
  ],
31
31
  "dependencies": {
32
- "find-my-way": "~9.3.0",
32
+ "find-my-way": "~9.4.0",
33
33
  "null-prototype-object": "~1.2.5"
34
34
  },
35
35
  "devDependencies": {
@@ -55,6 +55,19 @@
55
55
  "files": [
56
56
  "src"
57
57
  ],
58
+ "scripts": {
59
+ "clean": "rm -rf node_modules",
60
+ "contributors": "(npx git-authors-cli && npx finepack && git add package.json && git commit -m 'build: contributors' --no-verify) || true",
61
+ "coverage": "c8 report --reporter=text-lcov > coverage/lcov.info",
62
+ "lint": "standard",
63
+ "postrelease": "npm run release:tags && npm run release:github && (ci-publish || npm publish --access=public)",
64
+ "prerelease": "npm run contributors",
65
+ "pretest": "npm run lint",
66
+ "release": "standard-version -a",
67
+ "release:github": "github-generate-release",
68
+ "release:tags": "git push --follow-tags origin HEAD:master",
69
+ "test": "c8 ava"
70
+ },
58
71
  "license": "MIT",
59
72
  "commitlint": {
60
73
  "extends": [
@@ -78,18 +91,5 @@
78
91
  "simple-git-hooks": {
79
92
  "commit-msg": "npx commitlint --edit",
80
93
  "pre-commit": "npx nano-staged"
81
- },
82
- "scripts": {
83
- "clean": "rm -rf node_modules",
84
- "contributors": "(npx git-authors-cli && npx finepack && git add package.json && git commit -m 'build: contributors' --no-verify) || true",
85
- "coverage": "c8 report --reporter=text-lcov > coverage/lcov.info",
86
- "lint": "standard",
87
- "postrelease": "npm run release:tags && npm run release:github && (ci-publish || npm publish --access=public)",
88
- "prerelease": "npm run contributors",
89
- "pretest": "npm run lint",
90
- "release": "standard-version -a",
91
- "release:github": "github-generate-release",
92
- "release:tags": "git push --follow-tags origin HEAD:master",
93
- "test": "c8 ava"
94
94
  }
95
- }
95
+ }
package/src/index.js CHANGED
@@ -229,8 +229,6 @@ module.exports = (finalhandler = requiredFinalHandler(), options = {}) => {
229
229
  handler[method] = addRoute.bind(null, method)
230
230
  }
231
231
 
232
- handler.del = handler.delete
233
-
234
232
  handler.prettyPrint = (...args) => router.prettyPrint(...args)
235
233
 
236
234
  Object.defineProperty(handler, 'routes', {