New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

typings-esm-loader

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typings-esm-loader - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

1

esm-loader.d.ts
declare module 'typings-esm-loader' {
//@ts-expect-error tsserver sometimes glitches out and complains about the 'declare global', but still works fine
declare global {

@@ -4,0 +5,0 @@ interface Loader {

2

package.json
{
"name": "typings-esm-loader",
"version": "1.0.0",
"version": "1.0.1",
"description": "Typings for Node.js custom ESM loaders",

@@ -5,0 +5,0 @@ "type": "module",

# ESM Loader Typings
> Typings for Node.js custom ESM loaders
[![license][license-image]][license-url]
[![GitHub version][github-image]][github-url]
[![npm release][npm-image]][npm-url]
[![node-current][node-image]][node-url]
Node.js custom ESM loaders need to be written in JS as they're passed directly to Node.js on startup, but that doesn't mean we can't have types on them.

@@ -8,3 +13,3 @@

```sh
npm i -D jhmaster2000/typings-esm-loader
npm i -D typings-esm-loader
```

@@ -45,1 +50,10 @@

- `Function`: structurally identical to `load` type, used to disambiguate between the user's hook (`load`) and the load function argument passed to it.
[github-url]:https://github.com/jhmaster2000/typings-esm-loader
[github-image]:https://img.shields.io/github/package-json/v/jhmaster2000/typings-esm-loader.svg
[license-url]:https://github.com/jhmaster2000/typings-esm-loader/blob/master/LICENSE
[license-image]:https://img.shields.io/npm/l/typings-esm-loader.svg
[npm-url]:http://npmjs.org/package/typings-esm-loader
[npm-image]:https://img.shields.io/npm/v/typings-esm-loader.svg?color=darkred&label=npm%20release
[node-url]:https://nodejs.org/en/download
[node-image]:https://img.shields.io/node/v/typings-esm-loader.svg
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc