From c1d8639eb083605f0fd7141a783e504245308310 Mon Sep 17 00:00:00 2001 From: Blake Embrey Date: Wed, 9 Jul 2014 09:55:48 +1000 Subject: [PATCH 1/3] Update readme compatibility note --- Readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index 161ae77..27f5d3d 100644 --- a/Readme.md +++ b/Readme.md @@ -117,7 +117,7 @@ re.exec('/test/route'); //=> ['/test/route', 'test', 'route'] ``` -## Compatibility with Express 3.x +## Compatibility with Express <= 4.x Path-To-RegExp breaks compatibility with Express 3.x in a few ways: From 50ef878c771d1f7d3e64ae41a3661775f60fe848 Mon Sep 17 00:00:00 2001 From: Blake Embrey Date: Wed, 9 Jul 2014 09:55:55 +1000 Subject: [PATCH 2/3] Add license --- LICENSE | 21 +++++++++++++++++++++ package.json | 1 + 2 files changed, 22 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..983fbe8 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/package.json b/package.json index 07b28e4..8f121b9 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "path-to-regexp": "index.js" } }, + "license": "MIT", "repository": { "type": "git", "url": "https://github.com/component/path-to-regexp.git" From 6f3e388b91b073e7114e49bda5dff828308492ad Mon Sep 17 00:00:00 2001 From: Blake Embrey Date: Wed, 9 Jul 2014 09:57:21 +1000 Subject: [PATCH 3/3] 0.2.3 --- History.md | 5 +++++ component.json | 2 +- package.json | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/History.md b/History.md index aa3a949..268ea72 100644 --- a/History.md +++ b/History.md @@ -1,3 +1,8 @@ +0.2.3 / 2014-07-09 +================== + + * Add MIT license + 0.2.2 / 2014-07-06 ================== diff --git a/component.json b/component.json index 44ec822..f88d521 100644 --- a/component.json +++ b/component.json @@ -1,7 +1,7 @@ { "name": "path-to-regexp", "description": "Express style path to RegExp utility", - "version": "0.2.2", + "version": "0.2.3", "keywords": [ "express", "regexp", diff --git a/package.json b/package.json index 8f121b9..243a077 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "path-to-regexp", "description": "Express style path to RegExp utility", - "version": "0.2.2", + "version": "0.2.3", "scripts": { "test": "istanbul cover node_modules/mocha/bin/_mocha -- -R spec" },