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

chore(deps): bump nsfwjs from 2.4.2 to 4.1.0 #142

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 11, 2024

Bumps nsfwjs from 2.4.2 to 4.1.0.

Release notes

Sourced from nsfwjs's releases.

Making sure /dist/models/ is included in build

  • updating npmignore (#836) 301d790
  • build(deps-dev): bump terser from 5.28.1 to 5.29.1 (#834) d1c7af5
  • npmignore Netlify.toml file (#835) f41912c
  • readme link fixes (#832) 7b64a6e

infinitered/nsfwjs@v4.0.0...v4.1.0

Bundling Models

  • build(deps-dev): bump np from 9.2.0 to 10.0.0 (#830) 3382745
  • build(deps-dev): bump terser from 5.28.0 to 5.28.1 (#828) 331b315
  • [Non-breaking] Bundling models into the package itself. (#811) 39aa4cb
  • build(deps-dev): bump terser from 5.27.2 to 5.28.0 (#827) e88bce5
  • build(deps-dev): bump terser from 5.27.1 to 5.27.2 (#826) f257733
  • build(deps-dev): bump terser from 5.27.0 to 5.27.1 (#825) 501942d
  • Blocking RU from accessing site (#823) 287021b
  • adding a precheck step to make sure we run npm run shipit before shipping a new build version (#822) 28192db

infinitered/nsfwjs@v3.0.0...v4.0.0

Version bumps, removing GIF support, warning is using IR model, and many other fun stuff

  • Upgrading CI Node Version and np (#821) bb5be16
  • Cleanup (#820) 82dec3c
  • removing classifygif and all that relates to it (#819) f0233db
  • Throwing console.warn if no model path (#817) bbd68e8
  • build(deps-dev): bump ts-node from 10.9.1 to 10.9.2 (#803) 5afc987
  • build(deps-dev): bump typescript from 5.3.2 to 5.3.3 (#802) 57cbcfd
  • build(deps-dev): bump terser from 5.23.0 to 5.27.0 (#812) f2c1e42
  • build(deps-dev): bump @​tensorflow/tfjs from 4.10.0 to 4.17.0 (#814) c28b3af
  • Update footer links (#813) 486abea
  • Update README.md (#809) 88850ae
  • build(deps-dev): bump typescript from 5.2.2 to 5.3.2 (#797) 531bae8
  • build(deps-dev): bump terser from 5.19.3 to 5.23.0 (#793) 756086d
  • build(deps-dev): bump terser from 5.19.2 to 5.19.3 (#781) 06eaec5
  • build(deps-dev): bump typescript from 5.1.6 to 5.2.2 (#780) 3d73f98
  • build(deps-dev): bump @​tensorflow/tfjs from 4.9.0 to 4.10.0 (#776) 95f3398
  • build(deps-dev): bump terser from 5.18.2 to 5.19.2 (#774) 4d1154f
  • build(deps-dev): bump @​tensorflow/tfjs from 4.8.0 to 4.9.0 (#773) 1da15da
  • build(deps-dev): bump @​tensorflow/tfjs from 4.6.0 to 4.8.0 (#765) 415777e
  • build(deps-dev): bump terser from 5.18.1 to 5.18.2 (#767) e7e166a
  • build(deps-dev): bump typescript from 5.1.3 to 5.1.6 (#769) 58ebb53
  • build(deps-dev): bump all-contributors-cli from 6.26.0 to 6.26.1 (#770) 6ecdef0
  • build(deps-dev): bump terser from 5.18.0 to 5.18.1 (#764) 0fe23f8
  • build(deps-dev): bump terser from 5.17.6 to 5.18.0 (#761) e6e7221
  • build(deps-dev): bump typescript from 5.0.4 to 5.1.3 (#754) f7a6925
  • build(deps-dev): bump @​tensorflow/tfjs from 4.5.0 to 4.6.0 (#747) 6b4cac2
  • build(deps-dev): bump terser from 5.17.1 to 5.17.6 (#749) 9fddee2
  • build(deps-dev): bump all-contributors-cli from 6.24.0 to 6.26.0 (#751) bd26867
  • build(deps-dev): bump @​tensorflow/tfjs from 4.4.0 to 4.5.0 (#742) 0fa9114
  • build(deps-dev): bump terser from 5.16.8 to 5.17.1 (#736) 5b34f6c

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by mazenchami, a new releaser for nsfwjs since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [nsfwjs](https://github.com/infinitered/nsfwjs) from 2.4.2 to 4.1.0.
- [Release notes](https://github.com/infinitered/nsfwjs/releases)
- [Commits](https://github.com/infinitered/nsfwjs/commits/v4.1.0)

---
updated-dependencies:
- dependency-name: nsfwjs
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Mar 11, 2024
@github-actions github-actions bot enabled auto-merge March 11, 2024 15:15
Copy link
Contributor

This PR is not covered by Obama Care please go through the nearest Obama Care office to get it approved

Copy link

sonarcloud bot commented Mar 11, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link
Contributor

Coverage report

Caution

Test run failed

St.
Category Percentage Covered / Total
🟡 Statements
69.04% (+0.27% 🔼)
504/730
🔴 Branches
49.11% (+1.18% 🔼)
166/338
🟡 Functions
66.67% (-5.56% 🔻)
60/90
🟡 Lines
70.48% (+0.29% 🔼)
487/691
Show files with reduced coverage 🔻
St.
File Statements Branches Functions Lines
🟡
... / v3_NSFWModel.js
77.64% (-0.84% 🔻)
65.16%
61.9% (-23.81% 🔻)
79.2% (-0.88% 🔻)

Test suite run failed

Failed tests: 2/20. Failed suites: 1/2.
  ● v3 Classification API Test › GET /api/v3/classification/https://cdn.discordapp.com/attachments/997389718163566652/1000542968052207708/unknown.png

    expected 200 "OK", got 404 "Not Found"

      48 |         test("GET /api/v3/classification/" + url, async () => {
      49 |             return await request.get("/api/v3/classification/" + encodeURIComponent(url))
    > 50 |                 .expect(200)
         |                  ^
      51 |                 .expect('Content-Type', /json/)
      52 |                 .expect((res) => {
      53 |                     expect(res.body.data.data).toBeDefined();

      at Object.expect (test/v3.test.js:50:18)
      ----
      at Test._assertStatus (node_modules/supertest/lib/test.js:252:14)
      at node_modules/supertest/lib/test.js:308:13
      at Test._assertFunction (node_modules/supertest/lib/test.js:285:13)
      at Test.assert (node_modules/supertest/lib/test.js:164:23)
      at Server.localAssert (node_modules/supertest/lib/test.js:120:14)

  ● v3 Classification API Test › GET /api/v3/classification/https://upload.wikimedia.org/wikipedia/commons/3/3e/Exploding_Wikipedia-logo.gif

    expected 200 "OK", got 500 "Internal Server Error"

      48 |         test("GET /api/v3/classification/" + url, async () => {
      49 |             return await request.get("/api/v3/classification/" + encodeURIComponent(url))
    > 50 |                 .expect(200)
         |                  ^
      51 |                 .expect('Content-Type', /json/)
      52 |                 .expect((res) => {
      53 |                     expect(res.body.data.data).toBeDefined();

      at Object.expect (test/v3.test.js:50:18)
      ----
      at Test._assertStatus (node_modules/supertest/lib/test.js:252:14)
      at node_modules/supertest/lib/test.js:308:13
      at Test._assertFunction (node_modules/supertest/lib/test.js:285:13)
      at Test.assert (node_modules/supertest/lib/test.js:164:23)
      at Server.localAssert (node_modules/supertest/lib/test.js:120:14)

Report generated by 🧪jest coverage report action from 5f49a22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code requires-manual-qa
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants