vercel / turborepo

Build system optimized for JavaScript and TypeScript, written in Rust
https://turbo.build/repo/docs
MIT License
26.36k stars 1.83k forks source link

[turborepo] turbo prune generating broken pnpm lockfile #3564

Closed shawnmcknight closed 1 year ago

shawnmcknight commented 1 year ago

What version of Turborepo are you using?

1.7.1

What package manager are you using / does the bug impact?

pnpm

What operating system are you using?

Windows

Describe the Bug

We started seeing CI failures today with pnpm reporting a broken lockfile when running pnpm install --frozen-lockfile on a pruned workspace. After trying to ascertain the problem, we realized that earlier CI runs were using turbo 1.7.0 and the latest CI runs were using turbo 1.7.1. I was able to replicate locally by using turbo 1.7.1 and I've compared the two lock files and the lockfile generated by 1.7.1 is missing a few dependencies which were present in the 1.7.0 lockfile. The below is a snippet of a diff with 1.7.0 on the left and 1.7.1 on the right: image There are a few other dependencies missing, but the total diff isn't substantial (lockfile size went from 11223 lines to 11100). However, it is enough to cause a broken lockfile as these do appear to be dependencies which are needed.

I'm happy to provide whatever other information is helpful, but I'm not sure exactly what will help at this stage.

Expected Behavior

Generate a valid lockfile for the pruned workspace.

To Reproduce

I'm not sure how easily this can be replicated and might depend on what dependencies are in the lockfile. In my case, I simply ran pnpm exec turbo prune --scope=<workspace_name> and then tried to run pnpm install --frozen-lockfile from the out folder.

Reproduction Repo

No response

jplwood commented 1 year ago

I'm not sure if this is two sides of the same coin or a distinctly different issue also introduced in 1.7.1. I'm using NPM and my issue is manifesting in a slightly different way, but my CI dockerfile build randomly started failing when seemingly nothing changed. I noticed that my dockerfile just blindly globally installs turbo in order to prune the repo, so we started using 1.7.1 today. I get the following error on my turbo build step, after I've already pruned my repo:

Step 17/33 : RUN npm run build -- --filter=api... &&     npm prune --omit=dev
 ---> Running in 1e638563d2dc

> traveler-recruitment@0.0.0 build
> turbo run build --filter=api...

 ERROR  run failed: turbo.json: json: cannot unmarshal number into Go struct field rawTurboJSON.pipeline of type string
Turbo error: turbo.json: json: cannot unmarshal number into Go struct field rawTurboJSON.pipeline of type string
The command '/bin/sh -c npm run build -- --filter=api... &&     npm prune --omit=dev' returned a non-zero code: 1

Upon trying out the turbo prune locally on 1.7.0 and 1.7.1, the generated turbo.json files are significantly different. Nothing is wrong per se with the version produced by 1.7.1, but turbo build is clearly unhappy about this differently formatted turbo.json file.

1.7.0 turbo.json ```json { "$schema": "https://turbo.build/schema.json", "pipeline": { "dev": { "dependsOn": ["^build"], "outputs": [], "cache": false, "persistent": true }, "build": { "dependsOn": ["^build"], "outputs": ["build/**", "dist/**"], "outputMode": "new-only" }, "lint": { "dependsOn": ["^build"], "outputs": [], "outputMode": "new-only" }, "test": { "outputs": ["coverage/**"], "dependsOn": ["^build"], "inputs": ["src/**/*.tsx", "src/**/*.ts", "jest.config.ts", "jest-setup.ts"], "outputMode": "new-only" }, "test:watch": { "cache": false, "persistent": true }, "clean": { "cache": false } } } ```
1.7.1 turbo.json ```json { "pipeline": { "build": { "Outputs": { "Inclusions": ["build/**", "dist/**"], "Exclusions": null }, "ShouldCache": true, "EnvVarDependencies": [], "TopologicalDependencies": ["build"], "TaskDependencies": [], "Inputs": null, "OutputMode": 3, "Persistent": false }, "clean": { "Outputs": { "Inclusions": null, "Exclusions": null }, "ShouldCache": false, "EnvVarDependencies": [], "TopologicalDependencies": [], "TaskDependencies": [], "Inputs": null, "OutputMode": 0, "Persistent": false }, "dev": { "Outputs": { "Inclusions": null, "Exclusions": null }, "ShouldCache": false, "EnvVarDependencies": [], "TopologicalDependencies": ["build"], "TaskDependencies": [], "Inputs": null, "OutputMode": 0, "Persistent": true }, "lint": { "Outputs": { "Inclusions": null, "Exclusions": null }, "ShouldCache": true, "EnvVarDependencies": [], "TopologicalDependencies": ["build"], "TaskDependencies": [], "Inputs": null, "OutputMode": 3, "Persistent": false }, "test": { "Outputs": { "Inclusions": ["coverage/**"], "Exclusions": null }, "ShouldCache": true, "EnvVarDependencies": [], "TopologicalDependencies": ["build"], "TaskDependencies": [], "Inputs": ["src/**/*.tsx", "src/**/*.ts", "jest.config.ts", "jest-setup.ts"], "OutputMode": 3, "Persistent": false }, "test:watch": { "Outputs": { "Inclusions": null, "Exclusions": null }, "ShouldCache": false, "EnvVarDependencies": [], "TopologicalDependencies": [], "TaskDependencies": [], "Inputs": null, "OutputMode": 0, "Persistent": true } }, "remoteCache": {} } ```

My workaround for now is pinning the turbo version to 1.7.0 for my docker build

Edit I ended up posting this as its own issue: https://github.com/vercel/turbo/issues/3570

eden commented 1 year ago

Upon trying out the turbo prune locally on 1.7.0 and 1.7.1, the generated turbo.json files are significantly different. Nothing is wrong per se with the version produced by 1.7.1, but turbo build is clearly unhappy about this differently formatted turbo.json file.

We hit this as well in our builds... I think this is different than the issue you're replying to. I think this warrants a new issue since I don't seem to find reference to this new format clash anywhere else.

shawnmcknight commented 1 year ago

For anyone interested, I also decided to pin my turbo version as well, but made sure the version matched the version in my package.json. I changed my Dockerfile pruner stage from:

# Install turborepo globally
RUN pnpm install -g turbo

to:

# Install turborepo globally (use version from package.json)
RUN <<EOF
  turbo_version=$(jq -r '.devDependencies.turbo' package.json)
  pnpm install -g "turbo@${turbo_version}"
EOF

This requires jq to be available in your pruner container image.

After making this change the turbo version being used was 1.7.0 (from the package.json) instead of 1.7.1 where I was experiencing the problem with the lockfile.

beefancohen commented 1 year ago

we are also seeing issues with the generated pnpm lockfile after pruning with turbo@1.7.1:

#23 [builder 11/15] RUN pnpm fetch
#23 sha256:1729c6ae2ce9354de6b7cf008dd9a417cc0152362eb3f16f2f4fc9e3292ad8c4
#23 0.990 Importing packages to virtual store
#23 1.101  WARN  Broken lockfile: no entry for '/uuid/8.3.2' in pnpm-lock.yaml
#23 1.102  ERR_PNPM_ERR_PNPM_LOCKFILE_MISSING_DEPENDENCY  The lockfile is broken! Resolution step will be performed to fix it.
shawnmcknight commented 1 year ago

