![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
view-launcher
Advanced tools
A tiny lib for inspecting and opening view files in your code editor from browsers directly.
Readme
A tiny lib for inspecting and opening view files in your code editor from browsers directly.
When you're working on a rather large project, you may have lots of views, whenever you want to make a change to a specific view, you have to figure out where it locates first.
Even if you just want to change a single letter of the view, you have to first find out the view, to me, this is super tedious and unproductive‼ Especially when collaborating with other people, chances are that you'll have a hard time finding the view file…
This package provides you a simple way to locate to the view file. Just click the HTML element from the browser, it'll jump to the view file in your code editor automagically.
Kind of like a "sourcemap of markup", helps you inspect your view at light speed ⚡⚡️️
<script src="https://unpkg.com/view-launcher@latest/dist/index.js" defer></script>
For framework specific installation see:
sublime
textmate
emacs
macvim
phpstorm
idea
vscode
vscode-insiders
atom
This lib is going to retrieve the config object from window.viewLauncher
immediately as soon as the script is loaded.
The interface of viewLauncher
looks like this:
{
"theme": "light",
"editor": "phpstorm",
"shortcuts": {
"inspect": "a a",
"open": "d"
}
}
It'll find all the elements which has the data-tag-location
attribute, make them inspectable via the viewLauncher.shortcuts
.
The value of data-tag-location
attribute looks like:
{
"view": "/path/to/the/view/file",
"line": 100,
"column": 23
}
So the lib can use the information taken from data-tag-location
to open the view file.
FAQs
ViewLaucherA tool for inspecting and opening view files in your code editor <s
The npm package view-launcher receives a total of 219 weekly downloads. As such, view-launcher popularity was classified as not popular.
We found that view-launcher demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.