From 1316489379a8760e42b0cbe09ffc0b0b2c99ebf7 Mon Sep 17 00:00:00 2001 From: Romain Menke Date: Wed, 23 Oct 2024 23:17:22 +0200 Subject: [PATCH] 6.0.0 --- .gitignore | 2 +- .rollup.js => .rollup.mjs | 9 --------- CHANGELOG.md | 5 +++++ package.json | 31 ++++++------------------------- 4 files changed, 12 insertions(+), 35 deletions(-) rename .rollup.js => .rollup.mjs (61%) diff --git a/.gitignore b/.gitignore index a99c053..5cbe014 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,7 @@ !.editorconfig !.gitignore !.github -!.rollup.js +!.rollup.mjs !.tape.js !.travis.yml *.log* diff --git a/.rollup.js b/.rollup.mjs similarity index 61% rename from .rollup.js rename to .rollup.mjs index 924b3e4..c06b421 100644 --- a/.rollup.js +++ b/.rollup.mjs @@ -1,16 +1,7 @@ -import babel from 'rollup-plugin-babel'; - export default { input: 'src/index.js', output: [ { file: 'dist/index.cjs', format: 'cjs', sourcemap: false, strict: false, exports: 'auto' }, { file: 'dist/index.mjs', format: 'esm', sourcemap: false, strict: false, exports: 'auto' } - ], - plugins: [ - babel({ - presets: [ - ['@babel/env', { modules: false, targets: { node: 12 } }] - ] - }) ] }; diff --git a/CHANGELOG.md b/CHANGELOG.md index 85031da..1bc030e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changes to Input Range +### 6.0.0 (October 23, 2024) + +- Updated: `postcss-selector-parser` +- Updated: minimum node version is now 18. + ### 5.0.0 (April 12, 2022) - Added: PostCSS 8 compatibility (breaking) diff --git a/package.json b/package.json index bb25908..7ab4b03 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "postcss-input-range", - "version": "5.0.0", + "version": "6.0.0", "description": "Style range inputs with unprefixed pseudo-classes", "author": "Jonathan Neal ", "license": "CC0-1.0", @@ -23,31 +23,21 @@ "dist" ], "scripts": { - "build": "rollup --config .rollup.js --silent", + "build": "rollup --config .rollup.mjs --silent", "clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"", "prepublishOnly": "npm run clean && npm run build && npm run test", - "test": "npm run lint && npm run test:tape", - "lint": "echint && eslint src/{*,**/*}.js --cache --ignore-path .gitignore --quiet", - "test:tape": "postcss-tape" + "test": "postcss-tape" }, "engines": { - "node": "^12 || ^14 || >=16" + "node": ">=18" }, "dependencies": { - "postcss-selector-parser": "^6.0.10" + "postcss-selector-parser": "^7.0.0" }, "devDependencies": { - "@babel/core": "^7.17.2", - "@babel/eslint-parser": "^7.17.0", - "@babel/preset-env": "^7.16.11", - "echint": "^4.0.1", - "echint-config-dev": "1.0.0", - "eslint": "^8.13.0", - "eslint-config-dev": "2.0.0", "postcss": "^8.4.6", "postcss-tape": "^6.0.1", - "rollup": "^2.67.2", - "rollup-plugin-babel": "^4.4.0" + "rollup": "^4.0.0" }, "peerDependencies": { "postcss": "^8.0.0" @@ -55,15 +45,6 @@ "postcssConfig": { "config": ".tape.js" }, - "echint": { - "extends": "dev" - }, - "eslintConfig": { - "extends": "dev", - "parserOptions": { - "sourceType": "module" - } - }, "keywords": [ "postcss", "css",