New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

scribe-editor

Package Overview
Dependencies
Maintainers
9
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scribe-editor - npm Package Compare versions

Comparing version 2.2.4 to 2.2.5

src/events.js

4

CHANGELOG.md

@@ -0,1 +1,5 @@

# 2.2.5
Switches the events from literal strings to using identities from an events module.
# 2.2.4

@@ -2,0 +6,0 @@

2

package.json
{
"name": "scribe-editor",
"version": "2.2.4",
"version": "2.2.5",
"license": "Apache-2.0",

@@ -5,0 +5,0 @@ "main": "src/scribe.js",

@@ -13,3 +13,4 @@ define([

'immutable',
'./config'
'./config',
'./events'
], function (

@@ -27,3 +28,4 @@ plugins,

Immutable,
config
config,
eventNames
) {

@@ -234,3 +236,4 @@

// emit this event ourselves.
this.trigger('content-changed');
this.trigger(eventNames.legacyContentChanged);
this.trigger(eventNames.contentChanged);
};

@@ -251,3 +254,4 @@

this.trigger('content-changed');
this.trigger(eventNames.legacyContentChanged);
this.trigger(eventNames.contentChanged);
};

@@ -254,0 +258,0 @@

@@ -1,2 +0,5 @@

define(['lodash-amd/modern/object/assign'], function (assign) {
define([
'lodash-amd/modern/object/assign',
'./events'
], function (assign, events) {

@@ -20,3 +23,4 @@ 'use strict';

scribe.pushHistory();
scribe.trigger('content-changed');
scribe.trigger(events.legacyContentChanged);
scribe.trigger(events.contentChanged);
}

@@ -23,0 +27,0 @@ },

Sorry, the diff of this file is not supported yet

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