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

@jiaminghi/c-render

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jiaminghi/c-render - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

CHANGELOG.md

22

function/prototype.js

@@ -285,2 +285,20 @@ import { deepClone } from '../extend/methods'

function deleteAllElements () {
this.elements = []
this.drawAllGraph()
}
function deleteElement (element) {
const { elements } = this
const index = elements.findIndex(ele => ele === element)
if (index === -1) return
elements.splice(index, 1)
this.drawAllGraph()
}
const prototypes = {

@@ -300,3 +318,5 @@ add,

initTransform,
restoreTransform
restoreTransform,
deleteAllElements,
deleteElement
}

@@ -303,0 +323,0 @@

2

package.json
{
"name": "@jiaminghi/c-render",
"version": "0.1.2",
"version": "0.1.3",
"author": "JiaMing <743192023@qq.com>",

@@ -5,0 +5,0 @@ "description": "Canvas-based vector graphics rendering plugin",

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