Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend file type (updated) #603

Merged

Commits on Jul 14, 2023

  1. Configuration menu
    Copy the full SHA
    bda3f46 View commit details
    Browse the repository at this point in the history
  2. Simplify logic in runCustomDetectors

    Fredrik committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    6007eff View commit details
    Browse the repository at this point in the history
  3. add custom detectors to fileTypeFromStream

    Fredrik committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    c3dba6e View commit details
    Browse the repository at this point in the history
  4. fix linting issue

    Fredrik committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    fab97ae View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2023

  1. Execute custom detectors before default ones

    Fredrik committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    c7c3190 View commit details
    Browse the repository at this point in the history
  2. add tests

    Fredrik committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    4bcddff View commit details
    Browse the repository at this point in the history
  3. fix docs

    Fredrik committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    733bfac View commit details
    Browse the repository at this point in the history
  4. compatibility with Node.js 14 and 16

    Fredrik committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    37e1e57 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2023

  1. Remove blank space

    Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
    FredrikSchaefer and sindresorhus committed Jul 25, 2023
    Configuration menu
    Copy the full SHA
    bfd18b1 View commit details
    Browse the repository at this point in the history
  2. Wrap custom detectors into file type options

    Fredrik committed Jul 25, 2023
    Configuration menu
    Copy the full SHA
    ee4cb2c View commit details
    Browse the repository at this point in the history
  3. Merge branch 'extend-file-type-updated' of github.com:FredrikSchaefer…

    …/file-type into extend-file-type-updated
    Fredrik committed Jul 25, 2023
    Configuration menu
    Copy the full SHA
    ad6d44f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    29930bf View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2023

  1. Moved custom detectors from function to constructor argument

    Added detectionImpossible to allow interruption by custom detectors
    Updated doc of fileTypeFromFile
    Fredrik committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    7ea6efd View commit details
    Browse the repository at this point in the history
  2. fix fileTypeStream (add back fileTypeOptions)

    Fredrik committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    748ffee View commit details
    Browse the repository at this point in the history
  3. Update documentation

    Fredrik committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    2adec69 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2023

  1. add check for illegal tokenizer position change

    Fredrik committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    0d1464c View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2023

  1. Update core.d.ts

    Co-authored-by: Borewit <Borewit@users.noreply.github.com>
    FredrikSchaefer and Borewit committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    6b6188c View commit details
    Browse the repository at this point in the history
  2. Update core.d.ts

    Co-authored-by: Borewit <Borewit@users.noreply.github.com>
    FredrikSchaefer and Borewit committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    6806753 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    61e052e View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2023

  1. Configuration menu
    Copy the full SHA
    eed198d View commit details
    Browse the repository at this point in the history
  2. Make runCustomDetectors private

    Fredrik committed Oct 24, 2023
    Configuration menu
    Copy the full SHA
    ff84f3e View commit details
    Browse the repository at this point in the history
  3. Add class based approach to fileTypeStream

    Fredrik committed Oct 24, 2023
    Configuration menu
    Copy the full SHA
    326ccd1 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2023

  1. Change error handling for read operations of custom detectors

    The logic will now return undefined if the tokenizer.position was changed without providing a file type result. Previously, an error was thrown.
    Fredrik committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    011fa53 View commit details
    Browse the repository at this point in the history
  2. Remove obsolete @throws from documentation

    Fredrik committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    b346f7c View commit details
    Browse the repository at this point in the history
  3. Make usage of FileTypeParser class consistent

    Fredrik committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    9e24ed9 View commit details
    Browse the repository at this point in the history
  4. Rename stream(...) to toDetectingStream(...)

    Fredrik committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    a926bf2 View commit details
    Browse the repository at this point in the history
  5. Fix error handling

    Fredrik committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    5e2a0fd View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f38565d View commit details
    Browse the repository at this point in the history
  7. Merge pull request #2 from sindresorhus/extend-file-type-updated-sugg…

    …ested-code-changes
    
    Suggested changes to simplify code
    FredrikSchaefer committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    e25c294 View commit details
    Browse the repository at this point in the history
  8. Fix TypeScript declaration

    Fredrik committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    080ac75 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2023

  1. Configuration menu
    Copy the full SHA
    de706c5 View commit details
    Browse the repository at this point in the history
  2. Make code examples executable.

    Explain role of `blob` argument in function comment.
    Borewit committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    331502d View commit details
    Browse the repository at this point in the history
  3. Remove empty comment lines

    Borewit committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    9d85f05 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ede94d9 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2023

  1. Configuration menu
    Copy the full SHA
    ca6e449 View commit details
    Browse the repository at this point in the history
  2. Update core.d.ts

    sindresorhus committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    a50e37a View commit details
    Browse the repository at this point in the history