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

@gip-recia/js-tree

Package Overview
Dependencies
Maintainers
3
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gip-recia/js-tree - npm Package Compare versions

Comparing version 0.0.9 to 0.0.10

dist/js-tree.bundle.js

12

package.json
{
"name": "@gip-recia/js-tree",
"version": "0.0.9",
"version": "0.0.10",
"description": "Js Tree",

@@ -19,3 +19,4 @@ "main": "src/js-tree.js",

"test:watch": "wtr --watch",
"start": "npm run serve"
"start": "npm run serve",
"build": "rollup -c"
},

@@ -39,4 +40,6 @@ "repository": {

"@esm-bundle/chai": "^4.1.5",
"@fortawesome/fontawesome-free": "^5.15.4",
"@open-wc/testing": "^3.0.0-next.1",
"@open-wc/testing-karma": "^4.0.9",
"@rollup/plugin-node-resolve": "^13.1.3",
"@types/mocha": "^9.0.0",

@@ -55,5 +58,8 @@ "@web/dev-server": "^0.1.22",

"prettier": "^2.3.2",
"@fortawesome/fontawesome-free": "^5.15.4"
"rollup": "^2.70.1",
"rollup-plugin-minify-html-literals": "^1.2.6",
"rollup-plugin-summary": "^1.3.0",
"rollup-plugin-terser": "^7.0.2"
},
"customElements": "custom-elements.json"
}

@@ -29,2 +29,8 @@ # **Esup Js-Tree**

Ou directement la verion minifiée :
```html
<script src="./path/to/js-tree.bundle.js"></script>
```
3. Ajout du composant dans l'application/composant :

@@ -62,2 +68,3 @@

| allowDeselection | Boolean | Non | Permet dautoriser ou non la désélection dans l'arboresence. Par défaut: true. |
| sort | Boolean | Non | Permet de trier les branches de l'arbre par ordre alphabétique. Par défaut: false. |

@@ -64,0 +71,0 @@ - `onSelection` - Fonction appelée lors de la sélection d'un élément de l'arbre.

@@ -230,2 +230,8 @@ import { LitElement, html } from 'lit'

_renderTree(datas, level, parent) {
// Tri des noeuds si demandé
if (this.config.sort) {
datas.sort((node1, node2) =>
node1.text.localeCompare(node2.text)
)
}
// prettier-ignore

@@ -232,0 +238,0 @@ return html`

Sorry, the diff of this file is not supported yet

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