Skip to content

Conversation

@deflis
Copy link
Owner

@deflis deflis commented Feb 27, 2024

This pull request removes the dependency on node-fetch and updates the package.json file with new dependencies and scripts. It also updates the bundler configuration and changes the test command to use vitest run instead of jest. Additionally, it updates the npm publishing workflow to use pnpm instead of npm.

@socket-security
Copy link

socket-security bot commented Feb 27, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@types/node@20.11.20 None +1 4.07 MB types
npm/@typescript-eslint/eslint-plugin@7.1.0 Transitive: environment, eval, filesystem, shell, unsafe +129 49 MB jameshenry
npm/@typescript-eslint/parser@7.1.0 Transitive: environment, eval, filesystem, shell, unsafe +124 45.9 MB jameshenry
npm/@vitest/coverage-v8@1.3.1 Transitive: environment, filesystem, network, shell, unsafe +113 23.6 MB antfu, oreanno, patak, ...1 more
npm/date-fns@3.3.1 None 0 4.86 MB kossnocorp
npm/eslint-config-prettier@9.1.0 Transitive: environment, eval, filesystem, shell, unsafe +99 10.8 MB lydell
npm/eslint-plugin-prettier@5.1.3 Transitive: environment, eval, filesystem, shell, unsafe +106 19.4 MB jounqin
npm/eslint@8.57.0 environment, filesystem Transitive: eval, shell, unsafe +98 10.8 MB eslintbot
npm/prettier@3.2.5 environment, filesystem, unsafe 0 8.39 MB prettier-bot
npm/run-z@2.0.0 Transitive: environment, filesystem, shell +30 1.78 MB lorus
npm/tsup@8.0.2 environment, eval, filesystem Transitive: network, shell, unsafe +109 42.1 MB egoist
npm/typescript@5.3.3 None 0 32 MB typescript-bot
npm/vitest@1.3.1 Transitive: environment, filesystem, network, shell, unsafe +72 16.3 MB antfu, oreanno, patak, ...1 more

🚮 Removed packages: npm/@types/jest@29.5.8, npm/@types/node-fetch@2.6.9, npm/@types/node@20.9.0, npm/@typescript-eslint/eslint-plugin@6.10.0, npm/@typescript-eslint/parser@6.10.0, npm/date-fns@2.30.0, npm/eslint-config-prettier@9.0.0, npm/eslint-plugin-prettier@5.0.1, npm/eslint@8.53.0, npm/jest@29.7.0, npm/node-fetch@2.7.0, npm/npm-run-all@4.1.5, npm/prettier@3.0.3, npm/ts-jest@29.1.1, npm/tsup@7.2.0, npm/typescript@5.2.2

View full report↗︎

@github-actions
Copy link

github-actions bot commented Feb 27, 2024

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 81.71% 1734 / 2122
🔵 Statements 81.71% 1734 / 2122
🔵 Functions 30.58% 26 / 85
🔵 Branches 75.51% 37 / 49
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
src/index.browser.ts 0% 0% 0% 0% 1-74
src/index.common.ts 100% 100% 100% 100%
src/index.ts 83.95% 66.66% 60% 83.95% 35-41, 47-50, 71-72
src/narou-fetch.ts 100% 100% 100% 100%
src/narou-jsonp.ts 38.46% 100% 0% 38.46% 10-25
src/narou-ranking-results.ts 0% 0% 0% 0% 1-23
src/narou-search-results.ts 100% 50% 100% 100%
src/narou.ts 90.59% 100% 66.66% 90.59% 76-82, 113-116
src/params.ts 100% 100% 100% 100%
src/ranking-history.ts 100% 100% 100% 100%
src/ranking.ts 92.75% 72.72% 71.42% 92.75% 49-51, 61-63, 113, 115, 121-122
src/search-builder-r18.ts 71.42% 100% 0% 71.42% 34-35, 38-40, 47-49, 56-61, 64-69
src/search-builder.ts 69.54% 90% 21.95% 69.54% 52-53, 70-72, 79-80, 89-91, 119-121, 132-134, 141-143, 150-152, 159-161, 168-170, 177-179, 186-192, 199-205, 212-218, 225-231, 238-244, 251-253, 260-262, 272-280, 287-289, 296-298, 314-316, 323-325, 332-334, 341-343, 354-367, 391-393, 400-402, 409-411, 418-420, 427-429, 436-442, 457-462
src/user-search.ts 70.9% 100% 0% 70.9% 22-24, 32-34, 40-42, 51-53, 60-62, 69-71, 78-80, 87-89, 96-101, 108-109
Generated in workflow #22

@github-actions
Copy link

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 81.71% 1734 / 2122
🔵 Statements 81.71% 1734 / 2122
🔵 Functions 30.58% 26 / 85
🔵 Branches 75.51% 37 / 49
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
src/index.browser.ts 0% 0% 0% 0% 1-74
src/index.common.ts 100% 100% 100% 100%
src/index.ts 83.95% 66.66% 60% 83.95% 35-41, 47-50, 71-72
src/narou-fetch.ts 100% 100% 100% 100%
src/narou-jsonp.ts 38.46% 100% 0% 38.46% 10-25
src/narou-ranking-results.ts 0% 0% 0% 0% 1-23
src/narou-search-results.ts 100% 50% 100% 100%
src/narou.ts 90.59% 100% 66.66% 90.59% 76-82, 113-116
src/params.ts 100% 100% 100% 100%
src/ranking-history.ts 100% 100% 100% 100%
src/ranking.ts 92.75% 72.72% 71.42% 92.75% 49-51, 61-63, 113, 115, 121-122
src/search-builder-r18.ts 71.42% 100% 0% 71.42% 34-35, 38-40, 47-49, 56-61, 64-69
src/search-builder.ts 69.54% 90% 21.95% 69.54% 52-53, 70-72, 79-80, 89-91, 119-121, 132-134, 141-143, 150-152, 159-161, 168-170, 177-179, 186-192, 199-205, 212-218, 225-231, 238-244, 251-253, 260-262, 272-280, 287-289, 296-298, 314-316, 323-325, 332-334, 341-343, 354-367, 391-393, 400-402, 409-411, 418-420, 427-429, 436-442, 457-462
src/user-search.ts 70.9% 100% 0% 70.9% 22-24, 32-34, 40-42, 51-53, 60-62, 69-71, 78-80, 87-89, 96-101, 108-109
Generated in workflow #21

@deflis deflis merged commit 787a0b3 into master Feb 27, 2024
@deflis deflis deleted the native-fetch branch February 27, 2024 13:56
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