Skip to content

fix: preserve comment lines with quotes + modernize deps (#1)#55

Open
Miniluchi wants to merge 2 commits intoluqmanoop:mainfrom
Miniluchi:main
Open

fix: preserve comment lines with quotes + modernize deps (#1)#55
Miniluchi wants to merge 2 commits intoluqmanoop:mainfrom
Miniluchi:main

Conversation

@Miniluchi
Copy link
Copy Markdown

  • fix: preserve comment lines with quotes and modernize dependencies

Fix issue #54: emptyObjProps() now checks _COMMENT keys before the # logic, preventing comment text from being truncated when it contains single or double quotes. Two regression tests added.

Dependency updates (107 → 9 vulnerabilities, all remaining in dev tools):

  • meow 5 → 8.1.2 (last CJS release; update flags API with explicit aliases)
  • TypeScript 3.9 → 5.4
  • mocha 6 → 10, ts-node 8 → 10, nyc 14 → 15
  • sinon 7 → 17, chai 4.2 → 4.4, nodemon 1 → 3, rimraf 2 → 5
  • eslint 5 → 8 with @typescript-eslint plugin; remove babel-eslint
  • Remove parcel-plugin-shebang (dragged in parcel-bundler v1 CVEs)
  • Remove coveralls and np (both depend on abandoned request library)
  • Replace test/mocha.opts with .mocharc.yml (mocha 10 dropped .opts)
  • Update tsconfig target to ES2020
  • chore: remove parcel targets config and ignore parcel cache

  • chore: ignore compiled TypeScript output in lib/

Miniluchi added 2 commits May 4, 2026 21:19
* fix: preserve comment lines with quotes and modernize dependencies

Fix issue luqmanoop#54: emptyObjProps() now checks __COMMENT_ keys before the #
logic, preventing comment text from being truncated when it contains
single or double quotes. Two regression tests added.

Dependency updates (107 → 9 vulnerabilities, all remaining in dev tools):
- meow 5 → 8.1.2 (last CJS release; update flags API with explicit aliases)
- TypeScript 3.9 → 5.4
- mocha 6 → 10, ts-node 8 → 10, nyc 14 → 15
- sinon 7 → 17, chai 4.2 → 4.4, nodemon 1 → 3, rimraf 2 → 5
- eslint 5 → 8 with @typescript-eslint plugin; remove babel-eslint
- Remove parcel-plugin-shebang (dragged in parcel-bundler v1 CVEs)
- Remove coveralls and np (both depend on abandoned request library)
- Replace test/mocha.opts with .mocharc.yml (mocha 10 dropped .opts)
- Update tsconfig target to ES2020

* chore: remove parcel targets config and ignore parcel cache

* chore: ignore compiled TypeScript output in lib/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant