Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

express-open-in-editor

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-open-in-editor - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

4

HISTORY.md

@@ -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 @@

2

index.js

@@ -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 @@ [![NPM version](https://img.shields.io/npm/v/express-open-in-editor.svg)](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
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