This commit is contained in:
2022-07-18 02:50:52 +00:00
parent befd344ab0
commit 06181b34d6
8569 changed files with 818704 additions and 352705 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ function getNodeModuleDirectory(directory) {
module.exports = (options = {}) => {
if (env.CACHE_DIR && !['true', 'false', '1', '0'].includes(env.CACHE_DIR)) {
return useDirectory(path.join(env.CACHE_DIR, 'find-cache-dir'), options);
return useDirectory(path.join(env.CACHE_DIR, options.name), options);
}
let {cwd: directory = cwd()} = options;
+12 -12
View File
@@ -1,32 +1,32 @@
{
"_args": [
[
"find-cache-dir@3.3.1",
"/mnt/Foxconn/Digitalent/Deverloper/liff-push_2series"
"find-cache-dir@3.3.2",
"/home/node/nuxt"
]
],
"_from": "find-cache-dir@3.3.1",
"_id": "find-cache-dir@3.3.1",
"_from": "find-cache-dir@3.3.2",
"_id": "find-cache-dir@3.3.2",
"_inBundle": false,
"_integrity": "sha512-t2GDMt3oGC/v+BMwzmllWDuJF/xcDtE5j/fCGbqDD7OLuJkj0cfh1YSA5VKPvwMeLFLNDBkwOKZ2X85jGLVftQ==",
"_integrity": "sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==",
"_location": "/cache-loader/find-cache-dir",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "find-cache-dir@3.3.1",
"raw": "find-cache-dir@3.3.2",
"name": "find-cache-dir",
"escapedName": "find-cache-dir",
"rawSpec": "3.3.1",
"rawSpec": "3.3.2",
"saveSpec": null,
"fetchSpec": "3.3.1"
"fetchSpec": "3.3.2"
},
"_requiredBy": [
"/cache-loader"
],
"_resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.1.tgz",
"_spec": "3.3.1",
"_where": "/mnt/Foxconn/Digitalent/Deverloper/liff-push_2series",
"_resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.2.tgz",
"_spec": "3.3.2",
"_where": "/home/node/nuxt",
"bugs": {
"url": "https://github.com/avajs/find-cache-dir/issues"
},
@@ -75,5 +75,5 @@
"scripts": {
"test": "xo && nyc ava"
},
"version": "3.3.1"
"version": "3.3.2"
}
+4 -5
View File
@@ -1,4 +1,4 @@
# find-cache-dir [![Build Status](https://travis-ci.org/avajs/find-cache-dir.svg?branch=master)](https://travis-ci.org/avajs/find-cache-dir) [![Coverage Status](https://coveralls.io/repos/github/avajs/find-cache-dir/badge.svg?branch=master)](https://coveralls.io/github/avajs/find-cache-dir?branch=master)
# find-cache-dir [![Coverage Status](https://codecov.io/gh/avajs/find-cache-dir/branch/master/graph/badge.svg)](https://codecov.io/gh/avajs/find-cache-dir/branch/master)
> Finds the common standard cache directory
@@ -103,13 +103,12 @@ This is helpful for actually putting actual files in the cache!
## Adopters
- [`AVA`](https://ava.li)
- [`ava`](https://avajs.dev)
- [`nyc`](https://github.com/istanbuljs/nyc)
- [`Storybook`](https://storybook.js.org)
- [`storybook`](https://github.com/storybookjs/storybook)
- [`babel-loader`](https://github.com/babel/babel-loader)
- [`eslint-loader`](https://github.com/MoOx/eslint-loader)
- [`Phenomic`](https://phenomic.io)
- [`javascripthon-loader`](https://github.com/Beg-in/javascripthon-loader)
- [More…](https://www.npmjs.com/browse/depended/find-cache-dir)
---