Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

import-fresh

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

import-fresh - npm Package Compare versions

Comparing version 3.2.2 to 3.3.0

4

index.d.ts

@@ -24,6 +24,8 @@ /**

//=> 1
const foo = importFresh<typeof import('./foo')>('./foo');
```
*/
declare function importFresh(moduleId: string): unknown;
declare function importFresh<T>(moduleId: string): T;
export = importFresh;
{
"name": "import-fresh",
"version": "3.2.2",
"version": "3.3.0",
"description": "Import a module while bypassing the cache",
"license": "MIT",
"repository": "sindresorhus/import-fresh",
"funding": "https://github.com/sponsors/sindresorhus",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
"url": "https://sindresorhus.com"
},

@@ -12,0 +13,0 @@ "engines": {

@@ -1,2 +0,2 @@

# import-fresh [![Build Status](https://travis-ci.org/sindresorhus/import-fresh.svg?branch=master)](https://travis-ci.org/sindresorhus/import-fresh)
# import-fresh

@@ -7,3 +7,2 @@ > Import a module while bypassing the [cache](https://nodejs.org/api/modules.html#modules_caching)

## Install

@@ -15,3 +14,2 @@

## Usage

@@ -41,3 +39,2 @@

## import-fresh for enterprise

@@ -49,3 +46,2 @@

## Related

@@ -52,0 +48,0 @@

Sorry, the diff of this file is not supported yet

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