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

global-cache-dir

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

global-cache-dir - npm Package Compare versions

Comparing version 4.3.1 to 4.4.0

build/types/main.d.ts

2

build/src/main.js

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

import{mkdir}from"fs/promises";
import{mkdir}from"node:fs/promises";

@@ -3,0 +3,0 @@ import getCacheDir from"cachedir";

{
"name": "global-cache-dir",
"version": "4.3.1",
"version": "4.4.0",
"type": "module",
"exports": "./build/src/main.js",
"exports": {
"types": "./build/types/main.d.ts",
"default": "./build/src/main.js"
},
"main": "./build/src/main.js",
"types": "./build/src/main.d.ts",
"types": "./build/types/main.d.ts",
"files": [
"build/src/**/*.{js,d.ts,json}"
"build/src/**/*.{js,json}",
"build/types/**/*.d.ts"
],
"sideEffects": false,
"scripts": {

@@ -53,4 +58,4 @@ "test": "gulp test"

"devDependencies": {
"@ehmicky/dev-tasks": "^1.0.94",
"test-each": "^5.4.1"
"@ehmicky/dev-tasks": "^1.0.102",
"test-each": "^5.5.0"
},

@@ -57,0 +62,0 @@ "engines": {

@@ -1,6 +0,6 @@

[![Codecov](https://img.shields.io/codecov/c/github/ehmicky/global-cache-dir.svg?label=tested&logo=codecov)](https://codecov.io/gh/ehmicky/global-cache-dir)
[![TypeScript](https://img.shields.io/badge/-typed-brightgreen?logo=typescript&colorA=gray&logoColor=0096ff)](/src/main.d.ts)
[![Node](https://img.shields.io/node/v/global-cache-dir.svg?logo=node.js&logoColor=66cc33)](https://www.npmjs.com/package/global-cache-dir)
[![Twitter](https://img.shields.io/badge/%E2%80%8B-twitter-brightgreen.svg?logo=twitter)](https://twitter.com/intent/follow?screen_name=ehmicky)
[![Medium](https://img.shields.io/badge/%E2%80%8B-medium-brightgreen.svg?logo=medium)](https://medium.com/@ehmicky)
[![Node](https://img.shields.io/badge/-Node.js-808080?logo=node.js&colorA=404040&logoColor=66cc33)](https://www.npmjs.com/package/global-cache-dir)
[![TypeScript](https://img.shields.io/badge/-Typed-808080?logo=typescript&colorA=404040&logoColor=0096ff)](/types/main.d.ts)
[![Codecov](https://img.shields.io/badge/-Tested%20100%25-808080?logo=codecov&colorA=404040)](https://codecov.io/gh/ehmicky/global-cache-dir)
[![Twitter](https://img.shields.io/badge/-Twitter-808080.svg?logo=twitter&colorA=404040)](https://twitter.com/intent/follow?screen_name=ehmicky)
[![Medium](https://img.shields.io/badge/-Medium-808080.svg?logo=medium&colorA=404040)](https://medium.com/@ehmicky)

@@ -31,3 +31,4 @@ Get the global cache directory.

This package is an ES module and must be loaded using
This package works in Node.js >=14.18.0. It is an ES module and must be loaded
using
[an `import` or `import()` statement](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c),

@@ -34,0 +35,0 @@ not `require()`.

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