Socket
Socket
Sign inDemoInstall

@drauu/core

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@drauu/core - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

4

dist/index.d.ts

@@ -107,2 +107,4 @@ interface Unsubscribe {

redo(): boolean;
canRedo(): boolean;
canUndo(): boolean;
private eventMove;

@@ -115,2 +117,4 @@ private eventStart;

cancel(): void;
dump(): string;
load(svg: string): void;
}

@@ -117,0 +121,0 @@ declare function createDrauu(options?: Options): Drauu;

@@ -420,2 +420,9 @@ (() => {

}
canRedo() {
return !!this._undoStack.length;
}
canUndo() {
var _a;
return !!((_a = this.el) == null ? void 0 : _a.lastElementChild);
}
eventMove(event) {

@@ -468,2 +475,9 @@ if (this.model._eventMove(event)) {

}
dump() {
return this.el.innerHTML;
}
load(svg) {
this.clear();
this.el.innerHTML = svg;
}
};

@@ -470,0 +484,0 @@ function createDrauu(options) {

@@ -433,2 +433,9 @@ var __defProp = Object.defineProperty;

}
canRedo() {
return !!this._undoStack.length;
}
canUndo() {
var _a;
return !!((_a = this.el) == null ? void 0 : _a.lastElementChild);
}
eventMove(event) {

@@ -481,2 +488,9 @@ if (this.model._eventMove(event)) {

}
dump() {
return this.el.innerHTML;
}
load(svg) {
this.clear();
this.el.innerHTML = svg;
}
};

@@ -483,0 +497,0 @@ function createDrauu(options) {

2

package.json
{
"name": "@drauu/core",
"version": "0.0.5",
"version": "0.0.6",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "module": "dist/index.mjs",

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