Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
@esri/arcgis-rest-fetch
Advanced tools
This package exists to expose the `node-fetch` package in a consistent way for both Node JS 12.16+ and various bundlers with consistent TypeScript types based on the browser types.
@esri/arcgis-rest-request
This package exists to expose the node-fetch
package in a consistent way for both Node JS 12.16+ and various bundlers with consistent TypeScript types based on the browser types.
This exposes a getFetch()
method that returns a Promise that resolves with fetch
, Headers
, Request
and Response
. This is async because it uses import("node-fetch")
under to hood to load node-fetch@3.0.0
which is ESM only. The only way to load an ESM module in CommonJS in Node is to use the async import()
.
The package.json
contains fields for the following:
main
- undefined
, Node JS should use the exports
field and conditional exports.module
- Exposes a ESM module. Used by Rollup and Parcel v2.browser
- Exposes a CJS module. Used by Parcel v1 and Browserify.exports
- exposes conditional exports config with the following conditions. Used by Webpack and soon to be others:
module
- ESM module exposing browser globals.browser
- CJS module exposing browser globals.import
- ESM module exposing node-fetch
.require
- CJS module exposing node-fetch
.default
- ESM module exposing browser globals.FAQs
This package exists to expose the `node-fetch` package in a consistent way for both Node JS 12.16+ and various bundlers with consistent TypeScript types based on the browser types.
The npm package @esri/arcgis-rest-fetch receives a total of 4,848 weekly downloads. As such, @esri/arcgis-rest-fetch popularity was classified as popular.
We found that @esri/arcgis-rest-fetch demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 40 open source maintainers 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
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.