we are also seeing issues with the generated pnpm lockfile after pruning with turbo@1.7.1:

#23 [builder 11/15] RUN pnpm fetch
#23 sha256:1729c6ae2ce9354de6b7cf008dd9a417cc0152362eb3f16f2f4fc9e3292ad8c4
#23 0.990 Importing packages to virtual store
#23 1.101  WARN  Broken lockfile: no entry for '/uuid/8.3.2' in pnpm-lock.yaml
#23 1.102  ERR_PNPM_ERR_PNPM_LOCKFILE_MISSING_DEPENDENCY  The lockfile is broken! Resolution step will be performed to fix it.

In the event it helps, uuid was also one of the packages that was in my lockfile on 1.7.0 but is not in 1.7.1.

chris-olszewski commented 1 year ago

If someone could provide a repo or lockfile along with the workspace used in prune that produces a broken lockfile that would be helpful in fixing this.

chris-olszewski commented 1 year ago

For those running into this if you could provide pnpm version, contents of .npmrc if you have one, and the output of pnpm why -r $MISSING_DEP as this will greatly help me debugging this.

shawnmcknight commented 1 year ago

pnpm version: 7.11.0

.npmrc contents:

save-prefix=
save-workspace-protocol=rolling
shell-emulator=true
public-hoist-pattern[]=*eslint*
public-hoist-pattern[]=*prettier*
public-hoist-pattern[]=@types*

pnpm why output

λ pnpm why -r uuid@3.4.0
Legend: production dependency, optional only, dev only

@storis/monorepo-migration-services C:\Users\srm\Projects\nextgen\monorepo-migration-packages\moleculer-services

dependencies:
moleculer-apollo-server 0.3.5
└─┬ apollo-server-core 2.26.1
  └─┬ graphql-tools 4.0.8
    └── uuid 3.4.0

I picked uuid since someone else reported an issue with that same package. It might be meaningful to note that uuid seems to be a dependency in my tree for multiple versions, so here is the pnpm why output for uuid without a version spec:

λ pnpm why -r uuid                                                                                                                                                                                                                          
Legend: production dependency, optional only, dev only                                                                                                                                                                                      

@storis/monorepo-migration-apps C:\Users\srm\Projects\nextgen\monorepo-migration-packages\apps                                                                                                                                              

devDependencies:                                                                                                                                                                                                                            
babel-loader 8.2.5                                                                                                                                                                                                                          
└─┬ webpack 5.74.0 peer                                                                                                                                                                                                                     
  └─┬ webpack-cli 4.10.0 peer                                                                                                                                                                                                               
    ├─┬ @webpack-cli/serve 1.7.0                                                                                                                                                                                                            
    │ └─┬ webpack-dev-server 4.11.1 peer                                                                                                                                                                                                    
    │   └─┬ sockjs 0.3.24                                                                                                                                                                                                                   
    │     └── uuid 8.3.2                                                                                                                                                                                                                    
    └─┬ webpack-dev-server 4.11.1 peer                                                                                                                                                                                                      
      └─┬ sockjs 0.3.24                                                                                                                                                                                                                     
        └── uuid 8.3.2                                                                                                                                                                                                                      
eslint-import-resolver-webpack 0.13.2                                                                                                                                                                                                       
└─┬ webpack 5.74.0 peer                                                                                                                                                                                                                     
  └─┬ webpack-cli 4.10.0 peer                                                                                                                                                                                                               
    ├─┬ @webpack-cli/serve 1.7.0                                                                                                                                                                                                            
    │ └─┬ webpack-dev-server 4.11.1 peer                                                                                                                                                                                                    
    │   └─┬ sockjs 0.3.24                                                                                                                                                                                                                   
    │     └── uuid 8.3.2                                                                                                                                                                                                                    
    └─┬ webpack-dev-server 4.11.1 peer                                                                                                                                                                                                      
      └─┬ sockjs 0.3.24                                                                                                                                                                                                                     
        └── uuid 8.3.2                                                                                                                                                                                                                      
eslint-plugin-import 2.26.0                                                                                                                                                                                                                 
└─┬ eslint-module-utils 2.7.4                                                                                                                                                                                                               
  └─┬ eslint-import-resolver-webpack 0.13.2 peer                                                                                                                                                                                            
    └─┬ webpack 5.74.0 peer                                                                                                                                                                                                                 
      └─┬ webpack-cli 4.10.0 peer                                                                                                                                                                                                           
        ├─┬ @webpack-cli/serve 1.7.0                                                                                                                                                                                                        
        │ └─┬ webpack-dev-server 4.11.1 peer                                                                                                                                                                                                
        │   └─┬ sockjs 0.3.24                                                                                                                                                                                                               
        │     └── uuid 8.3.2                                                                                                                                                                                                                
        └─┬ webpack-dev-server 4.11.1 peer                                                                                                                                                                                                  
          └─┬ sockjs 0.3.24                                                                                                                                                                                                                 
            └── uuid 8.3.2                                                                                                                                                                                                                  
html-webpack-plugin 5.5.0                                                                                                                                                                                                                   
└─┬ webpack 5.74.0 peer                                                                                                                                                                                                                     
  └─┬ webpack-cli 4.10.0 peer                                                                                                                                                                                                               
    ├─┬ @webpack-cli/serve 1.7.0                                                                                                                                                                                                            
    │ └─┬ webpack-dev-server 4.11.1 peer                                                                                                                                                                                                    
    │   └─┬ sockjs 0.3.24                                                                                                                                                                                                                   
    │     └── uuid 8.3.2                                                                                                                                                                                                                    
    └─┬ webpack-dev-server 4.11.1 peer                                                                                                                                                                                                      
      └─┬ sockjs 0.3.24                                                                                                                                                                                                                     
        └── uuid 8.3.2                                                                                                                                                                                                                      
jest-junit 15.0.0                                                                                                                                                                                                                           
└── uuid 8.3.2                                                                                                                                                                                                                              
webpack 5.74.0                                                                                                                                                                                                                              
└─┬ webpack-cli 4.10.0 peer                                                                                                                                                                                                                 
  ├─┬ @webpack-cli/serve 1.7.0                                                                                                                                                                                                              
  │ └─┬ webpack-dev-server 4.11.1 peer                                                                                                                                                                                                      
  │   └─┬ sockjs 0.3.24                                                                                                                                                                                                                     
  │     └── uuid 8.3.2                                                                                                                                                                                                                      
  └─┬ webpack-dev-server 4.11.1 peer                                                                                                                                                                                                        
    └─┬ sockjs 0.3.24                                                                                                                                                                                                                       
      └── uuid 8.3.2                                                                                                                                                                                                                        
webpack-cli 4.10.0                                                                                                                                                                                                                          
├─┬ @webpack-cli/serve 1.7.0                                                                                                                                                                                                                
│ └─┬ webpack-dev-server 4.11.1 peer                                                                                                                                                                                                        
│   └─┬ sockjs 0.3.24                                                                                                                                                                                                                       
│     └── uuid 8.3.2                                                                                                                                                                                                                        
└─┬ webpack-dev-server 4.11.1 peer                                                                                                                                                                                                          
  └─┬ sockjs 0.3.24                                                                                                                                                                                                                         
    └── uuid 8.3.2                                                                                                                                                                                                                          
webpack-dev-server 4.11.1                                                                                                                                                                                                                   
└─┬ sockjs 0.3.24                                                                                                                                                                                                                           
  └── uuid 8.3.2                                                                                                                                                                                                                            

@storis/monorepo-migration-apps-shared-components C:\Users\srm\Projects\nextgen\monorepo-migration-packages\apps-shared-components                                                                                                          

devDependencies:                                                                                                                                                                                                                            
jest-junit 15.0.0                                                                                                                                                                                                                           
└── uuid 8.3.2                                                                                                                                                                                                                              

@storis/monorepo-migration-apps-shared-hooks C:\Users\srm\Projects\nextgen\monorepo-migration-packages\apps-shared-hooks                                                                                                                    

devDependencies:                                                                                                                                                                                                                            
jest-junit 15.0.0                                                                                                                                                                                                                           
└── uuid 8.3.2                                                                                                                                                                                                                              

@storis/monorepo-migration-apps-shared-utils C:\Users\srm\Projects\nextgen\monorepo-migration-packages\apps-shared-utils                                                                                                                    

devDependencies:                                                                                                                                                                                                                            
jest-junit 15.0.0                                                                                                                                                                                                                           
└── uuid 8.3.2                                                                                                                                                                                                                              

@storis/monorepo-migration-services C:\Users\srm\Projects\nextgen\monorepo-migration-packages\moleculer-services                                                                                                                            

dependencies:                                                                                                                                                                                                                               
@azure/arm-storage 17.0.0                                                                                                                                                                                                                   
├─┬ @azure/core-client 1.6.1                                                                                                                                                                                                                
│ └─┬ @azure/core-rest-pipeline 1.10.0                                                                                                                                                                                                      
│   └── uuid 8.3.2                                                                                                                                                                                                                          
└─┬ @azure/core-rest-pipeline 1.10.0                                                                                                                                                                                                        
  └── uuid 8.3.2                                                                                                                                                                                                                            
@azure/communication-phone-numbers 1.0.0                                                                                                                                                                                                    
├─┬ @azure/communication-common 1.1.0                                                                                                                                                                                                       
│ └─┬ @azure/core-http 2.3.1                                                                                                                                                                                                                
│   └── uuid 8.3.2                                                                                                                                                                                                                          
├─┬ @azure/core-http 1.2.6                                                                                                                                                                                                                  
│ └── uuid 8.3.2                                                                                                                                                                                                                            
└─┬ @azure/core-lro 1.0.5                                                                                                                                                                                                                   
  └─┬ @azure/core-http 1.2.6                                                                                                                                                                                                                
    └── uuid 8.3.2                                                                                                                                                                                                                          
@azure/communication-sms 1.0.0                                                                                                                                                                                                              
├─┬ @azure/communication-common 1.1.0                                                                                                                                                                                                       
│ └─┬ @azure/core-http 2.3.1                                                                                                                                                                                                                
│   └── uuid 8.3.2                                                                                                                                                                                                                          
└─┬ @azure/core-http 1.2.6                                                                                                                                                                                                                  
  └── uuid 8.3.2                                                                                                                                                                                                                            
@azure/identity 2.0.1                                                                                                                                                                                                                       
├─┬ @azure/core-client 1.6.1                                                                                                                                                                                                                
│ └─┬ @azure/core-rest-pipeline 1.10.0                                                                                                                                                                                                      
│   └── uuid 8.3.2                                                                                                                                                                                                                          
├─┬ @azure/core-rest-pipeline 1.10.0                                                                                                                                                                                                        
│ └── uuid 8.3.2                                                                                                                                                                                                                            
├─┬ @azure/msal-node 1.14.3                                                                                                                                                                                                                 
│ └── uuid 8.3.2                                                                                                                                                                                                                            
└── uuid 8.3.2                                                                                                                                                                                                                              
@azure/keyvault-secrets 4.3.0                                                                                                                                                                                                               
└─┬ @azure/core-http 2.3.1                                                                                                                                                                                                                  
  └── uuid 8.3.2                                                                                                                                                                                                                            
@azure/storage-blob 12.8.0                                                                                                                                                                                                                  
└─┬ @azure/core-http 2.3.1                                                                                                                                                                                                                  
  └── uuid 8.3.2                                                                                                                                                                                                                            
launchdarkly-node-server-sdk 7.0.0                                                                                                                                                                                                          
└── uuid 8.3.2                                                                                                                                                                                                                              
moleculer-apollo-server 0.3.5                                                                                                                                                                                                               
└─┬ apollo-server-core 2.26.1                                                                                                                                                                                                               
  ├─┬ graphql-tools 4.0.8                                                                                                                                                                                                                   
  │ └── uuid 3.4.0                                                                                                                                                                                                                          
  └── uuid 8.3.2                                                                                                                                                                                                                            
