Skip to content

Commit

Permalink
Upgrade to the original branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulyanov-programmer committed Nov 1, 2024
2 parents c4dada8 + 9f75b38 commit d740684
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 22 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Change Log
This project adheres to [Semantic Versioning](http://semver.org/).

## 7.0.1
* Fixed RegExp issue with nested comments (by @Ulyanov-programmer).

## 7.0.0
* More complex logic of when to move comments (by @Ulyanov-programmer).
* Removed Node.js 16, 14, and 12 support.
Expand Down
10 changes: 6 additions & 4 deletions index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -646,10 +646,12 @@ test("Save the parent's comment with newline", () => {

test('Save the comments for the parent and child', () => {
run(
`a {
/*i*/
/*o*/
b {} }`,
`
a {
/*i*/
/*o*/
b {}
}`,

`a { /*i*/ } /*o*/ a b {}`
)
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "postcss-nested",
"version": "7.0.0",
"version": "7.0.1",
"description": "PostCSS plugin to unwrap nested rules like how Sass does it",
"keywords": [
"postcss",
Expand Down Expand Up @@ -44,7 +44,7 @@
"eslint": "^9.13.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-n": "^17.11.1",
"eslint-plugin-n": "^17.12.0",
"eslint-plugin-node-import": "^1.0.4",
"eslint-plugin-perfectionist": "^3.9.1",
"eslint-plugin-prefer-let": "^4.0.0",
Expand Down
32 changes: 16 additions & 16 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d740684

Please sign in to comment.