express-open-in-editor
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -0,1 +1,5 @@ | ||
## 1.2.1 (January 25, 2016) | ||
- Fixed leading slash cut in absolute file path | ||
## 1.2.0 (January 25, 2016) | ||
@@ -2,0 +6,0 @@ |
@@ -51,3 +51,3 @@ var parseUrl = require('parseurl'); | ||
.resolve('/', filename) | ||
.replace(/^([a-z]+:)?\//i, ''); | ||
.replace(/^[a-z]+:/i, ''); // cut drive from path on Windows platform | ||
@@ -54,0 +54,0 @@ opener.open(filename).then( |
{ | ||
"name": "express-open-in-editor", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Express extension to open file in editor", | ||
@@ -5,0 +5,0 @@ "author": "Roman Dvornov <rdvornov@gmail.com>", |
@@ -106,4 +106,10 @@ [](https://www.npmjs.com/package/express-open-in-editor) | ||
## Related projects | ||
- [open-in-editor](https://github.com/lahmatiy/open-in-editor) – package that do the main task of `express-open-in-editor`, i.e. opens file in editor. | ||
- [babel-plugin-source-wrapper](https://github.com/restrry/babel-plugin-source-wrapper) – `Babel` plugin that instruments source code to associate objects with location they defined in code base. | ||
- [Component Inspector](https://github.com/lahmatiy/component-inspector) – developer tool to inspect components that can open component creation source location in editor. Has integrations for `React`, `Backbone` and can be adopter for other frameworks. | ||
## License | ||
MIT |
10886
115