mongoose 6.7.2                                                                                                                                                                                                                              
└─┬ mongodb 4.11.0                                                                                                                                                                                                                          
  └─┬ @aws-sdk/credential-providers 3.245.0                                                                                                                                                                                                 
    ├─┬ @aws-sdk/client-cognito-identity 3.245.0                                                                                                                                                                                            
    │ ├─┬ @aws-sdk/client-sts 3.245.0                                                                                                                                                                                                       
    │ │ ├─┬ @aws-sdk/credential-provider-node 3.245.0                                                                                                                                                                                       
    │ │ │ ├─┬ @aws-sdk/credential-provider-ini 3.245.0                                                                                                                                                                                      
    │ │ │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                    
    │ │ │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                               
    │ │ │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                       
    │ │ │ │   │   └── uuid 8.3.2                                                                                                                                                                                                            
    │ │ │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                          
    │ │ │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                        
    │ │ │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                     
    │ │ │ │         └── uuid 8.3.2                                                                                                                                                                                                          
    │ │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                      
    │ │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                                 
    │ │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                         
    │ │ │   │   └── uuid 8.3.2                                                                                                                                                                                                              
    │ │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                            
    │ │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                          
    │ │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                       
    │ │ │         └── uuid 8.3.2                                                                                                                                                                                                            
    │ │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                               
    │ │   └── uuid 8.3.2                                                                                                                                                                                                                    
    │ ├─┬ @aws-sdk/credential-provider-node 3.245.0                                                                                                                                                                                         
    │ │ ├─┬ @aws-sdk/credential-provider-ini 3.245.0                                                                                                                                                                                        
    │ │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                      
    │ │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                                 
    │ │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                         
    │ │ │   │   └── uuid 8.3.2                                                                                                                                                                                                              
    │ │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                            
    │ │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                          
    │ │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                       
    │ │ │         └── uuid 8.3.2                                                                                                                                                                                                            
    │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                        
    │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                                   
    │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                           
    │ │   │   └── uuid 8.3.2                                                                                                                                                                                                                
    │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                              
    │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                            
    │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                         
    │ │         └── uuid 8.3.2                                                                                                                                                                                                              
    │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                                 
    │   └── uuid 8.3.2                                                                                                                                                                                                                      
    ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                                         
    │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                                 
    │   └── uuid 8.3.2                                                                                                                                                                                                                      
    ├─┬ @aws-sdk/client-sts 3.245.0                                                                                                                                                                                                         
    │ ├─┬ @aws-sdk/credential-provider-node 3.245.0                                                                                                                                                                                         
    │ │ ├─┬ @aws-sdk/credential-provider-ini 3.245.0                                                                                                                                                                                        
    │ │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                      
    │ │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                                 
    │ │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                         
    │ │ │   │   └── uuid 8.3.2                                                                                                                                                                                                              
    │ │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                            
    │ │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                          
    │ │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                       
    │ │ │         └── uuid 8.3.2                                                                                                                                                                                                            
    │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                        
    │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                                   
    │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                           
    │ │   │   └── uuid 8.3.2                                                                                                                                                                                                                
    │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                              
    │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                            
    │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                         
    │ │         └── uuid 8.3.2                                                                                                                                                                                                              
    │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                                 
    │   └── uuid 8.3.2                                                                                                                                                                                                                      
    ├─┬ @aws-sdk/credential-provider-cognito-identity 3.245.0                                                                                                                                                                               
    │ └─┬ @aws-sdk/client-cognito-identity 3.245.0                                                                                                                                                                                          
    │   ├─┬ @aws-sdk/client-sts 3.245.0                                                                                                                                                                                                     
    │   │ ├─┬ @aws-sdk/credential-provider-node 3.245.0                                                                                                                                                                                     
    │   │ │ ├─┬ @aws-sdk/credential-provider-ini 3.245.0                                                                                                                                                                                    
    │   │ │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                  
    │   │ │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                             
    │   │ │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                     
    │   │ │ │   │   └── uuid 8.3.2                                                                                                                                                                                                          
    │   │ │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                        
    │   │ │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                      
    │   │ │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                   
    │   │ │ │         └── uuid 8.3.2                                                                                                                                                                                                        
    │   │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                    
    │   │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                               
    │   │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                       
    │   │ │   │   └── uuid 8.3.2                                                                                                                                                                                                            
    │   │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                          
    │   │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                        
    │   │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                     
    │   │ │         └── uuid 8.3.2                                                                                                                                                                                                          
    │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                             
    │   │   └── uuid 8.3.2                                                                                                                                                                                                                  
    │   ├─┬ @aws-sdk/credential-provider-node 3.245.0                                                                                                                                                                                       
    │   │ ├─┬ @aws-sdk/credential-provider-ini 3.245.0                                                                                                                                                                                      
    │   │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                    
    │   │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                               
    │   │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                       
    │   │ │   │   └── uuid 8.3.2                                                                                                                                                                                                            
    │   │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                          
    │   │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                        
    │   │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                     
    │   │ │         └── uuid 8.3.2                                                                                                                                                                                                          
    │   │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                      
    │   │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                                 
    │   │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                         
    │   │   │   └── uuid 8.3.2                                                                                                                                                                                                              
    │   │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                            
    │   │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                          
    │   │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                       
    │   │         └── uuid 8.3.2                                                                                                                                                                                                            
    │   └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                               
    │     └── uuid 8.3.2                                                                                                                                                                                                                    
    ├─┬ @aws-sdk/credential-provider-ini 3.245.0                                                                                                                                                                                            
    │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                          
    │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                                     
    │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                             
    │   │   └── uuid 8.3.2                                                                                                                                                                                                                  
    │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                                
    │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                              
    │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                           
    │         └── uuid 8.3.2                                                                                                                                                                                                                
    ├─┬ @aws-sdk/credential-provider-node 3.245.0                                                                                                                                                                                           
    │ ├─┬ @aws-sdk/credential-provider-ini 3.245.0                                                                                                                                                                                          
    │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                        
    │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                                   
    │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                           
    │ │   │   └── uuid 8.3.2                                                                                                                                                                                                                
    │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                              
    │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                            
    │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                         
    │ │         └── uuid 8.3.2                                                                                                                                                                                                              
    │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                          
    │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                                     
    │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                             
    │   │   └── uuid 8.3.2                                                                                                                                                                                                                  
    │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                                
    │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                              
    │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                           
    │         └── uuid 8.3.2                                                                                                                                                                                                                
    └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                            
      ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                                       
      │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                               
      │   └── uuid 8.3.2                                                                                                                                                                                                                    
      └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                                  
        └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                                
          └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                             
            └── uuid 8.3.2                                                                                                                                                                                                                  
