Socket
Socket
Sign inDemoInstall

space-pen

Package Overview
Dependencies
Maintainers
3
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

space-pen - npm Package Compare versions

Comparing version 4.2.2 to 4.3.0

12

api.json

@@ -7,3 +7,3 @@ {

"filename": "src/space-pen.coffee",
"srcUrl": "https://github.com/atom/space-pen/blob/v4.2.2/src/space-pen.coffee#L75",
"srcUrl": "https://github.com/atom/space-pen/blob/v4.3.0/src/space-pen.coffee#L75",
"sections": [],

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

"sectionName": null,
"srcUrl": "https://github.com/atom/space-pen/blob/v4.2.2/src/space-pen.coffee#L85",
"srcUrl": "https://github.com/atom/space-pen/blob/v4.3.0/src/space-pen.coffee#L85",
"visibility": "Public",

@@ -37,3 +37,3 @@ "summary": "Add the given subview wired to an outlet with the given name",

"sectionName": null,
"srcUrl": "https://github.com/atom/space-pen/blob/v4.2.2/src/space-pen.coffee#L91",
"srcUrl": "https://github.com/atom/space-pen/blob/v4.3.0/src/space-pen.coffee#L91",
"visibility": "Public",

@@ -54,3 +54,3 @@ "summary": "Add a text node with the given text content",

"sectionName": null,
"srcUrl": "https://github.com/atom/space-pen/blob/v4.2.2/src/space-pen.coffee#L97",
"srcUrl": "https://github.com/atom/space-pen/blob/v4.3.0/src/space-pen.coffee#L97",
"visibility": "Public",

@@ -77,3 +77,3 @@ "summary": "Add a new tag with the given name",

"sectionName": null,
"srcUrl": "https://github.com/atom/space-pen/blob/v4.2.2/src/space-pen.coffee#L102",
"srcUrl": "https://github.com/atom/space-pen/blob/v4.3.0/src/space-pen.coffee#L102",
"visibility": "Public",

@@ -96,3 +96,3 @@ "summary": "Add new child DOM nodes from the given raw HTML string.",

"sectionName": null,
"srcUrl": "https://github.com/atom/space-pen/blob/v4.2.2/src/space-pen.coffee#L199",
"srcUrl": "https://github.com/atom/space-pen/blob/v4.3.0/src/space-pen.coffee#L199",
"visibility": "Public",

@@ -99,0 +99,0 @@ "summary": "Preempt events registered with jQuery's `::on`.",

(function() {
var $, Builder, CustomElementPrototype, Events, Grim, JQueryEventAdd, JQueryTrigger, SelfClosingTags, Tags, View, docEl, exports, idCounter, jQuery, matches, matchesSelector, registerElement, _,
var $, Builder, CustomElementPrototype, Events, Grim, JQueryEventAdd, SelfClosingTags, Tags, View, docEl, exports, idCounter, jQuery, matches, matchesSelector, registerElement, _,
__hasProp = {}.hasOwnProperty,

@@ -584,10 +584,11 @@ __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },

JQueryTrigger = $.fn.trigger;
$.fn.originalTrigger = $.fn.trigger;
$.fn.trigger = function(eventName, data) {
if (typeof eventName === 'string' && /\:/.test(eventName) && (eventName !== 'cursor:moved' && eventName !== 'selection:changed' && eventName !== 'editor:display-updated')) {
return Grim != null ? Grim.deprecate("Are you trying to dispatch the '" + eventName + "' Atom command with `jQuery::trigger`?\n`jQuery::trigger` can no longer emit Atom commands as it will not correctly route\nthe command to its handlers. Please use `atom.commands.dispatch` instead.\nSee the docs at https://atom.io/docs/api/latest/CommandRegistry#instance-dispatch\nfor details.") : void 0;
} else {
return JQueryTrigger.call(this, eventName, data);
if (Grim != null) {
Grim.deprecate("Are you trying to dispatch the '" + eventName + "' Atom command with `jQuery::trigger`?\n`jQuery::trigger` can no longer emit Atom commands as it will not correctly route\nthe command to its handlers. Please use `atom.commands.dispatch` instead.\nSee the docs at https://atom.io/docs/api/latest/CommandRegistry#instance-dispatch\nfor details.");
}
}
return this.originalTrigger(eventName, data);
};

@@ -594,0 +595,0 @@

{
"name": "space-pen",
"version": "4.2.2",
"version": "4.3.0",
"description": "Write markup on the final frontier",

@@ -5,0 +5,0 @@ "main": "./lib/space-pen.js",

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