global-cache-dir
Advanced tools
Comparing version 4.3.1 to 4.4.0
@@ -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()`. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
6237
78
1