mongoose-lean-getters 0.3.5                                                                                                                                                                                                                 
└─┬ mongoose 6.7.2 peer                                                                                                                                                                                                                     
  └─┬ mongodb 4.11.0                                                                                                                                                                                                                        
    └─┬ @aws-sdk/credential-providers 3.245.0                                                                                                                                                                                               
      ├─┬ @aws-sdk/client-cognito-identity 3.245.0                                                                                                                                                                                          
      │ ├─┬ @aws-sdk/client-sts 3.245.0                                                                                                                                                                                                     
      │ │ ├─┬ @aws-sdk/credential-provider-node 3.245.0                                                                                                                                                                                     
      │ │ │ ├─┬ @aws-sdk/credential-provider-ini 3.245.0                                                                                                                                                                                    
      │ │ │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                  
      │ │ │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                             
      │ │ │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                     
      │ │ │ │   │   └── uuid 8.3.2                                                                                                                                                                                                          
      │ │ │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                        
      │ │ │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                      
      │ │ │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                   
      │ │ │ │         └── uuid 8.3.2                                                                                                                                                                                                        
      │ │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                    
      │ │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                               
      │ │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                       
      │ │ │   │   └── uuid 8.3.2                                                                                                                                                                                                            
      │ │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                          
      │ │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                        
      │ │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                     
      │ │ │         └── uuid 8.3.2                                                                                                                                                                                                          
      │ │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                             
      │ │   └── uuid 8.3.2                                                                                                                                                                                                                  
      │ ├─┬ @aws-sdk/credential-provider-node 3.245.0                                                                                                                                                                                       
      │ │ ├─┬ @aws-sdk/credential-provider-ini 3.245.0                                                                                                                                                                                      
      │ │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                    
      │ │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                               
      │ │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                       
      │ │ │   │   └── uuid 8.3.2                                                                                                                                                                                                            
      │ │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                          
      │ │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                        
      │ │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                     
      │ │ │         └── uuid 8.3.2                                                                                                                                                                                                          
      │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                      
      │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                                 
      │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                         
      │ │   │   └── uuid 8.3.2                                                                                                                                                                                                              
      │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                            
      │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                          
      │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                       
      │ │         └── uuid 8.3.2                                                                                                                                                                                                            
      │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                               
      │   └── uuid 8.3.2                                                                                                                                                                                                                    
      ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                                       
      │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                               
      │   └── uuid 8.3.2                                                                                                                                                                                                                    
      ├─┬ @aws-sdk/client-sts 3.245.0                                                                                                                                                                                                       
      │ ├─┬ @aws-sdk/credential-provider-node 3.245.0                                                                                                                                                                                       
      │ │ ├─┬ @aws-sdk/credential-provider-ini 3.245.0                                                                                                                                                                                      
      │ │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                    
      │ │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                               
      │ │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                       
      │ │ │   │   └── uuid 8.3.2                                                                                                                                                                                                            
      │ │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                          
      │ │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                        
      │ │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                     
      │ │ │         └── uuid 8.3.2                                                                                                                                                                                                          
      │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                      
      │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                                 
      │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                         
      │ │   │   └── uuid 8.3.2                                                                                                                                                                                                              
      │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                            
      │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                          
      │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                       
      │ │         └── uuid 8.3.2                                                                                                                                                                                                            
      │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                               
      │   └── uuid 8.3.2                                                                                                                                                                                                                    
      ├─┬ @aws-sdk/credential-provider-cognito-identity 3.245.0                                                                                                                                                                             
      │ └─┬ @aws-sdk/client-cognito-identity 3.245.0                                                                                                                                                                                        
      │   ├─┬ @aws-sdk/client-sts 3.245.0                                                                                                                                                                                                   
      │   │ ├─┬ @aws-sdk/credential-provider-node 3.245.0                                                                                                                                                                                   
      │   │ │ ├─┬ @aws-sdk/credential-provider-ini 3.245.0                                                                                                                                                                                  
      │   │ │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                
      │   │ │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                           
      │   │ │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                   
      │   │ │ │   │   └── uuid 8.3.2                                                                                                                                                                                                        
      │   │ │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                      
      │   │ │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                    
      │   │ │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                 
      │   │ │ │         └── uuid 8.3.2                                                                                                                                                                                                      
      │   │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                  
      │   │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                             
      │   │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                     
      │   │ │   │   └── uuid 8.3.2                                                                                                                                                                                                          
      │   │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                        
      │   │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                      
      │   │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                   
      │   │ │         └── uuid 8.3.2                                                                                                                                                                                                        
      │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                           
      │   │   └── uuid 8.3.2                                                                                                                                                                                                                
      │   ├─┬ @aws-sdk/credential-provider-node 3.245.0                                                                                                                                                                                     
      │   │ ├─┬ @aws-sdk/credential-provider-ini 3.245.0                                                                                                                                                                                    
      │   │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                  
      │   │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                             
      │   │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                     
      │   │ │   │   └── uuid 8.3.2                                                                                                                                                                                                          
      │   │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                        
      │   │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                      
      │   │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                   
      │   │ │         └── uuid 8.3.2                                                                                                                                                                                                        
      │   │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                    
      │   │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                               
      │   │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                       
      │   │   │   └── uuid 8.3.2                                                                                                                                                                                                            
      │   │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                          
      │   │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                        
      │   │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                     
      │   │         └── uuid 8.3.2                                                                                                                                                                                                          
      │   └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                             
      │     └── uuid 8.3.2                                                                                                                                                                                                                  
      ├─┬ @aws-sdk/credential-provider-ini 3.245.0                                                                                                                                                                                          
      │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                        
      │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                                   
      │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                           
      │   │   └── uuid 8.3.2                                                                                                                                                                                                                
      │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                              
      │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                            
      │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                         
      │         └── uuid 8.3.2                                                                                                                                                                                                              
      ├─┬ @aws-sdk/credential-provider-node 3.245.0                                                                                                                                                                                         
      │ ├─┬ @aws-sdk/credential-provider-ini 3.245.0                                                                                                                                                                                        
      │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                      
      │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                                 
      │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                         
      │ │   │   └── uuid 8.3.2                                                                                                                                                                                                              
      │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                            
      │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                          
      │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                       
      │ │         └── uuid 8.3.2                                                                                                                                                                                                            
      │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                        
      │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                                   
      │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                           
      │   │   └── uuid 8.3.2                                                                                                                                                                                                                
      │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                              
      │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                            
      │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                         
      │         └── uuid 8.3.2                                                                                                                                                                                                              
      └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                          
        ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                                     
        │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                             
        │   └── uuid 8.3.2                                                                                                                                                                                                                  
        └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                                
          └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                              
            └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                           
              └── uuid 8.3.2                                                                                                                                                                                                                
mongoose-unique-validator 3.1.0                                                                                                                                                                                                             
└─┬ mongoose 6.7.2 peer                                                                                                                                                                                                                     
  └─┬ mongodb 4.11.0                                                                                                                                                                                                                        
    └─┬ @aws-sdk/credential-providers 3.245.0                                                                                                                                                                                               
      ├─┬ @aws-sdk/client-cognito-identity 3.245.0                                                                                                                                                                                          
      │ ├─┬ @aws-sdk/client-sts 3.245.0                                                                                                                                                                                                     
      │ │ ├─┬ @aws-sdk/credential-provider-node 3.245.0                                                                                                                                                                                     
      │ │ │ ├─┬ @aws-sdk/credential-provider-ini 3.245.0                                                                                                                                                                                    
      │ │ │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                  
      │ │ │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                             
      │ │ │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                     
      │ │ │ │   │   └── uuid 8.3.2                                                                                                                                                                                                          
      │ │ │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                        
      │ │ │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                      
      │ │ │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                   
      │ │ │ │         └── uuid 8.3.2                                                                                                                                                                                                        
      │ │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                    
      │ │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                               
      │ │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                       
      │ │ │   │   └── uuid 8.3.2                                                                                                                                                                                                            
      │ │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                          
      │ │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                        
      │ │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                     
      │ │ │         └── uuid 8.3.2                                                                                                                                                                                                          
      │ │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                             
      │ │   └── uuid 8.3.2                                                                                                                                                                                                                  
      │ ├─┬ @aws-sdk/credential-provider-node 3.245.0                                                                                                                                                                                       
      │ │ ├─┬ @aws-sdk/credential-provider-ini 3.245.0                                                                                                                                                                                      
      │ │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                    
      │ │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                               
      │ │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                       
      │ │ │   │   └── uuid 8.3.2                                                                                                                                                                                                            
      │ │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                          
      │ │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                        
      │ │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                     
      │ │ │         └── uuid 8.3.2                                                                                                                                                                                                          
      │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                      
      │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                                 
      │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                         
      │ │   │   └── uuid 8.3.2                                                                                                                                                                                                              
      │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                            
      │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                          
      │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                       
      │ │         └── uuid 8.3.2                                                                                                                                                                                                            
      │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                               
      │   └── uuid 8.3.2                                                                                                                                                                                                                    
      ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                                       
      │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                               
      │   └── uuid 8.3.2                                                                                                                                                                                                                    
      ├─┬ @aws-sdk/client-sts 3.245.0                                                                                                                                                                                                       
      │ ├─┬ @aws-sdk/credential-provider-node 3.245.0                                                                                                                                                                                       
      │ │ ├─┬ @aws-sdk/credential-provider-ini 3.245.0                                                                                                                                                                                      
      │ │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                    
      │ │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                               
      │ │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                       
      │ │ │   │   └── uuid 8.3.2                                                                                                                                                                                                            
      │ │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                          
      │ │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                        
      │ │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                     
      │ │ │         └── uuid 8.3.2                                                                                                                                                                                                          
      │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                      
      │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                                 
      │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                         
      │ │   │   └── uuid 8.3.2                                                                                                                                                                                                              
      │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                            
      │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                          
      │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                       
      │ │         └── uuid 8.3.2                                                                                                                                                                                                            
      │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                               
      │   └── uuid 8.3.2                                                                                                                                                                                                                    
      ├─┬ @aws-sdk/credential-provider-cognito-identity 3.245.0                                                                                                                                                                             
      │ └─┬ @aws-sdk/client-cognito-identity 3.245.0                                                                                                                                                                                        
      │   ├─┬ @aws-sdk/client-sts 3.245.0                                                                                                                                                                                                   
      │   │ ├─┬ @aws-sdk/credential-provider-node 3.245.0                                                                                                                                                                                   
      │   │ │ ├─┬ @aws-sdk/credential-provider-ini 3.245.0                                                                                                                                                                                  
      │   │ │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                
      │   │ │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                           
      │   │ │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                   
      │   │ │ │   │   └── uuid 8.3.2                                                                                                                                                                                                        
      │   │ │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                      
      │   │ │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                    
      │   │ │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                 
      │   │ │ │         └── uuid 8.3.2                                                                                                                                                                                                      
      │   │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                  
      │   │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                             
      │   │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                     
      │   │ │   │   └── uuid 8.3.2                                                                                                                                                                                                          
      │   │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                        
      │   │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                      
      │   │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                   
      │   │ │         └── uuid 8.3.2                                                                                                                                                                                                        
      │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                           
      │   │   └── uuid 8.3.2                                                                                                                                                                                                                
      │   ├─┬ @aws-sdk/credential-provider-node 3.245.0                                                                                                                                                                                     
      │   │ ├─┬ @aws-sdk/credential-provider-ini 3.245.0                                                                                                                                                                                    
      │   │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                  
      │   │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                             
      │   │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                     
      │   │ │   │   └── uuid 8.3.2                                                                                                                                                                                                          
      │   │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                        
      │   │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                      
      │   │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                   
      │   │ │         └── uuid 8.3.2                                                                                                                                                                                                        
      │   │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                    
      │   │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                               
      │   │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                       
      │   │   │   └── uuid 8.3.2                                                                                                                                                                                                            
      │   │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                          
      │   │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                        
      │   │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                     
      │   │         └── uuid 8.3.2                                                                                                                                                                                                          
      │   └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                             
      │     └── uuid 8.3.2                                                                                                                                                                                                                  
      ├─┬ @aws-sdk/credential-provider-ini 3.245.0                                                                                                                                                                                          
      │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                        
      │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                                   
      │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                           
      │   │   └── uuid 8.3.2                                                                                                                                                                                                                
      │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                              
      │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                            
      │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                         
      │         └── uuid 8.3.2                                                                                                                                                                                                              
      ├─┬ @aws-sdk/credential-provider-node 3.245.0                                                                                                                                                                                         
      │ ├─┬ @aws-sdk/credential-provider-ini 3.245.0                                                                                                                                                                                        
      │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                      
      │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                                 
      │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                         
      │ │   │   └── uuid 8.3.2                                                                                                                                                                                                              
      │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                            
      │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                          
      │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                       
      │ │         └── uuid 8.3.2                                                                                                                                                                                                            
      │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                        
      │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                                   
      │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                           
      │   │   └── uuid 8.3.2                                                                                                                                                                                                                
      │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                              
      │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                            
      │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                         
      │         └── uuid 8.3.2                                                                                                                                                                                                              
      └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                          
        ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                                     
        │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                             
        │   └── uuid 8.3.2                                                                                                                                                                                                                  
        └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                                
          └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                              
            └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                           
              └── uuid 8.3.2                                                                                                                                                                                                                
soap 0.43.0                                                                                                                                                                                                                                 
└── uuid 8.3.2                                                                                                                                                                                                                              
uuid 8.3.2                                                                                                                                                                                                                                  

devDependencies:                                                                                                                                                                                                                            
@types/mongoose-unique-validator 1.0.6                                                                                                                                                                                                      
└─┬ mongoose 6.7.2                                                                                                                                                                                                                          
  └─┬ mongodb 4.11.0                                                                                                                                                                                                                        
    └─┬ @aws-sdk/credential-providers 3.245.0                                                                                                                                                                                               
      ├─┬ @aws-sdk/client-cognito-identity 3.245.0                                                                                                                                                                                          
      │ ├─┬ @aws-sdk/client-sts 3.245.0                                                                                                                                                                                                     
      │ │ ├─┬ @aws-sdk/credential-provider-node 3.245.0                                                                                                                                                                                     
      │ │ │ ├─┬ @aws-sdk/credential-provider-ini 3.245.0                                                                                                                                                                                    
      │ │ │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                  
      │ │ │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                             
      │ │ │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                     
      │ │ │ │   │   └── uuid 8.3.2                                                                                                                                                                                                          
      │ │ │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                        
      │ │ │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                      
      │ │ │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                   
      │ │ │ │         └── uuid 8.3.2                                                                                                                                                                                                        
      │ │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                    
      │ │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                               
      │ │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                       
      │ │ │   │   └── uuid 8.3.2                                                                                                                                                                                                            
      │ │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                          
      │ │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                        
      │ │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                     
      │ │ │         └── uuid 8.3.2                                                                                                                                                                                                          
      │ │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                             
      │ │   └── uuid 8.3.2                                                                                                                                                                                                                  
      │ ├─┬ @aws-sdk/credential-provider-node 3.245.0                                                                                                                                                                                       
      │ │ ├─┬ @aws-sdk/credential-provider-ini 3.245.0                                                                                                                                                                                      
      │ │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                    
      │ │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                               
      │ │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                       
      │ │ │   │   └── uuid 8.3.2                                                                                                                                                                                                            
      │ │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                          
      │ │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                        
      │ │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                     
      │ │ │         └── uuid 8.3.2                                                                                                                                                                                                          
      │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                      
      │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                                 
      │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                         
      │ │   │   └── uuid 8.3.2                                                                                                                                                                                                              
      │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                            
      │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                          
      │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                       
      │ │         └── uuid 8.3.2                                                                                                                                                                                                            
      │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                               
      │   └── uuid 8.3.2                                                                                                                                                                                                                    
      ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                                       
      │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                               
      │   └── uuid 8.3.2                                                                                                                                                                                                                    
      ├─┬ @aws-sdk/client-sts 3.245.0                                                                                                                                                                                                       
      │ ├─┬ @aws-sdk/credential-provider-node 3.245.0                                                                                                                                                                                       
      │ │ ├─┬ @aws-sdk/credential-provider-ini 3.245.0                                                                                                                                                                                      
      │ │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                    
      │ │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                               
      │ │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                       
      │ │ │   │   └── uuid 8.3.2                                                                                                                                                                                                            
      │ │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                          
      │ │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                        
      │ │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                     
      │ │ │         └── uuid 8.3.2                                                                                                                                                                                                          
      │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                      
      │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                                 
      │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                         
      │ │   │   └── uuid 8.3.2                                                                                                                                                                                                              
      │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                            
      │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                          
      │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                       
      │ │         └── uuid 8.3.2                                                                                                                                                                                                            
      │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                               
      │   └── uuid 8.3.2                                                                                                                                                                                                                    
      ├─┬ @aws-sdk/credential-provider-cognito-identity 3.245.0                                                                                                                                                                             
      │ └─┬ @aws-sdk/client-cognito-identity 3.245.0                                                                                                                                                                                        
      │   ├─┬ @aws-sdk/client-sts 3.245.0                                                                                                                                                                                                   
      │   │ ├─┬ @aws-sdk/credential-provider-node 3.245.0                                                                                                                                                                                   
      │   │ │ ├─┬ @aws-sdk/credential-provider-ini 3.245.0                                                                                                                                                                                  
      │   │ │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                
      │   │ │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                           
      │   │ │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                   
      │   │ │ │   │   └── uuid 8.3.2                                                                                                                                                                                                        
      │   │ │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                      
      │   │ │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                    
      │   │ │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                 
      │   │ │ │         └── uuid 8.3.2                                                                                                                                                                                                      
      │   │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                  
      │   │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                             
      │   │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                     
      │   │ │   │   └── uuid 8.3.2                                                                                                                                                                                                          
      │   │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                        
      │   │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                      
      │   │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                   
      │   │ │         └── uuid 8.3.2                                                                                                                                                                                                        
      │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                           
      │   │   └── uuid 8.3.2                                                                                                                                                                                                                
      │   ├─┬ @aws-sdk/credential-provider-node 3.245.0                                                                                                                                                                                     
      │   │ ├─┬ @aws-sdk/credential-provider-ini 3.245.0                                                                                                                                                                                    
      │   │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                  
      │   │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                             
      │   │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                     
      │   │ │   │   └── uuid 8.3.2                                                                                                                                                                                                          
      │   │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                        
      │   │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                      
      │   │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                   
      │   │ │         └── uuid 8.3.2                                                                                                                                                                                                        
      │   │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                    
      │   │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                               
      │   │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                       
      │   │   │   └── uuid 8.3.2                                                                                                                                                                                                            
      │   │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                          
      │   │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                        
      │   │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                     
      │   │         └── uuid 8.3.2                                                                                                                                                                                                          
      │   └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                             
      │     └── uuid 8.3.2                                                                                                                                                                                                                  
      ├─┬ @aws-sdk/credential-provider-ini 3.245.0                                                                                                                                                                                          
      │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                        
      │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                                   
      │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                           
      │   │   └── uuid 8.3.2                                                                                                                                                                                                                
      │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                              
      │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                            
      │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                         
      │         └── uuid 8.3.2                                                                                                                                                                                                              
      ├─┬ @aws-sdk/credential-provider-node 3.245.0                                                                                                                                                                                         
      │ ├─┬ @aws-sdk/credential-provider-ini 3.245.0                                                                                                                                                                                        
      │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                      
      │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                                 
      │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                         
      │ │   │   └── uuid 8.3.2                                                                                                                                                                                                              
      │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                            
      │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                          
      │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                       
      │ │         └── uuid 8.3.2                                                                                                                                                                                                            
      │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                        
      │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                                   
      │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                           
      │   │   └── uuid 8.3.2                                                                                                                                                                                                                
      │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                              
      │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                            
      │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                         
      │         └── uuid 8.3.2                                                                                                                                                                                                              
      └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                          
        ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                                     
        │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                             
        │   └── uuid 8.3.2                                                                                                                                                                                                                  
        └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                                
          └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                              
            └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                           
              └── uuid 8.3.2                                                                                                                                                                                                                
jest-junit 15.0.0                                                                                                                                                                                                                           
└── uuid 8.3.2                                                                                                                                                                                                                              
mongodb-memory-server 8.1.0                                                                                                                                                                                                                 
└─┬ mongodb-memory-server-core 8.1.0                                                                                                                                                                                                        
  ├─┬ mongodb 4.11.0                                                                                                                                                                                                                        
  │ └─┬ @aws-sdk/credential-providers 3.245.0                                                                                                                                                                                               
  │   ├─┬ @aws-sdk/client-cognito-identity 3.245.0                                                                                                                                                                                          
  │   │ ├─┬ @aws-sdk/client-sts 3.245.0                                                                                                                                                                                                     
  │   │ │ ├─┬ @aws-sdk/credential-provider-node 3.245.0                                                                                                                                                                                     
  │   │ │ │ ├─┬ @aws-sdk/credential-provider-ini 3.245.0                                                                                                                                                                                    
  │   │ │ │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                  
  │   │ │ │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                             
  │   │ │ │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                     
  │   │ │ │ │   │   └── uuid 8.3.2                                                                                                                                                                                                          
  │   │ │ │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                        
  │   │ │ │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                      
  │   │ │ │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                   
  │   │ │ │ │         └── uuid 8.3.2                                                                                                                                                                                                        
  │   │ │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                    
  │   │ │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                               
  │   │ │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                       
  │   │ │ │   │   └── uuid 8.3.2                                                                                                                                                                                                            
  │   │ │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                          
  │   │ │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                        
  │   │ │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                     
  │   │ │ │         └── uuid 8.3.2                                                                                                                                                                                                          
  │   │ │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                             
  │   │ │   └── uuid 8.3.2                                                                                                                                                                                                                  
  │   │ ├─┬ @aws-sdk/credential-provider-node 3.245.0                                                                                                                                                                                       
  │   │ │ ├─┬ @aws-sdk/credential-provider-ini 3.245.0                                                                                                                                                                                      
  │   │ │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                    
  │   │ │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                               
  │   │ │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                       
  │   │ │ │   │   └── uuid 8.3.2                                                                                                                                                                                                            
  │   │ │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                          
  │   │ │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                        
  │   │ │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                     
  │   │ │ │         └── uuid 8.3.2                                                                                                                                                                                                          
  │   │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                      
  │   │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                                 
  │   │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                         
  │   │ │   │   └── uuid 8.3.2                                                                                                                                                                                                              
  │   │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                            
  │   │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                          
  │   │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                       
  │   │ │         └── uuid 8.3.2                                                                                                                                                                                                            
  │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                               
  │   │   └── uuid 8.3.2                                                                                                                                                                                                                    
  │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                                       
  │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                               
  │   │   └── uuid 8.3.2                                                                                                                                                                                                                    
  │   ├─┬ @aws-sdk/client-sts 3.245.0                                                                                                                                                                                                       
  │   │ ├─┬ @aws-sdk/credential-provider-node 3.245.0                                                                                                                                                                                       
  │   │ │ ├─┬ @aws-sdk/credential-provider-ini 3.245.0                                                                                                                                                                                      
  │   │ │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                    
  │   │ │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                               
  │   │ │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                       
  │   │ │ │   │   └── uuid 8.3.2                                                                                                                                                                                                            
  │   │ │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                          
  │   │ │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                        
  │   │ │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                     
  │   │ │ │         └── uuid 8.3.2                                                                                                                                                                                                          
  │   │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                      
  │   │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                                 
  │   │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                         
  │   │ │   │   └── uuid 8.3.2                                                                                                                                                                                                              
  │   │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                            
  │   │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                          
  │   │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                       
  │   │ │         └── uuid 8.3.2                                                                                                                                                                                                            
  │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                               
  │   │   └── uuid 8.3.2                                                                                                                                                                                                                    
  │   ├─┬ @aws-sdk/credential-provider-cognito-identity 3.245.0                                                                                                                                                                             
  │   │ └─┬ @aws-sdk/client-cognito-identity 3.245.0                                                                                                                                                                                        
  │   │   ├─┬ @aws-sdk/client-sts 3.245.0                                                                                                                                                                                                   
  │   │   │ ├─┬ @aws-sdk/credential-provider-node 3.245.0                                                                                                                                                                                   
  │   │   │ │ ├─┬ @aws-sdk/credential-provider-ini 3.245.0                                                                                                                                                                                  
  │   │   │ │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                
  │   │   │ │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                           
  │   │   │ │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                   
  │   │   │ │ │   │   └── uuid 8.3.2                                                                                                                                                                                                        
  │   │   │ │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                      
  │   │   │ │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                    
  │   │   │ │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                 
  │   │   │ │ │         └── uuid 8.3.2                                                                                                                                                                                                      
  │   │   │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                  
  │   │   │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                             
  │   │   │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                     
  │   │   │ │   │   └── uuid 8.3.2                                                                                                                                                                                                          
  │   │   │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                        
  │   │   │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                      
  │   │   │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                   
  │   │   │ │         └── uuid 8.3.2                                                                                                                                                                                                        
  │   │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                           
  │   │   │   └── uuid 8.3.2                                                                                                                                                                                                                
  │   │   ├─┬ @aws-sdk/credential-provider-node 3.245.0                                                                                                                                                                                     
  │   │   │ ├─┬ @aws-sdk/credential-provider-ini 3.245.0                                                                                                                                                                                    
  │   │   │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                  
  │   │   │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                             
  │   │   │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                     
  │   │   │ │   │   └── uuid 8.3.2                                                                                                                                                                                                          
  │   │   │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                        
  │   │   │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                      
  │   │   │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                   
  │   │   │ │         └── uuid 8.3.2                                                                                                                                                                                                        
  │   │   │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                    
  │   │   │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                               
  │   │   │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                       
  │   │   │   │   └── uuid 8.3.2                                                                                                                                                                                                            
  │   │   │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                          
  │   │   │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                        
  │   │   │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                     
  │   │   │         └── uuid 8.3.2                                                                                                                                                                                                          
  │   │   └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                             
  │   │     └── uuid 8.3.2                                                                                                                                                                                                                  
  │   ├─┬ @aws-sdk/credential-provider-ini 3.245.0                                                                                                                                                                                          
  │   │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                        
  │   │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                                   
  │   │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                           
  │   │   │   └── uuid 8.3.2                                                                                                                                                                                                                
  │   │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                              
  │   │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                            
  │   │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                         
  │   │         └── uuid 8.3.2                                                                                                                                                                                                              
  │   ├─┬ @aws-sdk/credential-provider-node 3.245.0                                                                                                                                                                                         
  │   │ ├─┬ @aws-sdk/credential-provider-ini 3.245.0                                                                                                                                                                                        
  │   │ │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                      
  │   │ │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                                 
  │   │ │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                         
  │   │ │   │   └── uuid 8.3.2                                                                                                                                                                                                              
  │   │ │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                            
  │   │ │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                          
  │   │ │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                       
  │   │ │         └── uuid 8.3.2                                                                                                                                                                                                            
  │   │ └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                        
  │   │   ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                                   
  │   │   │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                           
  │   │   │   └── uuid 8.3.2                                                                                                                                                                                                                
  │   │   └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                              
  │   │     └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                            
  │   │       └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                         
  │   │         └── uuid 8.3.2                                                                                                                                                                                                              
  │   └─┬ @aws-sdk/credential-provider-sso 3.245.0                                                                                                                                                                                          
  │     ├─┬ @aws-sdk/client-sso 3.245.0                                                                                                                                                                                                     
  │     │ └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                             
  │     │   └── uuid 8.3.2                                                                                                                                                                                                                  
  │     └─┬ @aws-sdk/token-providers 3.245.0                                                                                                                                                                                                
  │       └─┬ @aws-sdk/client-sso-oidc 3.245.0                                                                                                                                                                                              
  │         └─┬ @aws-sdk/middleware-retry 3.235.0                                                                                                                                                                                           
  │           └── uuid 8.3.2                                                                                                                                                                                                                
  └── uuid 8.3.2                                                                                                                                                                                                                            

@storis/feature-flags-react C:\Users\srm\Projects\nextgen\packages\feature-flags-react                                                                                                                                                      

dependencies:                                                                                                                                                                                                                               
launchdarkly-react-client-sdk 3.0.1                                                                                                                                                                                                         
└─┬ launchdarkly-js-client-sdk 3.1.0                                                                                                                                                                                                        
  └─┬ launchdarkly-js-sdk-common 5.0.1                                                                                                                                                                                                      
    └── uuid 8.3.2                                                                                                                                                                                                                          

devDependencies:                                                                                                                                                                                                                            
jest-junit 15.0.0                                                                                                                                                                                                                           
└── uuid 8.3.2                                                                                                                                                                                                                              
chris-olszewski commented 1 year ago

@shawnmcknight Thanks for the output. I tired adding those various packages to my test repo along with the .npmrc and I wasn't able to get a reproduction. If you could share a GitHub repo with a reproduction that would go a long way.

shawnmcknight commented 1 year ago

Let me see what I can work up. The repo in question is private, but I can probably strip it down to just the folders and package.json dependency lists in theory. I'll try that out and if I can replicate I'll post a link.

Thanks!

shawnmcknight commented 1 year ago

@chris-olszewski Okay that seemed to do the trick. I basically made a new repo with everything stripped out except the folder structure, the various package.json files, lockfile, workspace config, etc. With turbo@1.7.0 everything works fine, but with turbo@1.7.1 the lockfile is broken.

The reproduction example is available at https://github.com/shawnmcknight/turbo-prune-lockfile-repro and the README shows the steps I took.

Thanks!

alexkrolick commented 1 year ago

FWIW, the documentation for docker should probably not include a free-floating turbo version.

Here's one way to do it; you could also use jq or sed if you have those deps.

RUN npx turbo@`node -p "require('./package.json').devDependencies.turbo"` prune --scope=whatever --docker
sebastiantf commented 7 months ago

I am still seeing the issue with turbo 1.8.3 and 1.12.5. Also tried pinning the turbo version being used for prune by using the suggestion earlier. Still getting an missing dependency error during pnpm frozen lockfile install