Skip to content

Conversation

@karfau
Copy link
Member

@karfau karfau commented Aug 31, 2024

  • DOMExceptionName
  • convert enums MIME_TYPE and NAMESPACE to var and literal type to reflect actual code
  • widen function parameters from enums to strings
  • hasDefaultHTMLNamespace
  • dropped /// <reference lib="dom" /> (added @types/node to examples for console and process.exit)
  • DOMImplementation, Document, Node, DocumentType
  • NodeList, LiveNodeList
  • Element, Attr, NamedNodeMap
  • CharacterData, CDATASection, Comment, Text
  • DocumentFragment
  • EntityReference, Entity, Notation, ProcessingInstruction

fixes #695

and export enum DOMExceptionName
@codecov
Copy link

codecov bot commented Aug 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.35%. Comparing base (b862d13) to head (3b5af22).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #717      +/-   ##
==========================================
+ Coverage   94.26%   94.35%   +0.09%     
==========================================
  Files           8        8              
  Lines        2094     2092       -2     
  Branches      537      537              
==========================================
  Hits         1974     1974              
+ Misses        120      118       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

and drop Element methods from Node prototype
karfau added 4 commits August 31, 2024 08:52
for supporting `console.*`
to avoid CodeQL warning.
This revealed some issues in the implementation and types,
which were fixed along the way
- drop `ParseError.cause` since it never worked
@karfau karfau added bug Something isn't working types Anything regarding Typescript labels Aug 31, 2024
@karfau karfau added this to the 0.9.1 milestone Aug 31, 2024
@karfau karfau linked an issue Aug 31, 2024 that may be closed by this pull request
instead of just the enum values to be passed
- drop copied references to NoteListOf and generics
- include index.d.ts into `format` script
@karfau karfau marked this pull request as ready for review September 4, 2024 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working types Anything regarding Typescript

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing type definitions The current types include globals that don't exist in Node

2 participants