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

Remove get-res dependency from repository #449

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

rvalitov
Copy link
Contributor

@rvalitov rvalitov commented Feb 24, 2025

Remove the get-res dependency from the repository #448 .

  • package.json

    • Remove the get-res dependency from the dependencies section.
    • Remove the @types/get-res dependency from the devDependencies section.
  • source/index.ts

    • Remove the import statement for getResolutions from get-res.
    • Remove the getResolutionsMemoized function.
    • Remove the #resolution method.
    • Update the #viewport method to no longer use getResolutionsMemoized.

Remove the `get-res` dependency from the repository.

* **package.json**
  - Remove the `get-res` dependency from the `dependencies` section.
  - Remove the `@types/get-res` dependency from the `devDependencies` section.

* **source/index.ts**
  - Remove the import statement for `getResolutions` from `get-res`.
  - Remove the `getResolutionsMemoized` function.
  - Remove the `#resolution` method.
  - Update the `#viewport` method to no longer use `getResolutionsMemoized`.
* Remove the reference to `w3counter` keyword and W3C resolutions from the usage section
@sindresorhus
Copy link
Owner

You missed some references. It's expected that if you use AI to do the work, at least review the work.

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.

2 participants