From dc2e78ccccb015105b8d333eb83e74fd1b1fc06a Mon Sep 17 00:00:00 2001 From: elrrrrrrr Date: Wed, 13 Sep 2023 22:43:55 +0800 Subject: [PATCH] fix: root link (#30) fix the potential issue of abnormal project dependency linking in npminstall mode. --- .gitignore | 1 + packages/cli/lib/npm_fs/tnpm_fs_builder.js | 15 +- .../npm_fs/package_link_root/npm.config.json | 102 ++ .../package_link_root/npm.tar.index.json | 1 + .../package_link_root/package-lock.json | 64 + .../npm_fs/package_link_root/tar.index.json | 1 + .../package_link_root/tnpm.tar.index.json | 1471 +++++++++++++++++ .../package_link_root/uuid@3.4.0.package.json | 135 ++ .../package_link_root/uuid@9.0.0.package.json | 135 ++ packages/cli/test/npm_fs.test.js | 20 + 10 files changed, 1944 insertions(+), 1 deletion(-) create mode 100644 packages/cli/test/fixtures/npm_fs/package_link_root/npm.config.json create mode 100644 packages/cli/test/fixtures/npm_fs/package_link_root/npm.tar.index.json create mode 100644 packages/cli/test/fixtures/npm_fs/package_link_root/package-lock.json create mode 100644 packages/cli/test/fixtures/npm_fs/package_link_root/tar.index.json create mode 100644 packages/cli/test/fixtures/npm_fs/package_link_root/tnpm.tar.index.json create mode 100644 packages/cli/test/fixtures/npm_fs/package_link_root/uuid@3.4.0.package.json create mode 100644 packages/cli/test/fixtures/npm_fs/package_link_root/uuid@9.0.0.package.json diff --git a/.gitignore b/.gitignore index d8d217e..33516f7 100644 --- a/.gitignore +++ b/.gitignore @@ -117,3 +117,4 @@ package-lock.json # napi-rs generate wrong type ignore for tmp packages/binding/index.d.ts +.DS_Store diff --git a/packages/cli/lib/npm_fs/tnpm_fs_builder.js b/packages/cli/lib/npm_fs/tnpm_fs_builder.js index cd05866..57ed396 100644 --- a/packages/cli/lib/npm_fs/tnpm_fs_builder.js +++ b/packages/cli/lib/npm_fs/tnpm_fs_builder.js @@ -125,8 +125,21 @@ class TnpmFsBuilder { } // 创建打平到 node_modules 依赖信息 + // 优先取项目依赖中的版本 createFlattenDepLinks(name, version, originName, blobId) { - if (this.latestVersions.get(name) !== version) return; + const projectVersion = this.projectVersions.get(name); + // 如果在项目中已声明了依赖 + // 则只 link 项目中声明的版本 + if (projectVersion && projectVersion !== version) { + return; + } + + // 对于间接依赖 + // 才创建最新版的软链 + if (!projectVersion && this.latestVersions.get(name) !== version) { + return; + } + const displayName = Util.getDisplayName({ name: originName, version }, this.mode); const linkPath = path.relative(path.dirname(path.join('node_modules', name)), path.join('node_modules', displayName)); this.fsMeta.addEntry(blobId, Util.generateSymbolLink(name, linkPath, this.uid, this.gid, true)); diff --git a/packages/cli/test/fixtures/npm_fs/package_link_root/npm.config.json b/packages/cli/test/fixtures/npm_fs/package_link_root/npm.config.json new file mode 100644 index 0000000..d8f277a --- /dev/null +++ b/packages/cli/test/fixtures/npm_fs/package_link_root/npm.config.json @@ -0,0 +1,102 @@ +{ + "bucket_1.stgz": { + "version": 1, + "entries": [ + { + "name": "@alipay_tnpm-scripts-test@1.0.4/a", + "type": "reg", + "size": 11, + "linkName": "", + "mode": 493, + "uid": 0, + "gid": 0, + "uname": "", + "gname": "", + "offset": 512, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:0282f76a4dc18a92bd8961e754874bc456191edfd08455f4cef50dba1cadaa50", + "chunkOffset": 0, + "chunkSize": 0 + }, + { + "name": "@alipay_tnpm-scripts-test@1.0.4/package.json", + "type": "reg", + "size": 327, + "linkName": "", + "mode": 420, + "uid": 0, + "gid": 0, + "uname": "", + "gname": "", + "offset": 1536, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:9c48eda3d378812c177d3226879fcbd9e6889452e88f87a3017fefb57d225ca1", + "chunkOffset": 0, + "chunkSize": 0 + } + ] + }, + "bucket_0.stgz": { + "version": 1, + "entries": [ + { + "name": "uuid@9.0.0/dist/bin/uuid", + "type": "reg", + "size": 44, + "linkName": "", + "mode": 493, + "uid": 0, + "gid": 0, + "uname": "", + "gname": "", + "offset": 512, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:30b5422b6c95ccdc402effd7d3354ca6a6bce621cf21d0379749ddf1f96c1ad7", + "chunkOffset": 0, + "chunkSize": 0 + }, + { + "name": "uuid@3.4.0/dist/bin/uuid", + "type": "reg", + "size": 44, + "linkName": "", + "mode": 493, + "uid": 0, + "gid": 0, + "uname": "", + "gname": "", + "offset": 512, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:30b5422b6c95ccdc402effd7d3354ca6a6bce621cf21d0379749ddf1f96c1ad7", + "chunkOffset": 0, + "chunkSize": 0 + }, + { + "name": "uuid@8.3.2/dist/bin/uuid", + "type": "reg", + "size": 44, + "linkName": "", + "mode": 493, + "uid": 0, + "gid": 0, + "uname": "", + "gname": "", + "offset": 512, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:30b5422b6c95ccdc402effd7d3354ca6a6bce621cf21d0379749ddf1f96c1ad7", + "chunkOffset": 0, + "chunkSize": 0 + } + ] + } +} diff --git a/packages/cli/test/fixtures/npm_fs/package_link_root/npm.tar.index.json b/packages/cli/test/fixtures/npm_fs/package_link_root/npm.tar.index.json new file mode 100644 index 0000000..5141909 --- /dev/null +++ b/packages/cli/test/fixtures/npm_fs/package_link_root/npm.tar.index.json @@ -0,0 +1 @@ +{"blobIds":["bucket_1.stgz","bucket_0.stgz"],"entries":[{"blobId":"bucket_1.stgz","entry":{"name":"@alipay/tnpm-scripts-test/a","type":"reg","size":11,"linkName":"","mode":493,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":512,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:0282f76a4dc18a92bd8961e754874bc456191edfd08455f4cef50dba1cadaa50","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":".bin/tnpm-scripts-test","type":"symlink","size":0,"linkName":"../@alipay/tnpm-scripts-test/a","mode":493,"uid":1000,"gid":1000,"uname":"admin","gname":"admin","offset":0,"devMajor":0,"devMinor":0,"NumLink":0,"digest":""}},{"blobId":"bucket_1.stgz","entry":{"name":"@alipay/tnpm-scripts-test/package.json","type":"reg","size":327,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":1536,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:9c48eda3d378812c177d3226879fcbd9e6889452e88f87a3017fefb57d225ca1","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/bin/uuid","type":"reg","size":44,"linkName":"","mode":493,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":512,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:30b5422b6c95ccdc402effd7d3354ca6a6bce621cf21d0379749ddf1f96c1ad7","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":".bin/uuid","type":"symlink","size":0,"linkName":"../uuid/dist/bin/uuid","mode":493,"uid":1000,"gid":1000,"uname":"admin","gname":"admin","offset":0,"devMajor":0,"devMinor":0,"NumLink":0,"digest":""}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/esm-browser/index.js","type":"reg","size":412,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":1536,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:3efb8df8c64379c5acbaf0b70ce1a1906375f4b53901b7e90a26863ead50fc30","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/esm-node/index.js","type":"reg","size":412,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":2560,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:3efb8df8c64379c5acbaf0b70ce1a1906375f4b53901b7e90a26863ead50fc30","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/index.js","type":"reg","size":1765,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":3584,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:069a2230d395723583c8e45a7c0fee2622af2fbd08dc35f81e4d57836122e59f","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/md5-browser.js","type":"reg","size":7015,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":6144,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:21a4e167b7ae498e8f3778bac8d7330929099006afca6adfe76b626e0e41d795","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/esm-browser/md5.js","type":"reg","size":6852,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":13824,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:705eb0feeda58a88a5b887cf580e38bb9979dec642dd663b63c9dc485e956728","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/esm-node/md5.js","type":"reg","size":281,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":21504,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:2313329bf3ada8cd17046afeefa761bd7daa3821e140fc55d8c2b94ee7760ed4","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/md5.js","type":"reg","size":550,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":22528,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:6ca6276ff35f19ea462bb8c9d6d290994fa9980fc775deb741811ef947196ced","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/esm-browser/nil.js","type":"reg","size":54,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":24064,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:40036d4ffe78154827eedb9c1b3f59f660722907389725842bbc178ba28d2241","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/esm-node/nil.js","type":"reg","size":54,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":25088,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:40036d4ffe78154827eedb9c1b3f59f660722907389725842bbc178ba28d2241","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/nil.js","type":"reg","size":188,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":26112,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:7395bd919bd1309bcbced245a59dfc6b077f97992a482af2537343e558795b1f","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/esm-browser/parse.js","type":"reg","size":1104,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":27136,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:1efd0e1dd5d7d205a3405f5aee39029ea60bece8a893b2bf742a16c6a51246a6","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/esm-node/parse.js","type":"reg","size":1106,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":29184,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:2743e5b696fb15df389cf3b1a242e56780f7941bbefc23465529d30e851b80f5","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/parse.js","type":"reg","size":1380,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":31232,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:1a87ed6a6bb0a3edbe266ca55aaf1c5af8e963ee9486f74b59cfd615280b21b4","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/esm-browser/regex.js","type":"reg","size":133,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":33280,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:9a546763c108d7eeb7283ce26c7a6845a44bd67132005eb32fd1feeca49d1b3f","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/esm-node/regex.js","type":"reg","size":133,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":34304,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:9a546763c108d7eeb7283ce26c7a6845a44bd67132005eb32fd1feeca49d1b3f","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/regex.js","type":"reg","size":267,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":35328,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:acc4c54d987f100093097f4f156ff245394c39d1332eb2114d7e40db00bd6ddd","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/rng-browser.js","type":"reg","size":1131,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":36352,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:4c88edf4fd7fae3bf84bad34750a55f706c8e522a924af6c6ad22839e3718dd6","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/esm-browser/rng.js","type":"reg","size":1040,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":38400,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:0e1abdc73fa79ff64006ec6675b06a193f55eac039595cc3867e6567e46f2dd7","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/esm-node/rng.js","type":"reg","size":323,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":40448,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:ff667aff9367a48cc713d36764cea05bd30e8ba05392430571c54734fc9fde03","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/rng.js","type":"reg","size":549,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":41472,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:fdde4350fc69c07bfed4178eedf6121a56264744207d9f5c8f3e5b1b913dbb06","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/sha1-browser.js","type":"reg","size":2609,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":43008,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:32982388b377b06298f59db97c98077f06e6b4f29fe284d427195a358a72f19e","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/esm-browser/sha1.js","type":"reg","size":2488,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":46592,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:0b777c8796a7e0954a47bc5b7d612f89d7cd9218106881a9b4931f8f882fd056","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/esm-node/sha1.js","type":"reg","size":284,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":49664,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:6094b056716c8a37b9f2da365d6c8a17f754543d966411d01dfebd762c94547e","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/sha1.js","type":"reg","size":553,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":50688,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:a9eda407444a3f68a0a4db0373346df18f583abbde2c4bf2b3fbc6d73be2c75e","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/esm-browser/stringify.js","type":"reg","size":1463,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":52224,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:b3e05d40408725c571660f7f1bfdb1b20fde769c5142f23273a95815b2ca5d01","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/esm-node/stringify.js","type":"reg","size":1393,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":54272,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:224279f45e9b30fca5de4fcf8620aa00ac3c8bef89fc073bfb36b83272bd1556","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/stringify.js","type":"reg","size":1667,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":56320,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:85a70b8982f37ddb434816dcda7628b0319e5a90d46ac6bc9b08d4d15d6a7650","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/uuid-bin.js","type":"reg","size":2030,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":58880,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:7c60635cf5a963da72e35292bcbfa7f7221b08374d69d75103fa82da9d950102","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/umd/uuid.min.js","type":"reg","size":8160,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":61440,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:c5df6d9704bdada96df0770523058f395192ee9d1fe13880eb1d57dfe6417533","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/umd/uuidNIL.min.js","type":"reg","size":280,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":70144,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:18c98395b8a11f83924c22af88573b8bbe3a5cf4fe7864364e6902e49ac3d7fd","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/umd/uuidParse.min.js","type":"reg","size":883,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":71168,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:555a6f1b1f49532a96c4235ab4de7c1e5fec9b8724bcf1a1247ba4eb33116af2","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/umd/uuidStringify.min.js","type":"reg","size":829,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":72704,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:9b6db819fecb2f40d9fa5ac8c892218004b3a633a1ec29d7a873801a7eade28f","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/umd/uuidv1.min.js","type":"reg","size":2020,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":74240,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:9963a427c7b05e1ea3c923cfed992cfea294e980e42d754ba593cec66d285a07","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/umd/uuidv3.min.js","type":"reg","size":5145,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":76800,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:2d31a5a7ef824371df6f91ad677cd137ca9b51a529be40873f9b60009c550932","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/umd/uuidv4.min.js","type":"reg","size":1366,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":82944,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:4bbb806e743e21bc9f97b62fc0564e0889b7f31ee9d48c3f2b85d4e00fe629cc","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/umd/uuidv5.min.js","type":"reg","size":3267,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":84992,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:1a444d14f3a6f8952bfc827be5c52dc7367c99e5bf30a5e5102f0b4ad420df76","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/umd/uuidValidate.min.js","type":"reg","size":420,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":89088,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:45a1c7d7618c149522c8f8085675e6707381f6106ca414c294b3e6169065cf21","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/umd/uuidVersion.min.js","type":"reg","size":506,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":90112,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:c0a99b310a43528b5e4f59c87dcc489732bf8c4dd3a367c34cf882a88a3cecca","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/esm-browser/v1.js","type":"reg","size":3296,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":91136,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:746184938af3d1e32fb432711c135d95305f839d94a5e90dd23438435a8342b6","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/esm-node/v1.js","type":"reg","size":3306,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":95232,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:4cbdb6e889c57896cc8dd35f299aa05a00ff7a43b875a187f87c95e7bb2c3f0f","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/v1.js","type":"reg","size":3618,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":99328,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:6dad9c2e6565ad6b478fba7b2ace95350df56a15a72920e72ac64c3a2691d665","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/esm-browser/v3.js","type":"reg","size":105,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":103936,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:337d2b9ef80229c44c240e4218aa324b129d792701432061946ee4154e30080a","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/esm-node/v3.js","type":"reg","size":107,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":104960,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:65b963f24922d433fdc592aa4e2764d10fad59351015bbe5fce0830fe389794a","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/v3.js","type":"reg","size":414,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":105984,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:95e0c6fa204355c6ef7dbac5720a3ef5239454ed6820674dfcc143a55ea6c459","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/esm-browser/v35.js","type":"reg","size":1657,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":107008,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:c418ede8cd4d61f12ae553adac55b1afa2cbd8c8659c31dd657c1decbb36314b","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/esm-node/v35.js","type":"reg","size":1663,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":109568,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:56a358587ded91ef272d54a4937e6f59193cd11b51710503859083feb8d6f20f","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/v35.js","type":"reg","size":2008,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":112128,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:ababd96e6f8b1fca9bb58f43220473f7bd59fbc81b3acb212df924813544283f","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/esm-browser/v4.js","type":"reg","size":544,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":114688,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:971f818a59ef77ee2c213dfea32dc4494823f9b8bd45be19fd81cf49b09f44e5","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/esm-node/v4.js","type":"reg","size":546,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":116224,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:44d2fedb301801c7c60e45934eaa13435614e3d65aedf8759775890de75bed69","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/v4.js","type":"reg","size":860,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":117760,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:a9e30e8692dde9dec39a3ef716ef8e650e321813fa9d137f16d27666b9ad96ef","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/esm-browser/v5.js","type":"reg","size":108,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":119296,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:07e6d11989b44edbe92ccb697febb65225ebad32fb2f9c91c5b571a6f5a3c4df","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/esm-node/v5.js","type":"reg","size":110,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":120320,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:e9e8d82440c23fc3de56f8acd5a15b1ca2daad6bf6d2e7c4a4b39d04384206d3","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/v5.js","type":"reg","size":417,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":121344,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:d15c31975f31b9abf6a195e70a3dca0843a9257cb51b49214cf7a9f4ed30fc5a","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/esm-browser/validate.js","type":"reg","size":141,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":122368,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:4a782f41298704c0029c245203430b3e4511365bf05a3addacdbae59d9c664fa","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/esm-node/validate.js","type":"reg","size":141,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":123392,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:4a782f41298704c0029c245203430b3e4511365bf05a3addacdbae59d9c664fa","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/validate.js","type":"reg","size":410,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":124416,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:5497d9adffd73474cf379d3e1b76b28698e408124a0726d54e88282500378502","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/esm-browser/version.js","type":"reg","size":200,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":125440,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:84d1c2f759c39dbf8b26a359b0d68ba9fcc68bf8c3612b8b1bb0df31dfb2e693","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/esm-node/version.js","type":"reg","size":200,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":126464,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:84d1c2f759c39dbf8b26a359b0d68ba9fcc68bf8c3612b8b1bb0df31dfb2e693","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/dist/version.js","type":"reg","size":474,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":127488,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:cad5f0ecd518983e310856cafd54d4d0de0b9db3c8e3bd97ec8e773ef63de6e8","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/package.json","type":"reg","size":4428,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":128512,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:56c3eae5f83172f7ab5205980ebd9a1328f6436628d893720938d5679208922c","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/CHANGELOG.md","type":"reg","size":12680,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":133632,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:6751093bce6901d5257894451d69fdb68d6cbb06f41fd297748e6a1f28ee453a","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/CONTRIBUTING.md","type":"reg","size":513,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":146944,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:99b5cc0a56af12be90a669fdffc9f5a721236d2ede0d92e1171bb7097dd9fdd7","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/LICENSE.md","type":"reg","size":1109,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":148480,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:beaa6b04fb82e41dd2ad679e19e27953afb5999b1abbb455b6564e78ebfeb332","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/README.md","type":"reg","size":16564,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":150528,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:41bd311ff2c844fb23888ec61660635b52950423280d2b3d54240026c82ae558","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"uuid/wrapper.mjs","type":"reg","size":323,"linkName":"","mode":420,"uid":1000,"gid":1000,"userName":"admin","groupName":"admin","offset":167936,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:f6835608d7c4b422bb11ab4689bcf91e166ecbbd63aa3fa2b83c448835cd80a5","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"","type":"dir","size":0,"mode":493,"uid":1000,"gid":1000,"uname":"admin","gname":"admin","offset":0,"devMajor":0,"devMinor":0,"NumLink":0,"digest":""}}]} \ No newline at end of file diff --git a/packages/cli/test/fixtures/npm_fs/package_link_root/package-lock.json b/packages/cli/test/fixtures/npm_fs/package_link_root/package-lock.json new file mode 100644 index 0000000..6f1648c --- /dev/null +++ b/packages/cli/test/fixtures/npm_fs/package_link_root/package-lock.json @@ -0,0 +1,64 @@ +{ + "name": "test-uuid", + "version": "1.0.0", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "name": "test-uuid", + "version": "1.0.0", + "license": "ISC", + "dependencies": { + "@alipay/uuuid": "^1.0.0", + "uuid": "^3.4.0" + } + }, + "node_modules/@alipay/uuuid": { + "version": "1.0.0", + "resolved": "https://registry.mock.com/@alipay/uuuid/-/uuuid-1.0.0.tgz", + "integrity": "sha512-m2Df//CzNAuiM3kaIyMXvSYPeZJVXtGt1LoeN128B3KfoPPn6LeGJBcsNCM9raq4LaPNAHLdSxxzbp+Qh254Qw==", + "dependencies": { + "uuid": "^9.0.0" + } + }, + "node_modules/@alipay/uuuid/node_modules/uuid": { + "version": "9.0.0", + "resolved": "https://registry.mock.com/uuid/-/uuid-9.0.0.tgz", + "integrity": "sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/uuid": { + "version": "3.4.0", + "resolved": "https://registry.mock.com/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", + "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.", + "bin": { + "uuid": "bin/uuid" + } + } + }, + "dependencies": { + "@alipay/uuuid": { + "version": "1.0.0", + "resolved": "https://registry.mock.com/@alipay/uuuid/-/uuuid-1.0.0.tgz", + "integrity": "sha512-m2Df//CzNAuiM3kaIyMXvSYPeZJVXtGt1LoeN128B3KfoPPn6LeGJBcsNCM9raq4LaPNAHLdSxxzbp+Qh254Qw==", + "requires": { + "uuid": "^9.0.0" + }, + "dependencies": { + "uuid": { + "version": "9.0.0", + "resolved": "https://registry.mock.com/uuid/-/uuid-9.0.0.tgz", + "integrity": "sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==" + } + } + }, + "uuid": { + "version": "3.4.0", + "resolved": "https://registry.mock.com/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" + } + } +} diff --git a/packages/cli/test/fixtures/npm_fs/package_link_root/tar.index.json b/packages/cli/test/fixtures/npm_fs/package_link_root/tar.index.json new file mode 100644 index 0000000..d1f14d4 --- /dev/null +++ b/packages/cli/test/fixtures/npm_fs/package_link_root/tar.index.json @@ -0,0 +1 @@ +{"blobIds":["bucket_2.stgz","bucket_0.stgz","bucket_1.stgz","bucket_3.stgz"],"entries":[{"blobId":"bucket_2.stgz","entry":{"name":"@alipay/gemwuu-1/package.json","type":"reg","size":194,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":512,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:4ab009f140edfe3c91f6aba782a751d7dfd1b4685c7bb4716ed9a39023b1b770","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_0.stgz","entry":{"name":"@alipay/tnpm-scripts-test/package.json","type":"reg","size":311,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":512,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:4648900eb48583ff0570c713535f398c2e73752f47e5d4408ec818585d81cd67","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/bin/uuid","type":"reg","size":44,"linkName":"","mode":493,"uid":0,"gid":0,"uname":"","gname":"","offset":512,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:30b5422b6c95ccdc402effd7d3354ca6a6bce621cf21d0379749ddf1f96c1ad7","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":".bin/uuid","type":"symlink","size":0,"linkName":"../uuid/dist/bin/uuid","mode":493,"uid":1000,"gid":1000,"offset":0,"devMajor":0,"devMinor":0,"NumLink":0,"digest":""}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/bytesToUuid.js","type":"reg","size":903,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":1536,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:a3dbfa4efda1dfe1016cb3d4c2bfa2aef09ca97a8ff7617fc11646510f24a11f","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/esm-browser/bytesToUuid.js","type":"reg","size":734,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":3072,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:9d49a0efcb2106aad1518e8e725e8904c987919b28659c0264320178d5543553","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/esm-node/bytesToUuid.js","type":"reg","size":734,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":4608,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:9d49a0efcb2106aad1518e8e725e8904c987919b28659c0264320178d5543553","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/deprecate.js","type":"reg","size":444,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":6144,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:551b75d400cb301f41c797223523791710b5b1dab24bc2d8a7cb10456450c43e","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/esm-browser/index.js","type":"reg","size":163,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":7168,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:165b97700dce61ebcdd9985a54fdcc59b3f7fc767847cdf0bb61b7fc33f641b0","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/esm-node/index.js","type":"reg","size":163,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":8192,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:165b97700dce61ebcdd9985a54fdcc59b3f7fc767847cdf0bb61b7fc33f641b0","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/index.js","type":"reg","size":842,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":9216,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:2f2a45a5fed56d95ea808a0f1391c19807af8693f4cf2e6614834c0452f8f1f1","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/md5-browser.js","type":"reg","size":6932,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":10752,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:53b8232645d75a1208498de110eecead28fac8165f3b7e6cd1513c604bd25c23","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/esm-browser/md5.js","type":"reg","size":6777,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":18432,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:bfca1b4ef1bb696dd8eb75f6b4486e39410fa34eedd66f37babe150de56ed97a","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/esm-node/md5.js","type":"reg","size":281,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":26112,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:2313329bf3ada8cd17046afeefa761bd7daa3821e140fc55d8c2b94ee7760ed4","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/md5.js","type":"reg","size":584,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":27136,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:d1ed2d29f2e05f6588023a0d0c8e95f6ae94cef8036cda50235454482779e437","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/rng-browser.js","type":"reg","size":1046,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":28672,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:d79176025e9011e6a3a33e78624cd53aefd6e07829484c29c86f631a1098af0f","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/esm-browser/rng.js","type":"reg","size":923,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":30720,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:d9959f9b9f3cf313cfd51fd716e7bd9235f5411bb63fea9f0951907615f13eb6","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/esm-node/rng.js","type":"reg","size":95,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":32256,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:b6b77ee6b07189932e9d39a3dc211607bf820a981d4832ed171e3fab91c25e48","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/rng.js","type":"reg","size":354,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":33280,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:9298b190283b38f01b65597cb04d8188584ea309165358e6cba52ecf5161d476","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/sha1-browser.js","type":"reg","size":2461,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":34304,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:62a1761b64164da2dcdfe12954f8b30d28dc07651d4ec9f2aed3e2a1e0000a9f","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/esm-browser/sha1.js","type":"reg","size":2320,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":37376,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:23a7cd93ac7ae6616e5afcc386f1a437b73e1f807e66e1683e448f4dd7a91b97","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/esm-node/sha1.js","type":"reg","size":284,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":40448,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:6094b056716c8a37b9f2da365d6c8a17f754543d966411d01dfebd762c94547e","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/sha1.js","type":"reg","size":587,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":41472,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:419a940c9139f2f53d3706636d82b3157e20d32d8fce2bc480d24e7f8640697b","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/uuid-bin.js","type":"reg","size":1888,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":43008,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:ddb33b2f6d0e4e25aff05ca702e83ed078ab7252f28aaaaf201f3f33302be9c5","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/umd/uuid.min.js","type":"reg","size":7332,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":45568,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:a353904b2b20ecb772621a8349da41de55cfab795360552b6f84969bd1415bb2","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/umd/uuidv1.min.js","type":"reg","size":1676,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":53760,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:725f17c54d51e6ee6241cc24b494e7ba5b0e5edb3186c242fb6578bf0d2f0dae","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/umd/uuidv3.min.js","type":"reg","size":4509,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":56320,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:b16be835ec52cfe8802aff43fa18c4e008aad87106a33825da26bc755edfb99a","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/umd/uuidv4.min.js","type":"reg","size":1086,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":61440,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:0c51b6cf1f88abd5e19ed75b8a46fbcc9ab3b5e95286ef105a85ecb749764329","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/umd/uuidv5.min.js","type":"reg","size":2554,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":63488,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:2008103b1522231d3f96d68fb75e5a107ddb81e5b7912a01f265d19ef6f75bf1","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/esm-browser/v1.js","type":"reg","size":3306,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":66560,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:065b429aa5565d9427bc281defd64a41ea9b5fceee0208db49fe2444b13d2824","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/esm-node/v1.js","type":"reg","size":3306,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":70656,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:065b429aa5565d9427bc281defd64a41ea9b5fceee0208db49fe2444b13d2824","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/v1.js","type":"reg","size":3652,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":74752,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:daac7bad936c0c14d72c9c90d6bbd0db74936fca4db5448d7feb2696a44828e6","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/v1.js","type":"reg","size":430,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":79360,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:abfec63bef948a1cc92d41c2a913ccc953d141380ee915d49251c5fc6adae03a","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/esm-browser/v3.js","type":"reg","size":105,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":80384,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:337d2b9ef80229c44c240e4218aa324b129d792701432061946ee4154e30080a","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/esm-node/v3.js","type":"reg","size":107,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":81408,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:65b963f24922d433fdc592aa4e2764d10fad59351015bbe5fce0830fe389794a","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/v3.js","type":"reg","size":448,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":82432,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:2bb39b3546dc1910847b9fd0eecc2725afbc20bd45b45ed85c05dd7ed0ea72e2","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/v3.js","type":"reg","size":430,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":83456,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:a8483d2db8ff78e74437c640f7c8c294d35271db5211cd0604a1905223af5d7d","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/esm-browser/v35.js","type":"reg","size":1660,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":84480,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:0873ba3def698bbfabfb6931eceefb52094c80bfecd8f552e4777d499c1baa51","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/esm-node/v35.js","type":"reg","size":1652,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":87040,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:e66df62ca489f25e1f9f228b88fcee538007c51be9476aeff4548eb7a29e8161","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/v35.js","type":"reg","size":1954,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":89600,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:40c035385b53d4e5ef6438893345e124c12233c38c9d7ebe23f406780d3951d8","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/esm-browser/v4.js","type":"reg","size":660,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":92160,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:65e52321ea8f361da7e1537b2a6ddf9eb161e85a22407b3a07ea38360ae32f37","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/esm-node/v4.js","type":"reg","size":660,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":93696,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:65e52321ea8f361da7e1537b2a6ddf9eb161e85a22407b3a07ea38360ae32f37","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/v4.js","type":"reg","size":1008,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":95232,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:4f4abaa382fa3fafc50d0e20fea5288aa61583870a86463a3d4a9548168a3598","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/v4.js","type":"reg","size":430,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":96768,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:836662107b8ca92a9f01b0c38f43fd23bef05d6e40ea21eb92d039f9de8162a1","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/esm-browser/v5.js","type":"reg","size":108,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":97792,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:07e6d11989b44edbe92ccb697febb65225ebad32fb2f9c91c5b571a6f5a3c4df","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/esm-node/v5.js","type":"reg","size":110,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":98816,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:e9e8d82440c23fc3de56f8acd5a15b1ca2daad6bf6d2e7c4a4b39d04384206d3","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/dist/v5.js","type":"reg","size":451,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":99840,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:e65ccc9df5e6cadb12ce657d90773890eb684a30cd86418c42a336f01a5cf9fa","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/v5.js","type":"reg","size":430,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":100864,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:a6206738e2e80287f6a92028b8b126cea800a41ee430857d9b5540980661f831","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/package.json","type":"reg","size":3785,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":101888,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:bee538d296339c0a2b48020ef359b6223f5ae14dbec8b359810aecdb0b96b67c","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/CHANGELOG.md","type":"reg","size":8109,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":106496,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:76e80e710157be00e864433098d6bea189a3715961d777048d8f9abb80758a16","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/CONTRIBUTING.md","type":"reg","size":513,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":115200,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:135168cac3b26f600a271ce48428a71da0f85678662a3a9e9f9105287d38070b","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/LICENSE.md","type":"reg","size":1109,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":116736,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:3df5f9a382da026c813ce3fc95c6c07815eb3ba39f009f482df64eb6af1a3b39","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_1.stgz","entry":{"name":"uuid/README.md","type":"reg","size":12794,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":118784,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:bcddcd1cebf50aca866f720dca46ce8f2ff65b04ca40b1f94770b1bea10b77b7","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/bin/uuid","type":"reg","size":44,"linkName":"","mode":493,"uid":0,"gid":0,"uname":"","gname":"","offset":512,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:30b5422b6c95ccdc402effd7d3354ca6a6bce621cf21d0379749ddf1f96c1ad7","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/.bin/uuid","type":"symlink","size":0,"linkName":"../uuid/dist/bin/uuid","mode":493,"uid":1000,"gid":1000,"offset":0,"devMajor":0,"devMinor":0,"NumLink":0,"digest":""}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/esm-browser/index.js","type":"reg","size":412,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":1536,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:3efb8df8c64379c5acbaf0b70ce1a1906375f4b53901b7e90a26863ead50fc30","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/esm-node/index.js","type":"reg","size":412,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":2560,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:3efb8df8c64379c5acbaf0b70ce1a1906375f4b53901b7e90a26863ead50fc30","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/index.js","type":"reg","size":1765,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":3584,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:069a2230d395723583c8e45a7c0fee2622af2fbd08dc35f81e4d57836122e59f","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/md5-browser.js","type":"reg","size":7015,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":6144,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:21a4e167b7ae498e8f3778bac8d7330929099006afca6adfe76b626e0e41d795","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/esm-browser/md5.js","type":"reg","size":6852,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":13824,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:705eb0feeda58a88a5b887cf580e38bb9979dec642dd663b63c9dc485e956728","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/esm-node/md5.js","type":"reg","size":281,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":21504,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:2313329bf3ada8cd17046afeefa761bd7daa3821e140fc55d8c2b94ee7760ed4","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/md5.js","type":"reg","size":550,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":22528,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:6ca6276ff35f19ea462bb8c9d6d290994fa9980fc775deb741811ef947196ced","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/esm-browser/nil.js","type":"reg","size":54,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":24064,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:40036d4ffe78154827eedb9c1b3f59f660722907389725842bbc178ba28d2241","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/esm-node/nil.js","type":"reg","size":54,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":25088,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:40036d4ffe78154827eedb9c1b3f59f660722907389725842bbc178ba28d2241","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/nil.js","type":"reg","size":188,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":26112,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:7395bd919bd1309bcbced245a59dfc6b077f97992a482af2537343e558795b1f","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/esm-browser/parse.js","type":"reg","size":1104,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":27136,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:1efd0e1dd5d7d205a3405f5aee39029ea60bece8a893b2bf742a16c6a51246a6","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/esm-node/parse.js","type":"reg","size":1106,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":29184,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:2743e5b696fb15df389cf3b1a242e56780f7941bbefc23465529d30e851b80f5","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/parse.js","type":"reg","size":1380,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":31232,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:1a87ed6a6bb0a3edbe266ca55aaf1c5af8e963ee9486f74b59cfd615280b21b4","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/esm-browser/regex.js","type":"reg","size":133,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":33280,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:9a546763c108d7eeb7283ce26c7a6845a44bd67132005eb32fd1feeca49d1b3f","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/esm-node/regex.js","type":"reg","size":133,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":34304,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:9a546763c108d7eeb7283ce26c7a6845a44bd67132005eb32fd1feeca49d1b3f","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/regex.js","type":"reg","size":267,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":35328,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:acc4c54d987f100093097f4f156ff245394c39d1332eb2114d7e40db00bd6ddd","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/rng-browser.js","type":"reg","size":1131,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":36352,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:4c88edf4fd7fae3bf84bad34750a55f706c8e522a924af6c6ad22839e3718dd6","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/esm-browser/rng.js","type":"reg","size":1040,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":38400,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:0e1abdc73fa79ff64006ec6675b06a193f55eac039595cc3867e6567e46f2dd7","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/esm-node/rng.js","type":"reg","size":323,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":40448,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:ff667aff9367a48cc713d36764cea05bd30e8ba05392430571c54734fc9fde03","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/rng.js","type":"reg","size":549,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":41472,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:fdde4350fc69c07bfed4178eedf6121a56264744207d9f5c8f3e5b1b913dbb06","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/sha1-browser.js","type":"reg","size":2609,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":43008,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:32982388b377b06298f59db97c98077f06e6b4f29fe284d427195a358a72f19e","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/esm-browser/sha1.js","type":"reg","size":2488,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":46592,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:0b777c8796a7e0954a47bc5b7d612f89d7cd9218106881a9b4931f8f882fd056","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/esm-node/sha1.js","type":"reg","size":284,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":49664,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:6094b056716c8a37b9f2da365d6c8a17f754543d966411d01dfebd762c94547e","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/sha1.js","type":"reg","size":553,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":50688,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:a9eda407444a3f68a0a4db0373346df18f583abbde2c4bf2b3fbc6d73be2c75e","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/esm-browser/stringify.js","type":"reg","size":1463,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":52224,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:b3e05d40408725c571660f7f1bfdb1b20fde769c5142f23273a95815b2ca5d01","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/esm-node/stringify.js","type":"reg","size":1393,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":54272,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:224279f45e9b30fca5de4fcf8620aa00ac3c8bef89fc073bfb36b83272bd1556","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/stringify.js","type":"reg","size":1667,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":56320,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:85a70b8982f37ddb434816dcda7628b0319e5a90d46ac6bc9b08d4d15d6a7650","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/uuid-bin.js","type":"reg","size":2030,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":58880,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:7c60635cf5a963da72e35292bcbfa7f7221b08374d69d75103fa82da9d950102","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/umd/uuid.min.js","type":"reg","size":8160,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":61440,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:c5df6d9704bdada96df0770523058f395192ee9d1fe13880eb1d57dfe6417533","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/umd/uuidNIL.min.js","type":"reg","size":280,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":70144,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:18c98395b8a11f83924c22af88573b8bbe3a5cf4fe7864364e6902e49ac3d7fd","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/umd/uuidParse.min.js","type":"reg","size":883,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":71168,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:555a6f1b1f49532a96c4235ab4de7c1e5fec9b8724bcf1a1247ba4eb33116af2","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/umd/uuidStringify.min.js","type":"reg","size":829,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":72704,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:9b6db819fecb2f40d9fa5ac8c892218004b3a633a1ec29d7a873801a7eade28f","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/umd/uuidv1.min.js","type":"reg","size":2020,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":74240,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:9963a427c7b05e1ea3c923cfed992cfea294e980e42d754ba593cec66d285a07","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/umd/uuidv3.min.js","type":"reg","size":5145,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":76800,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:2d31a5a7ef824371df6f91ad677cd137ca9b51a529be40873f9b60009c550932","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/umd/uuidv4.min.js","type":"reg","size":1366,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":82944,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:4bbb806e743e21bc9f97b62fc0564e0889b7f31ee9d48c3f2b85d4e00fe629cc","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/umd/uuidv5.min.js","type":"reg","size":3267,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":84992,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:1a444d14f3a6f8952bfc827be5c52dc7367c99e5bf30a5e5102f0b4ad420df76","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/umd/uuidValidate.min.js","type":"reg","size":420,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":89088,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:45a1c7d7618c149522c8f8085675e6707381f6106ca414c294b3e6169065cf21","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/umd/uuidVersion.min.js","type":"reg","size":506,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":90112,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:c0a99b310a43528b5e4f59c87dcc489732bf8c4dd3a367c34cf882a88a3cecca","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/esm-browser/v1.js","type":"reg","size":3296,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":91136,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:746184938af3d1e32fb432711c135d95305f839d94a5e90dd23438435a8342b6","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/esm-node/v1.js","type":"reg","size":3306,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":95232,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:4cbdb6e889c57896cc8dd35f299aa05a00ff7a43b875a187f87c95e7bb2c3f0f","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/v1.js","type":"reg","size":3618,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":99328,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:6dad9c2e6565ad6b478fba7b2ace95350df56a15a72920e72ac64c3a2691d665","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/esm-browser/v3.js","type":"reg","size":105,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":103936,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:337d2b9ef80229c44c240e4218aa324b129d792701432061946ee4154e30080a","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/esm-node/v3.js","type":"reg","size":107,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":104960,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:65b963f24922d433fdc592aa4e2764d10fad59351015bbe5fce0830fe389794a","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/v3.js","type":"reg","size":414,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":105984,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:95e0c6fa204355c6ef7dbac5720a3ef5239454ed6820674dfcc143a55ea6c459","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/esm-browser/v35.js","type":"reg","size":1657,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":107008,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:c418ede8cd4d61f12ae553adac55b1afa2cbd8c8659c31dd657c1decbb36314b","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/esm-node/v35.js","type":"reg","size":1663,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":109568,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:56a358587ded91ef272d54a4937e6f59193cd11b51710503859083feb8d6f20f","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/v35.js","type":"reg","size":2008,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":112128,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:ababd96e6f8b1fca9bb58f43220473f7bd59fbc81b3acb212df924813544283f","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/esm-browser/v4.js","type":"reg","size":544,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":114688,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:971f818a59ef77ee2c213dfea32dc4494823f9b8bd45be19fd81cf49b09f44e5","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/esm-node/v4.js","type":"reg","size":546,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":116224,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:44d2fedb301801c7c60e45934eaa13435614e3d65aedf8759775890de75bed69","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/v4.js","type":"reg","size":860,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":117760,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:a9e30e8692dde9dec39a3ef716ef8e650e321813fa9d137f16d27666b9ad96ef","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/esm-browser/v5.js","type":"reg","size":108,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":119296,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:07e6d11989b44edbe92ccb697febb65225ebad32fb2f9c91c5b571a6f5a3c4df","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/esm-node/v5.js","type":"reg","size":110,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":120320,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:e9e8d82440c23fc3de56f8acd5a15b1ca2daad6bf6d2e7c4a4b39d04384206d3","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/v5.js","type":"reg","size":417,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":121344,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:d15c31975f31b9abf6a195e70a3dca0843a9257cb51b49214cf7a9f4ed30fc5a","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/esm-browser/validate.js","type":"reg","size":141,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":122368,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:4a782f41298704c0029c245203430b3e4511365bf05a3addacdbae59d9c664fa","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/esm-node/validate.js","type":"reg","size":141,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":123392,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:4a782f41298704c0029c245203430b3e4511365bf05a3addacdbae59d9c664fa","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/validate.js","type":"reg","size":410,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":124416,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:5497d9adffd73474cf379d3e1b76b28698e408124a0726d54e88282500378502","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/esm-browser/version.js","type":"reg","size":200,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":125440,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:84d1c2f759c39dbf8b26a359b0d68ba9fcc68bf8c3612b8b1bb0df31dfb2e693","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/esm-node/version.js","type":"reg","size":200,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":126464,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:84d1c2f759c39dbf8b26a359b0d68ba9fcc68bf8c3612b8b1bb0df31dfb2e693","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/dist/version.js","type":"reg","size":474,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":127488,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:cad5f0ecd518983e310856cafd54d4d0de0b9db3c8e3bd97ec8e773ef63de6e8","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/package.json","type":"reg","size":4428,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":128512,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:56c3eae5f83172f7ab5205980ebd9a1328f6436628d893720938d5679208922c","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/CHANGELOG.md","type":"reg","size":12680,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":133632,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:6751093bce6901d5257894451d69fdb68d6cbb06f41fd297748e6a1f28ee453a","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/CONTRIBUTING.md","type":"reg","size":513,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":146944,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:99b5cc0a56af12be90a669fdffc9f5a721236d2ede0d92e1171bb7097dd9fdd7","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/LICENSE.md","type":"reg","size":1109,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":148480,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:beaa6b04fb82e41dd2ad679e19e27953afb5999b1abbb455b6564e78ebfeb332","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/README.md","type":"reg","size":16564,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":150528,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:41bd311ff2c844fb23888ec61660635b52950423280d2b3d54240026c82ae558","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_3.stgz","entry":{"name":"@alipay/tnpm-scripts-test/node_modules/uuid/wrapper.mjs","type":"reg","size":323,"linkName":"","mode":420,"uid":0,"gid":0,"uname":"","gname":"","offset":167936,"devMajor":0,"devMinor":0,"xattrs":{},"digest":"sha256:f6835608d7c4b422bb11ab4689bcf91e166ecbbd63aa3fa2b83c448835cd80a5","chunkOffset":0,"chunkSize":0}},{"blobId":"bucket_2.stgz","entry":{"name":"","type":"dir","size":0,"mode":493,"uid":1000,"gid":1000,"uname":"admin","gname":"admin","offset":0,"devMajor":0,"devMinor":0,"NumLink":0,"digest":""}}]} \ No newline at end of file diff --git a/packages/cli/test/fixtures/npm_fs/package_link_root/tnpm.tar.index.json b/packages/cli/test/fixtures/npm_fs/package_link_root/tnpm.tar.index.json new file mode 100644 index 0000000..9dfbfec --- /dev/null +++ b/packages/cli/test/fixtures/npm_fs/package_link_root/tnpm.tar.index.json @@ -0,0 +1,1471 @@ +{ + "blobIds": ["bucket_1.stgz", "bucket_0.stgz"], + "entries": [{ + "blobId": "bucket_1.stgz", + "entry": { + "name": "_@alipay_tnpm-scripts-test@1.0.4@@alipay/tnpm-scripts-test/a", + "type": "reg", + "size": 11, + "linkName": "", + "mode": 493, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 512, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:0282f76a4dc18a92bd8961e754874bc456191edfd08455f4cef50dba1cadaa50", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_1.stgz", + "entry": { + "name": ".bin/tnpm-scripts-test", + "type": "symlink", + "size": 0, + "linkName": "../_@alipay_tnpm-scripts-test@1.0.4@@alipay/tnpm-scripts-test/a", + "mode": 493, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 0, + "devMajor": 0, + "devMinor": 0, + "NumLink": 0, + "digest": "" + } + }, { + "blobId": "bucket_1.stgz", + "entry": { + "name": "_@alipay_tnpm-scripts-test@1.0.4@@alipay/tnpm-scripts-test/package.json", + "type": "reg", + "size": 327, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 1536, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:9c48eda3d378812c177d3226879fcbd9e6889452e88f87a3017fefb57d225ca1", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/bin/uuid", + "type": "reg", + "size": 44, + "linkName": "", + "mode": 493, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 512, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:30b5422b6c95ccdc402effd7d3354ca6a6bce621cf21d0379749ddf1f96c1ad7", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/esm-browser/index.js", + "type": "reg", + "size": 412, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 1536, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:3efb8df8c64379c5acbaf0b70ce1a1906375f4b53901b7e90a26863ead50fc30", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/esm-node/index.js", + "type": "reg", + "size": 412, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 2560, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:3efb8df8c64379c5acbaf0b70ce1a1906375f4b53901b7e90a26863ead50fc30", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/index.js", + "type": "reg", + "size": 1765, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 3584, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:069a2230d395723583c8e45a7c0fee2622af2fbd08dc35f81e4d57836122e59f", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/md5-browser.js", + "type": "reg", + "size": 7015, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 6144, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:21a4e167b7ae498e8f3778bac8d7330929099006afca6adfe76b626e0e41d795", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/esm-browser/md5.js", + "type": "reg", + "size": 6852, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 13824, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:705eb0feeda58a88a5b887cf580e38bb9979dec642dd663b63c9dc485e956728", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/esm-node/md5.js", + "type": "reg", + "size": 281, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 21504, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:2313329bf3ada8cd17046afeefa761bd7daa3821e140fc55d8c2b94ee7760ed4", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/md5.js", + "type": "reg", + "size": 550, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 22528, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:6ca6276ff35f19ea462bb8c9d6d290994fa9980fc775deb741811ef947196ced", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/esm-browser/nil.js", + "type": "reg", + "size": 54, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 24064, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:40036d4ffe78154827eedb9c1b3f59f660722907389725842bbc178ba28d2241", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/esm-node/nil.js", + "type": "reg", + "size": 54, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 25088, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:40036d4ffe78154827eedb9c1b3f59f660722907389725842bbc178ba28d2241", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/nil.js", + "type": "reg", + "size": 188, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 26112, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:7395bd919bd1309bcbced245a59dfc6b077f97992a482af2537343e558795b1f", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/esm-browser/parse.js", + "type": "reg", + "size": 1104, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 27136, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:1efd0e1dd5d7d205a3405f5aee39029ea60bece8a893b2bf742a16c6a51246a6", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/esm-node/parse.js", + "type": "reg", + "size": 1106, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 29184, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:2743e5b696fb15df389cf3b1a242e56780f7941bbefc23465529d30e851b80f5", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/parse.js", + "type": "reg", + "size": 1380, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 31232, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:1a87ed6a6bb0a3edbe266ca55aaf1c5af8e963ee9486f74b59cfd615280b21b4", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/esm-browser/regex.js", + "type": "reg", + "size": 133, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 33280, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:9a546763c108d7eeb7283ce26c7a6845a44bd67132005eb32fd1feeca49d1b3f", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/esm-node/regex.js", + "type": "reg", + "size": 133, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 34304, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:9a546763c108d7eeb7283ce26c7a6845a44bd67132005eb32fd1feeca49d1b3f", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/regex.js", + "type": "reg", + "size": 267, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 35328, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:acc4c54d987f100093097f4f156ff245394c39d1332eb2114d7e40db00bd6ddd", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/rng-browser.js", + "type": "reg", + "size": 1131, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 36352, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:4c88edf4fd7fae3bf84bad34750a55f706c8e522a924af6c6ad22839e3718dd6", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/esm-browser/rng.js", + "type": "reg", + "size": 1040, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 38400, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:0e1abdc73fa79ff64006ec6675b06a193f55eac039595cc3867e6567e46f2dd7", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/esm-node/rng.js", + "type": "reg", + "size": 323, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 40448, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:ff667aff9367a48cc713d36764cea05bd30e8ba05392430571c54734fc9fde03", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/rng.js", + "type": "reg", + "size": 549, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 41472, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:fdde4350fc69c07bfed4178eedf6121a56264744207d9f5c8f3e5b1b913dbb06", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/sha1-browser.js", + "type": "reg", + "size": 2609, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 43008, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:32982388b377b06298f59db97c98077f06e6b4f29fe284d427195a358a72f19e", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/esm-browser/sha1.js", + "type": "reg", + "size": 2488, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 46592, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:0b777c8796a7e0954a47bc5b7d612f89d7cd9218106881a9b4931f8f882fd056", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/esm-node/sha1.js", + "type": "reg", + "size": 284, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 49664, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:6094b056716c8a37b9f2da365d6c8a17f754543d966411d01dfebd762c94547e", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/sha1.js", + "type": "reg", + "size": 553, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 50688, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:a9eda407444a3f68a0a4db0373346df18f583abbde2c4bf2b3fbc6d73be2c75e", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/esm-browser/stringify.js", + "type": "reg", + "size": 1463, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 52224, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:b3e05d40408725c571660f7f1bfdb1b20fde769c5142f23273a95815b2ca5d01", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/esm-node/stringify.js", + "type": "reg", + "size": 1393, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 54272, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:224279f45e9b30fca5de4fcf8620aa00ac3c8bef89fc073bfb36b83272bd1556", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/stringify.js", + "type": "reg", + "size": 1667, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 56320, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:85a70b8982f37ddb434816dcda7628b0319e5a90d46ac6bc9b08d4d15d6a7650", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/uuid-bin.js", + "type": "reg", + "size": 2030, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 58880, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:7c60635cf5a963da72e35292bcbfa7f7221b08374d69d75103fa82da9d950102", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/umd/uuid.min.js", + "type": "reg", + "size": 8160, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 61440, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:c5df6d9704bdada96df0770523058f395192ee9d1fe13880eb1d57dfe6417533", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/umd/uuidNIL.min.js", + "type": "reg", + "size": 280, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 70144, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:18c98395b8a11f83924c22af88573b8bbe3a5cf4fe7864364e6902e49ac3d7fd", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/umd/uuidParse.min.js", + "type": "reg", + "size": 883, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 71168, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:555a6f1b1f49532a96c4235ab4de7c1e5fec9b8724bcf1a1247ba4eb33116af2", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/umd/uuidStringify.min.js", + "type": "reg", + "size": 829, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 72704, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:9b6db819fecb2f40d9fa5ac8c892218004b3a633a1ec29d7a873801a7eade28f", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/umd/uuidv1.min.js", + "type": "reg", + "size": 2020, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 74240, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:9963a427c7b05e1ea3c923cfed992cfea294e980e42d754ba593cec66d285a07", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/umd/uuidv3.min.js", + "type": "reg", + "size": 5145, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 76800, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:2d31a5a7ef824371df6f91ad677cd137ca9b51a529be40873f9b60009c550932", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/umd/uuidv4.min.js", + "type": "reg", + "size": 1366, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 82944, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:4bbb806e743e21bc9f97b62fc0564e0889b7f31ee9d48c3f2b85d4e00fe629cc", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/umd/uuidv5.min.js", + "type": "reg", + "size": 3267, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 84992, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:1a444d14f3a6f8952bfc827be5c52dc7367c99e5bf30a5e5102f0b4ad420df76", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/umd/uuidValidate.min.js", + "type": "reg", + "size": 420, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 89088, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:45a1c7d7618c149522c8f8085675e6707381f6106ca414c294b3e6169065cf21", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/umd/uuidVersion.min.js", + "type": "reg", + "size": 506, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 90112, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:c0a99b310a43528b5e4f59c87dcc489732bf8c4dd3a367c34cf882a88a3cecca", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/esm-browser/v1.js", + "type": "reg", + "size": 3296, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 91136, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:746184938af3d1e32fb432711c135d95305f839d94a5e90dd23438435a8342b6", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/esm-node/v1.js", + "type": "reg", + "size": 3306, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 95232, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:4cbdb6e889c57896cc8dd35f299aa05a00ff7a43b875a187f87c95e7bb2c3f0f", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/v1.js", + "type": "reg", + "size": 3618, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 99328, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:6dad9c2e6565ad6b478fba7b2ace95350df56a15a72920e72ac64c3a2691d665", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/esm-browser/v3.js", + "type": "reg", + "size": 105, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 103936, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:337d2b9ef80229c44c240e4218aa324b129d792701432061946ee4154e30080a", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/esm-node/v3.js", + "type": "reg", + "size": 107, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 104960, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:65b963f24922d433fdc592aa4e2764d10fad59351015bbe5fce0830fe389794a", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/v3.js", + "type": "reg", + "size": 414, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 105984, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:95e0c6fa204355c6ef7dbac5720a3ef5239454ed6820674dfcc143a55ea6c459", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/esm-browser/v35.js", + "type": "reg", + "size": 1657, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 107008, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:c418ede8cd4d61f12ae553adac55b1afa2cbd8c8659c31dd657c1decbb36314b", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/esm-node/v35.js", + "type": "reg", + "size": 1663, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 109568, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:56a358587ded91ef272d54a4937e6f59193cd11b51710503859083feb8d6f20f", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/v35.js", + "type": "reg", + "size": 2008, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 112128, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:ababd96e6f8b1fca9bb58f43220473f7bd59fbc81b3acb212df924813544283f", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/esm-browser/v4.js", + "type": "reg", + "size": 544, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 114688, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:971f818a59ef77ee2c213dfea32dc4494823f9b8bd45be19fd81cf49b09f44e5", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/esm-node/v4.js", + "type": "reg", + "size": 546, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 116224, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:44d2fedb301801c7c60e45934eaa13435614e3d65aedf8759775890de75bed69", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/v4.js", + "type": "reg", + "size": 860, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 117760, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:a9e30e8692dde9dec39a3ef716ef8e650e321813fa9d137f16d27666b9ad96ef", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/esm-browser/v5.js", + "type": "reg", + "size": 108, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 119296, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:07e6d11989b44edbe92ccb697febb65225ebad32fb2f9c91c5b571a6f5a3c4df", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/esm-node/v5.js", + "type": "reg", + "size": 110, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 120320, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:e9e8d82440c23fc3de56f8acd5a15b1ca2daad6bf6d2e7c4a4b39d04384206d3", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/v5.js", + "type": "reg", + "size": 417, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 121344, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:d15c31975f31b9abf6a195e70a3dca0843a9257cb51b49214cf7a9f4ed30fc5a", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/esm-browser/validate.js", + "type": "reg", + "size": 141, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 122368, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:4a782f41298704c0029c245203430b3e4511365bf05a3addacdbae59d9c664fa", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/esm-node/validate.js", + "type": "reg", + "size": 141, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 123392, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:4a782f41298704c0029c245203430b3e4511365bf05a3addacdbae59d9c664fa", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/validate.js", + "type": "reg", + "size": 410, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 124416, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:5497d9adffd73474cf379d3e1b76b28698e408124a0726d54e88282500378502", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/esm-browser/version.js", + "type": "reg", + "size": 200, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 125440, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:84d1c2f759c39dbf8b26a359b0d68ba9fcc68bf8c3612b8b1bb0df31dfb2e693", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/esm-node/version.js", + "type": "reg", + "size": 200, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 126464, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:84d1c2f759c39dbf8b26a359b0d68ba9fcc68bf8c3612b8b1bb0df31dfb2e693", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/dist/version.js", + "type": "reg", + "size": 474, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 127488, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:cad5f0ecd518983e310856cafd54d4d0de0b9db3c8e3bd97ec8e773ef63de6e8", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/package.json", + "type": "reg", + "size": 4428, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 128512, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:56c3eae5f83172f7ab5205980ebd9a1328f6436628d893720938d5679208922c", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/CHANGELOG.md", + "type": "reg", + "size": 12680, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 133632, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:6751093bce6901d5257894451d69fdb68d6cbb06f41fd297748e6a1f28ee453a", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/CONTRIBUTING.md", + "type": "reg", + "size": 513, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 146944, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:99b5cc0a56af12be90a669fdffc9f5a721236d2ede0d92e1171bb7097dd9fdd7", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/LICENSE.md", + "type": "reg", + "size": 1109, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 148480, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:beaa6b04fb82e41dd2ad679e19e27953afb5999b1abbb455b6564e78ebfeb332", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/README.md", + "type": "reg", + "size": 16564, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 150528, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:41bd311ff2c844fb23888ec61660635b52950423280d2b3d54240026c82ae558", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_0.stgz", + "entry": { + "name": "_uuid@8.3.2@uuid/wrapper.mjs", + "type": "reg", + "size": 323, + "linkName": "", + "mode": 420, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 167936, + "devMajor": 0, + "devMinor": 0, + "xattrs": {}, + "digest": "sha256:f6835608d7c4b422bb11ab4689bcf91e166ecbbd63aa3fa2b83c448835cd80a5", + "chunkOffset": 0, + "chunkSize": 0 + } + }, { + "blobId": "bucket_1.stgz", + "entry": { + "name": "_@alipay_tnpm-scripts-test@1.0.4@@alipay/tnpm-scripts-test/node_modules/uuid", + "type": "symlink", + "size": 0, + "linkName": "../../../_uuid@8.3.2@uuid", + "mode": 511, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 0, + "devMajor": 0, + "devMinor": 0, + "NumLink": 0, + "digest": "" + } + }, { + "blobId": "bucket_1.stgz", + "entry": { + "name": "_@alipay_tnpm-scripts-test@1.0.4@@alipay/tnpm-scripts-test/node_modules/.bin/uuid", + "type": "symlink", + "size": 0, + "linkName": "../../../../_uuid@8.3.2@uuid/dist/bin/uuid", + "mode": 493, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 0, + "devMajor": 0, + "devMinor": 0, + "NumLink": 0, + "digest": "" + } + }, { + "blobId": "bucket_1.stgz", + "entry": { + "name": "@alipay/tnpm-scripts-test", + "type": "symlink", + "size": 0, + "linkName": "../_@alipay_tnpm-scripts-test@1.0.4@@alipay/tnpm-scripts-test", + "mode": 511, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 0, + "devMajor": 0, + "devMinor": 0, + "NumLink": 0, + "digest": "" + } + }, { + "blobId": "bucket_1.stgz", + "entry": { + "name": "uuid", + "type": "symlink", + "size": 0, + "linkName": "_uuid@8.3.2@uuid", + "mode": 511, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 0, + "devMajor": 0, + "devMinor": 0, + "NumLink": 0, + "digest": "" + } + }, { + "blobId": "bucket_1.stgz", + "entry": { + "name": "", + "type": "dir", + "size": 0, + "mode": 493, + "uid": 500, + "gid": 505, + "uname": "admin", + "gname": "admin", + "offset": 0, + "devMajor": 0, + "devMinor": 0, + "NumLink": 0, + "digest": "" + } + }] +} \ No newline at end of file diff --git a/packages/cli/test/fixtures/npm_fs/package_link_root/uuid@3.4.0.package.json b/packages/cli/test/fixtures/npm_fs/package_link_root/uuid@3.4.0.package.json new file mode 100644 index 0000000..c7a793b --- /dev/null +++ b/packages/cli/test/fixtures/npm_fs/package_link_root/uuid@3.4.0.package.json @@ -0,0 +1,135 @@ +{ + "name": "uuid", + "version": "3.4.0", + "description": "RFC4122 (v1, v4, and v5) UUIDs", + "commitlint": { + "extends": [ + "@commitlint/config-conventional" + ] + }, + "keywords": [ + "uuid", + "guid", + "rfc4122" + ], + "license": "MIT", + "bin": { + "uuid": "./dist/bin/uuid" + }, + "sideEffects": false, + "main": "./dist/index.js", + "exports": { + ".": { + "node": { + "module": "./dist/esm-node/index.js", + "require": "./dist/index.js", + "import": "./wrapper.mjs" + }, + "default": "./dist/esm-browser/index.js" + }, + "./package.json": "./package.json" + }, + "module": "./dist/esm-node/index.js", + "browser": { + "./dist/md5.js": "./dist/md5-browser.js", + "./dist/rng.js": "./dist/rng-browser.js", + "./dist/sha1.js": "./dist/sha1-browser.js", + "./dist/esm-node/index.js": "./dist/esm-browser/index.js" + }, + "files": [ + "CHANGELOG.md", + "CONTRIBUTING.md", + "LICENSE.md", + "README.md", + "dist", + "wrapper.mjs" + ], + "devDependencies": { + "@babel/cli": "7.11.6", + "@babel/core": "7.11.6", + "@babel/preset-env": "7.11.5", + "@commitlint/cli": "11.0.0", + "@commitlint/config-conventional": "11.0.0", + "@rollup/plugin-node-resolve": "9.0.0", + "babel-eslint": "10.1.0", + "bundlewatch": "0.3.1", + "eslint": "7.10.0", + "eslint-config-prettier": "6.12.0", + "eslint-config-standard": "14.1.1", + "eslint-plugin-import": "2.22.1", + "eslint-plugin-node": "11.1.0", + "eslint-plugin-prettier": "3.1.4", + "eslint-plugin-promise": "4.2.1", + "eslint-plugin-standard": "4.0.1", + "husky": "4.3.0", + "jest": "25.5.4", + "lint-staged": "10.4.0", + "npm-run-all": "4.1.5", + "optional-dev-dependency": "2.0.1", + "prettier": "2.1.2", + "random-seed": "0.3.0", + "rollup": "2.28.2", + "rollup-plugin-terser": "7.0.2", + "runmd": "1.3.2", + "standard-version": "9.0.0" + }, + "optionalDevDependencies": { + "@wdio/browserstack-service": "6.4.0", + "@wdio/cli": "6.4.0", + "@wdio/jasmine-framework": "6.4.0", + "@wdio/local-runner": "6.4.0", + "@wdio/spec-reporter": "6.4.0", + "@wdio/static-server-service": "6.4.0", + "@wdio/sync": "6.4.0" + }, + "scripts": { + "examples:browser:webpack:build": "cd examples/browser-webpack && npm install && npm run build", + "examples:browser:rollup:build": "cd examples/browser-rollup && npm install && npm run build", + "examples:node:commonjs:test": "cd examples/node-commonjs && npm install && npm test", + "examples:node:esmodules:test": "cd examples/node-esmodules && npm install && npm test", + "lint": "npm run eslint:check && npm run prettier:check", + "eslint:check": "eslint src/ test/ examples/ *.js", + "eslint:fix": "eslint --fix src/ test/ examples/ *.js", + "pretest": "[ -n $CI ] || npm run build", + "test": "BABEL_ENV=commonjs node --throw-deprecation node_modules/.bin/jest test/unit/", + "pretest:browser": "optional-dev-dependency && npm run build && npm-run-all --parallel examples:browser:**", + "test:browser": "wdio run ./wdio.conf.js", + "pretest:node": "npm run build", + "test:node": "npm-run-all --parallel examples:node:**", + "test:pack": "./scripts/testpack.sh", + "pretest:benchmark": "npm run build", + "test:benchmark": "cd examples/benchmark && npm install && npm test", + "prettier:check": "prettier --ignore-path .prettierignore --check '**/*.{js,jsx,json,md}'", + "prettier:fix": "prettier --ignore-path .prettierignore --write '**/*.{js,jsx,json,md}'", + "bundlewatch": "npm run pretest:browser && bundlewatch --config bundlewatch.config.json", + "md": "runmd --watch --output=README.md README_js.md", + "docs": "( node --version | grep -q 'v12' ) && ( npm run build && runmd --output=README.md README_js.md )", + "docs:diff": "npm run docs && git diff --quiet README.md", + "build": "./scripts/build.sh", + "prepack": "npm run build", + "release": "standard-version --no-verify" + }, + "repository": { + "type": "git", + "url": "https://github.com/uuidjs/uuid.git" + }, + "husky": { + "hooks": { + "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", + "pre-commit": "lint-staged" + } + }, + "lint-staged": { + "*.{js,jsx,json,md}": [ + "prettier --write" + ], + "*.{js,jsx}": [ + "eslint --fix" + ] + }, + "standard-version": { + "scripts": { + "postchangelog": "prettier --write CHANGELOG.md" + } + } +} diff --git a/packages/cli/test/fixtures/npm_fs/package_link_root/uuid@9.0.0.package.json b/packages/cli/test/fixtures/npm_fs/package_link_root/uuid@9.0.0.package.json new file mode 100644 index 0000000..3ec75f0 --- /dev/null +++ b/packages/cli/test/fixtures/npm_fs/package_link_root/uuid@9.0.0.package.json @@ -0,0 +1,135 @@ +{ + "name": "uuid", + "version": "9.0.0", + "description": "RFC4122 (v1, v4, and v5) UUIDs", + "commitlint": { + "extends": [ + "@commitlint/config-conventional" + ] + }, + "keywords": [ + "uuid", + "guid", + "rfc4122" + ], + "license": "MIT", + "bin": { + "uuid": "./dist/bin/uuid" + }, + "sideEffects": false, + "main": "./dist/index.js", + "exports": { + ".": { + "node": { + "module": "./dist/esm-node/index.js", + "require": "./dist/index.js", + "import": "./wrapper.mjs" + }, + "default": "./dist/esm-browser/index.js" + }, + "./package.json": "./package.json" + }, + "module": "./dist/esm-node/index.js", + "browser": { + "./dist/md5.js": "./dist/md5-browser.js", + "./dist/rng.js": "./dist/rng-browser.js", + "./dist/sha1.js": "./dist/sha1-browser.js", + "./dist/esm-node/index.js": "./dist/esm-browser/index.js" + }, + "files": [ + "CHANGELOG.md", + "CONTRIBUTING.md", + "LICENSE.md", + "README.md", + "dist", + "wrapper.mjs" + ], + "devDependencies": { + "@babel/cli": "7.11.6", + "@babel/core": "7.11.6", + "@babel/preset-env": "7.11.5", + "@commitlint/cli": "11.0.0", + "@commitlint/config-conventional": "11.0.0", + "@rollup/plugin-node-resolve": "9.0.0", + "babel-eslint": "10.1.0", + "bundlewatch": "0.3.1", + "eslint": "7.10.0", + "eslint-config-prettier": "6.12.0", + "eslint-config-standard": "14.1.1", + "eslint-plugin-import": "2.22.1", + "eslint-plugin-node": "11.1.0", + "eslint-plugin-prettier": "3.1.4", + "eslint-plugin-promise": "4.2.1", + "eslint-plugin-standard": "4.0.1", + "husky": "4.3.0", + "jest": "25.5.4", + "lint-staged": "10.4.0", + "npm-run-all": "4.1.5", + "optional-dev-dependency": "2.0.1", + "prettier": "2.1.2", + "random-seed": "0.3.0", + "rollup": "2.28.2", + "rollup-plugin-terser": "7.0.2", + "runmd": "1.3.2", + "standard-version": "9.0.0" + }, + "optionalDevDependencies": { + "@wdio/browserstack-service": "6.4.0", + "@wdio/cli": "6.4.0", + "@wdio/jasmine-framework": "6.4.0", + "@wdio/local-runner": "6.4.0", + "@wdio/spec-reporter": "6.4.0", + "@wdio/static-server-service": "6.4.0", + "@wdio/sync": "6.4.0" + }, + "scripts": { + "examples:browser:webpack:build": "cd examples/browser-webpack && npm install && npm run build", + "examples:browser:rollup:build": "cd examples/browser-rollup && npm install && npm run build", + "examples:node:commonjs:test": "cd examples/node-commonjs && npm install && npm test", + "examples:node:esmodules:test": "cd examples/node-esmodules && npm install && npm test", + "lint": "npm run eslint:check && npm run prettier:check", + "eslint:check": "eslint src/ test/ examples/ *.js", + "eslint:fix": "eslint --fix src/ test/ examples/ *.js", + "pretest": "[ -n $CI ] || npm run build", + "test": "BABEL_ENV=commonjs node --throw-deprecation node_modules/.bin/jest test/unit/", + "pretest:browser": "optional-dev-dependency && npm run build && npm-run-all --parallel examples:browser:**", + "test:browser": "wdio run ./wdio.conf.js", + "pretest:node": "npm run build", + "test:node": "npm-run-all --parallel examples:node:**", + "test:pack": "./scripts/testpack.sh", + "pretest:benchmark": "npm run build", + "test:benchmark": "cd examples/benchmark && npm install && npm test", + "prettier:check": "prettier --ignore-path .prettierignore --check '**/*.{js,jsx,json,md}'", + "prettier:fix": "prettier --ignore-path .prettierignore --write '**/*.{js,jsx,json,md}'", + "bundlewatch": "npm run pretest:browser && bundlewatch --config bundlewatch.config.json", + "md": "runmd --watch --output=README.md README_js.md", + "docs": "( node --version | grep -q 'v12' ) && ( npm run build && runmd --output=README.md README_js.md )", + "docs:diff": "npm run docs && git diff --quiet README.md", + "build": "./scripts/build.sh", + "prepack": "npm run build", + "release": "standard-version --no-verify" + }, + "repository": { + "type": "git", + "url": "https://github.com/uuidjs/uuid.git" + }, + "husky": { + "hooks": { + "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", + "pre-commit": "lint-staged" + } + }, + "lint-staged": { + "*.{js,jsx,json,md}": [ + "prettier --write" + ], + "*.{js,jsx}": [ + "eslint --fix" + ] + }, + "standard-version": { + "scripts": { + "postchangelog": "prettier --write CHANGELOG.md" + } + } +} diff --git a/packages/cli/test/npm_fs.test.js b/packages/cli/test/npm_fs.test.js index 2b02b7f..d0e8d63 100644 --- a/packages/cli/test/npm_fs.test.js +++ b/packages/cli/test/npm_fs.test.js @@ -436,6 +436,26 @@ describe('test/npm_fs.test.js', () => { }); }); + describe('link hoist', () => { + beforeEach(async () => { + fixtureDir = 'npm_fs/package_link_root'; + depPkgs = await Promise.all([ + TestUtil.readFixtureJson(fixtureDir, 'uuid@3.4.0.package.json'), + TestUtil.readFixtureJson(fixtureDir, 'uuid@9.0.0.package.json'), + ]); + await prepareBlobManager(); + }); + + it('should work', async () => { + const npm = new NpmFs(blobManager, defaultOptions); + const fsMeta = await npm.getFsMeta(pkgLockJson); + const link = fsMeta.entries.find( + ({ entry }) => entry.name === 'uuid' && entry.type === 'symlink' + ).entry.linkName; + assert(link === '_uuid@3.4.0@uuid'); + }); + }); + describe('multi blob', () => { beforeEach(async () => { fixtureDir = 'npm_fs/multi_blob';