nouislider
Advanced tools
Comparing version 14.7.0 to 15.0.0
# Changelog | ||
### 15.0.0 (*2021-05-02*) | ||
- noUiSlider is now written and distributed as TypeScript; | ||
- Types are now provided. If you are currently using [@types/nouislider](https://www.npmjs.com/package/@types/nouislider), this should be replaced; | ||
- The distributed files have moved from `distribute` to `dist` in the NPM package, and are no longer in the repository; You may need to change the path to the noUiSlider CSS file if you are importing it using a package manager; | ||
- Fixed: Slider now properly works in multiple layers of Shadow DOM (#1121); | ||
- Removed: `version` from exceptions and export; | ||
- Removed: Bower support; | ||
### 14.7.0 (*2021-04-06*) | ||
- noUiSlider is now build with Typescript. This release contains no further changes. | ||
- noUiSlider is now build with TypeScript. This release contains no further changes. | ||
@@ -6,0 +14,0 @@ ### 14.6.4 (*2021-03-18*) |
{ | ||
"name": "nouislider", | ||
"version": "14.7.0", | ||
"main": "distribute/nouislider.js", | ||
"style": "distribute/nouislider.min.css", | ||
"version": "15.0.0", | ||
"main": "dist/nouislider.js", | ||
"style": "dist/nouislider.min.css", | ||
"types": "dist/nouislider.d.ts", | ||
"license": "MIT", | ||
"scripts": { | ||
"_write_js": "tsc && replace-in-file --quiet --configFile=replace-in-file-config.js", | ||
"_write_js_compress": "uglifyjs distribute/nouislider.js --compress --mangle --output distribute/nouislider.min.js", | ||
"_write_css": "lessc src/nouislider.less distribute/nouislider.css", | ||
"_write_css_compress": "lessc src/nouislider.less distribute/nouislider.min.css --clean-css", | ||
"_build_js": "npm run _write_js && npm run _write_js_compress", | ||
"_build_css": "npm run _write_css && npm run _write_css_compress", | ||
"_banner": "bannerize distribute/* --banner=banner.ejs", | ||
"build": "npm run build:js && npm run build:types && npm run build:styles", | ||
"build:js": "npm run build:js:write && npm run build:js:compress", | ||
"build:js:write": "rollup -c rollup.config.js", | ||
"build:js:compress": "uglifyjs dist/nouislider.js --compress --mangle --output dist/nouislider.min.js", | ||
"build:types": "tsc --emitDeclarationOnly", | ||
"build:styles": "npm run build:styles:write && npm run build:styles:compress", | ||
"build:styles:write": "lessc src/nouislider.less dist/nouislider.css", | ||
"build:styles:compress": "lessc src/nouislider.less dist/nouislider.min.css --clean-css", | ||
"prepublishOnly": "npm run build", | ||
"format": "prettier src/nouislider.ts --write --config .prettierrc", | ||
"lint": "eslint src/nouislider.ts", | ||
"build": "npm run _build_js && npm run _build_css && npm run _banner", | ||
"docs": "cd ../ && php -S localhost:80 nouislider/documentation/_run/router.php" | ||
@@ -23,3 +25,2 @@ }, | ||
"@typescript-eslint/parser": "^4.20.0", | ||
"bannerize": "^1.1.4", | ||
"eslint": "^7.23.0", | ||
@@ -29,3 +30,4 @@ "less": "^3.9.0", | ||
"prettier": "^1.14.2", | ||
"replace-in-file": "^6.2.0", | ||
"rollup": "^2.46.0", | ||
"rollup-plugin-typescript2": "^0.30.0", | ||
"typescript": "^4.2.3", | ||
@@ -39,5 +41,6 @@ "uglify-js": "^3.4.9" | ||
"files": [ | ||
"distribute" | ||
"src", | ||
"dist" | ||
], | ||
"dependencies": {} | ||
} |
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
263887
15
5106
1