Socket
Socket
Sign inDemoInstall

@gip-recia/evaluator

Package Overview
Dependencies
10
Maintainers
3
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.11 to 0.0.12

dist/evaluator.bundle.min-stats.html

11

package.json
{
"name": "@gip-recia/evaluator",
"version": "0.0.11",
"version": "0.0.12",
"description": "Evaluator",

@@ -34,5 +34,5 @@ "main": "src/index.js",

"dependencies": {
"@gip-recia/esup-publisher-webcomponents-utils": "^0.0.1",
"@gip-recia/subject-infos": "^0.0.9",
"@gip-recia/subject-search-button": "^0.0.11",
"@gip-recia/esup-publisher-webcomponents-utils": "^0.0.2",
"@gip-recia/subject-infos": "^0.0.10",
"@gip-recia/subject-search-button": "^0.0.12",
"lit": "^2.2.0"

@@ -63,5 +63,6 @@ },

"rollup-plugin-summary": "^1.3.0",
"rollup-plugin-terser": "^7.0.2"
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-visualizer": "^5.6.0"
},
"customElements": "custom-elements.json"
}

@@ -37,10 +37,17 @@ # **Esup Evaluator et Edit-Evaluator**

```html
<script src="./path/to/evaluator.bundle.js"></script>
<script src="./path/to/evaluator.bundle.min.js"></script>
```
3. Ajout du composant dans l'application/composant :
3. Ajout des composants sur une page HTML :
```html
<esup-evaluator .evaluator="..."> </esup-evaluator>
<esup-edit-evaluator .evaluator="..."> </esup-edit-evaluator>
```js
const evaluator = document.createElement('esup-evaluator');
evaluator.evaluator = {...};
evaluator.config = {...};
document.body.appendChild(evaluator);
const editEvaluator = document.createElement('esup-edit-evaluator');
editEvaluator.evaluator = {...};
editEvaluator.config = {...};
document.body.appendChild(editEvaluator);
```

@@ -47,0 +54,0 @@

@@ -6,23 +6,54 @@ // Import rollup plugins

import summary from 'rollup-plugin-summary'
import { visualizer } from 'rollup-plugin-visualizer'
export default {
plugins: [
// Resolve bare module specifiers to relative paths
resolve(),
// Minify HTML template literals
minifyHTML(),
// Minify JS
terser({
ecma: 2020
}),
// Print bundle summary
summary()
],
input: 'src/index.js',
output: {
file: 'dist/evaluator.bundle.js',
name: 'esupEvaluator',
format: 'umd'
export default [
// Non-minified bundle
{
plugins: [
// Resolve bare module specifiers to relative paths
resolve(),
// Print bundle summary
summary()
],
input: 'src/index.js',
output: [
{
file: 'dist/evaluator.bundle.js',
name: 'esupEvaluator',
format: 'umd'
}
],
preserveEntrySignatures: 'strict'
},
preserveEntrySignatures: 'strict'
}
// Minified bundle
{
plugins: [
// Resolve bare module specifiers to relative paths
resolve(),
// Minify HTML template literals
minifyHTML(),
// Minify JS
terser({
ecma: 2020,
format: {
comments: false
}
}),
// Print bundle summary
summary(),
// Visualize bundle size
visualizer({
filename: 'dist/evaluator.bundle.min-stats.html'
})
],
input: 'src/index.js',
output: [
{
file: 'dist/evaluator.bundle.min.js',
name: 'esupEvaluator',
format: 'umd'
}
],
preserveEntrySignatures: 'strict'
}
]
import { css } from 'lit'
export const bootstrapStyle = css`
@charset "UTF-8";
/*!
* Bootstrap v5.1.3 (https://getbootstrap.com/)
* Copyright 2011-2021 The Bootstrap Authors
* Copyright 2011-2021 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
*,

@@ -12,0 +5,0 @@ *::before,

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc