Socket
Socket
Sign inDemoInstall

imgbb-uploader

Package Overview
Dependencies
0
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1

1.1.0

Diff

Changelog

Source

1.1.0

Module overhaul:
Seeing some people found this module useful made me glad, so I decided to give it some love.

  • Becomes dependency-free
    The respectable request module was the only external dependency, but now that's unsupported, as npm install spams everytime, it's problematic.
    While I could have replaced it with Axios, I preferred reinventing that wheel using standard node https. It should hold for the years to come.

  • TypeScript support
    TypeScript is all the rage and I'm still in the process of learning it. That's why I thought it was interesting to make this module TS compatible, without breaking compatibility for the require(); users.

  • Better integration for VSCode
    I've discovered JSDoc since then. It should benefit even non-TypeScript users.

  • Change code style I have semi colons everywhere except in this little module. Fixed that. Long live semi colons :)

  • Upgraded file architecture & CI
    This is the resource that guided me through the TS/Jest stack, it was an interesting adventure.
    I made my best to ensure this update won't break anything for you, but if it is the case, please open an issue :)

Todo:
Write more in CONTRIBUTING.md so this module remains easy to fork & tweak. It may look more bloated than before, but I'm convinced decent documentation should fix it.

Making .mjs import work. Hopefully soon
Supporting browsers (afterall why not)
Supporting passing filename parameter
Supporting arrays (in the very bottom of the list tbh)

therealbarenziah
published 1.0.3 •

therealbarenziah
published 1.0.1 •

Changelog

Source

1.0.1

Fix README

therealbarenziah
published 1.0.0 •

Changelog

Source

1.0.0

Replace var and function with proper ES6 syntax & update README

therealbarenziah
published 0.1.2 •

therealbarenziah
published 0.1.1 •

therealbarenziah
published 0.1.0 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc