dragselect
Advanced tools
Comparing version 1.11.0 to 1.11.1
@@ -0,1 +1,11 @@ | ||
# 1.11.1 | ||
- Add em6 moduled files that have native `module export DragSelect` that can be used in for example: | ||
```html | ||
<script type="module"> | ||
import DragSelect from "path/to/DragSelect.es6m.js" | ||
new DragSelect({...}); | ||
</script> | ||
``` | ||
# 1.11.0 | ||
@@ -2,0 +12,0 @@ |
@@ -13,3 +13,3 @@ "use strict"; | ||
// v 1.11.0 | ||
// v 1.11.1 | ||
// @ts-check | ||
@@ -16,0 +16,0 @@ |
{ | ||
"name": "dragselect", | ||
"version": "1.11.0", | ||
"version": "1.11.1", | ||
"description": "easy javascript drag select functionality for your projects", | ||
@@ -11,5 +11,9 @@ "main": "./docs/ds.min.js", | ||
"watch": "babel ./src/DragSelect.js -w -o ./docs/DragSelect.js", | ||
"es6m": "cp ./docs/DragSelect.js ./docs/DragSelect.es6m.js && echo 'export default DragSelect;' >> ./docs/DragSelect.es6m.js", | ||
"es6m-min": "cp ./docs/ds.min.js ./docs/ds.es6m.min.js && echo 'export default DragSelect;' >> ./docs/ds.es6m.min.js", | ||
"build": "npm run docs && npm run transpile && npm run uglify", | ||
"transpile": "babel ./src/DragSelect.js -o ./docs/DragSelect.js", | ||
"posttranspile": "npm run es6m", | ||
"uglify": "uglifyjs ./docs/DragSelect.js -o ./docs/ds.min.js", | ||
"postuglify": "npm run es6m-min", | ||
"docs": "jsdoc ./src/DragSelect.js ./README.md -t ./node_modules/minami -d ./docs", | ||
@@ -16,0 +20,0 @@ "test": "jest" |
@@ -52,2 +52,4 @@ ``` | ||
*Note: if you are using `<script type=module` you can use the `DragSelect.es6m.js` or `ds.es6m.min.js` files as they include `export default DragSelect`* | ||
## npm | ||
@@ -54,0 +56,0 @@ ```console |
@@ -1,2 +0,2 @@ | ||
// v 1.11.0 | ||
// v 1.11.1 | ||
// @ts-check | ||
@@ -3,0 +3,0 @@ /* |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
2850752
72
4853
214
0