
Security News
RubyGems Adds Cooldown Feature to Bundler for Newly Published Gems
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.
@deanacus/ajax
Advanced tools
A simple little wrapper around XMLHttpRequest to promisify getting and sending data.
Build solely as an excuse to get started learning how to create and resolve promises
Use npm npm install --save @deanacus/ajax
Import the library into your file:
import '@deanacus/ajax'
Then, depending on if you want to get data, or send data, use the appropriate interface.
To request data, call ajax.get()
Paramaters:
| Option | Value type | Description |
|---|---|---|
| endpoint | string | The URL to which you would like to make the request |
| headers | object | An object containing the key/value pairs to set as request headers |
To send data, call ajax.send()
Paramaters:
| Option | Value type | Description |
|---|---|---|
| endpoint | string | The URL to which you would like to send the request |
| payload | any | The data you wish to send to the enpoint. This is not processed in any way |
| headers | object | An object container the key/value pairs to set as request headers |
FAQs
A simple promise based wrapper for XHR
We found that @deanacus/ajax demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.