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

atom-keymap

Package Overview
Dependencies
Maintainers
5
Versions
154
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

atom-keymap - npm Package Compare versions

Comparing version 2.0.6 to 2.0.7

26

api.json

@@ -6,3 +6,3 @@ {

"filename": "src/keymap-manager.coffee",
"srcUrl": "https://github.com/atom/atom-keymap/blob/v2.0.6/src/keymap-manager.coffee#L92",
"srcUrl": "https://github.com/atom/atom-keymap/blob/v2.0.7/src/keymap-manager.coffee#L93",
"sections": [],

@@ -13,3 +13,3 @@ "classMethods": [

"sectionName": null,
"srcUrl": "https://github.com/atom/atom-keymap/blob/v2.0.6/src/keymap-manager.coffee#L107",
"srcUrl": "https://github.com/atom/atom-keymap/blob/v2.0.7/src/keymap-manager.coffee#L108",
"visibility": "Public",

@@ -76,3 +76,3 @@ "summary": "Create a keydown DOM event for testing purposes.",

"sectionName": null,
"srcUrl": "https://github.com/atom/atom-keymap/blob/v2.0.6/src/keymap-manager.coffee#L124",
"srcUrl": "https://github.com/atom/atom-keymap/blob/v2.0.7/src/keymap-manager.coffee#L125",
"visibility": "Public",

@@ -101,3 +101,3 @@ "summary": "Create a new KeymapManager.",

"sectionName": null,
"srcUrl": "https://github.com/atom/atom-keymap/blob/v2.0.6/src/keymap-manager.coffee#L132",
"srcUrl": "https://github.com/atom/atom-keymap/blob/v2.0.7/src/keymap-manager.coffee#L133",
"visibility": "Public",

@@ -110,3 +110,3 @@ "summary": "Unwatch all watched paths. ",

"sectionName": null,
"srcUrl": "https://github.com/atom/atom-keymap/blob/v2.0.6/src/keymap-manager.coffee#L140",
"srcUrl": "https://github.com/atom/atom-keymap/blob/v2.0.7/src/keymap-manager.coffee#L141",
"visibility": "Public",

@@ -125,3 +125,3 @@ "summary": "Get all current key bindings.",

"sectionName": null,
"srcUrl": "https://github.com/atom/atom-keymap/blob/v2.0.6/src/keymap-manager.coffee#L149",
"srcUrl": "https://github.com/atom/atom-keymap/blob/v2.0.7/src/keymap-manager.coffee#L150",
"visibility": "Public",

@@ -148,3 +148,3 @@ "summary": "Add sets of key bindings grouped by CSS selector.",

"sectionName": null,
"srcUrl": "https://github.com/atom/atom-keymap/blob/v2.0.6/src/keymap-manager.coffee#L173",
"srcUrl": "https://github.com/atom/atom-keymap/blob/v2.0.7/src/keymap-manager.coffee#L174",
"visibility": "Public",

@@ -179,3 +179,3 @@ "summary": "Load the key bindings from the given path.",

"sectionName": null,
"srcUrl": "https://github.com/atom/atom-keymap/blob/v2.0.6/src/keymap-manager.coffee#L190",
"srcUrl": "https://github.com/atom/atom-keymap/blob/v2.0.7/src/keymap-manager.coffee#L191",
"visibility": "Public",

@@ -188,3 +188,3 @@ "summary": "Cause the keymap to reload the key bindings file at the given path\nwhenever it changes.",

"sectionName": null,
"srcUrl": "https://github.com/atom/atom-keymap/blob/v2.0.6/src/keymap-manager.coffee#L202",
"srcUrl": "https://github.com/atom/atom-keymap/blob/v2.0.7/src/keymap-manager.coffee#L207",
"visibility": "Public",

@@ -205,3 +205,3 @@ "summary": "Remove the key bindings added with {::add} or {::loadKeymap}.",

"sectionName": null,
"srcUrl": "https://github.com/atom/atom-keymap/blob/v2.0.6/src/keymap-manager.coffee#L225",
"srcUrl": "https://github.com/atom/atom-keymap/blob/v2.0.7/src/keymap-manager.coffee#L230",
"visibility": "Public",

@@ -214,3 +214,3 @@ "summary": "Dispatch a custom event associated with the matching key binding for\nthe given `KeyboardEvent` if one can be found.",

"sectionName": null,
"srcUrl": "https://github.com/atom/atom-keymap/blob/v2.0.6/src/keymap-manager.coffee#L304",
"srcUrl": "https://github.com/atom/atom-keymap/blob/v2.0.7/src/keymap-manager.coffee#L309",
"visibility": "Public",

@@ -257,3 +257,3 @@ "summary": "Get the key bindings for a given command and optional target.",

"sectionName": null,
"srcUrl": "https://github.com/atom/atom-keymap/blob/v2.0.6/src/keymap-manager.coffee#L475",
"srcUrl": "https://github.com/atom/atom-keymap/blob/v2.0.7/src/keymap-manager.coffee#L480",
"visibility": "Public",

@@ -283,3 +283,3 @@ "summary": "Translate a keydown event to a keystroke string.",

"sectionName": null,
"srcUrl": "https://github.com/atom/atom-keymap/blob/v2.0.6/src/keymap-manager.coffee#L111",
"srcUrl": "https://github.com/atom/atom-keymap/blob/v2.0.7/src/keymap-manager.coffee#L112",
"visibility": "Public",

@@ -286,0 +286,0 @@ "summary": "The number of milliseconds allowed before pending states caused\nby partial matches of multi-keystroke bindings are terminated. ",

(function() {
var CSON, CommandEvent, Emitter, File, Grim, KeyBinding, KeymapManager, OtherPlatforms, Platforms, fs, isAtomModifier, keydownEvent, keystrokeForKeyboardEvent, normalizeKeystrokes, path, _, _ref,
var CSON, CommandEvent, CompositeDisposable, Emitter, File, Grim, KeyBinding, KeymapManager, OtherPlatforms, Platforms, fs, isAtomModifier, keydownEvent, keystrokeForKeyboardEvent, normalizeKeystrokes, path, _, _ref,
__indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };

@@ -19,2 +19,4 @@

CompositeDisposable = require('event-kit').CompositeDisposable;
KeyBinding = require('./key-binding');

@@ -67,3 +69,3 @@

subscription = _ref1[filePath];
subscription.off();
subscription.dispose();
}

@@ -124,9 +126,11 @@ return void 0;

KeymapManager.prototype.watchKeymap = function(filePath) {
var _ref1;
if (((_ref1 = this.watchSubscriptions[filePath]) != null ? _ref1.cancelled : void 0) !== false) {
this.watchSubscriptions[filePath] = new File(filePath).on('contents-changed moved removed', (function(_this) {
var file, reloadKeymap;
if ((this.watchSubscriptions[filePath] == null) || this.watchSubscriptions[filePath].disposed) {
file = new File(filePath);
reloadKeymap = (function(_this) {
return function() {
return _this.reloadKeymap(filePath);
};
})(this));
})(this);
this.watchSubscriptions[filePath] = new CompositeDisposable(file.onDidChange(reloadKeymap), file.onDidRename(reloadKeymap), file.onDidDelete(reloadKeymap));
}

@@ -133,0 +137,0 @@ return void 0;

{
"name": "atom-keymap",
"version": "2.0.6",
"version": "2.0.7",
"description": "Atom's DOM-aware keymap module",

@@ -24,12 +24,13 @@ "main": "./lib/keymap-manager",

"dependencies": {
"pegjs": "^0.8.0",
"clear-cut": "^0.3.0",
"emissary": "^1.1.0",
"event-kit": "^0.7.0",
"fs-plus": "^2.0.4",
"grim": "0.12.0",
"loophole": "^1.0.0",
"fs-plus": "^2.0.4",
"pathwatcher": "^2.1.0",
"pegjs": "^0.8.0",
"property-accessors": "^1",
"season": "^1.0.2",
"pathwatcher": "^2.0.4",
"emissary": "^1.1.0",
"underscore-plus": "^1.0.0",
"property-accessors": "^1"
"underscore-plus": "^1.0.0"
},

@@ -36,0 +37,0 @@ "devDependencies": {

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