2024-02-19 15:16:35 +04:00
package npm
2024-05-07 16:25:52 +04:00
import ftypes "github.com/aquasecurity/trivy/pkg/fanal/types"
2024-02-19 15:16:35 +04:00
var (
// docker run --name node --rm -it node@sha256:51dd437f31812df71108b81385e2945071ec813d5815fa3403855669c8f3432b sh
// mkdir node_v1 && cd node_v1
// npm init --force
// npm install --save finalhandler@1.1.1 body-parser@1.18.3 ms@1.0.0 @babel/helper-string-parser@7.19.4
// npm install --save-dev debug@2.5.2
// npm install --save-optional promise
// npm i --lockfile-version 1
2024-05-07 16:25:52 +04:00
// packages are filled manually
2024-02-19 15:16:35 +04:00
2024-05-07 16:25:52 +04:00
npmV1Pkgs = [ ] ftypes . Package {
2024-03-12 10:56:10 +04:00
{
2024-04-27 13:15:12 +04:00
ID : "@babel/helper-string-parser@7.19.4" ,
Name : "@babel/helper-string-parser" ,
Version : "7.19.4" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipUnknown ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 7 ,
EndLine : 11 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "asap@2.0.6" ,
Name : "asap" ,
Version : "2.0.6" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipUnknown ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 12 ,
EndLine : 17 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "body-parser@1.18.3" ,
Name : "body-parser" ,
Version : "1.18.3" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipUnknown ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/body-parser/-/body-parser-1.18.3.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 18 ,
EndLine : 49 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "bytes@3.0.0" ,
Name : "bytes" ,
Version : "3.0.0" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipUnknown ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 50 ,
EndLine : 54 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "content-type@1.0.5" ,
Name : "content-type" ,
Version : "1.0.5" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipUnknown ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 55 ,
EndLine : 59 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "debug@2.5.2" ,
Name : "debug" ,
Version : "2.5.2" ,
Dev : true ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipUnknown ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/debug/-/debug-2.5.2.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 60 ,
EndLine : 76 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "debug@2.6.9" ,
Name : "debug" ,
Version : "2.6.9" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipUnknown ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 35 ,
EndLine : 42 ,
} ,
{
StartLine : 111 ,
EndLine : 118 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "depd@1.1.2" ,
Name : "depd" ,
Version : "1.1.2" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipUnknown ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 77 ,
EndLine : 81 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "ee-first@1.1.1" ,
Name : "ee-first" ,
Version : "1.1.1" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipUnknown ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 82 ,
EndLine : 86 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "encodeurl@1.0.2" ,
Name : "encodeurl" ,
Version : "1.0.2" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipUnknown ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 87 ,
EndLine : 91 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "escape-html@1.0.3" ,
Name : "escape-html" ,
Version : "1.0.3" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipUnknown ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 92 ,
EndLine : 96 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "finalhandler@1.1.1" ,
Name : "finalhandler" ,
Version : "1.1.1" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipUnknown ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.1.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 97 ,
EndLine : 125 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "http-errors@1.6.3" ,
Name : "http-errors" ,
Version : "1.6.3" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipUnknown ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 126 ,
EndLine : 136 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "iconv-lite@0.4.23" ,
Name : "iconv-lite" ,
Version : "0.4.23" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipUnknown ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.23.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 137 ,
EndLine : 144 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "inherits@2.0.3" ,
Name : "inherits" ,
Version : "2.0.3" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipUnknown ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 145 ,
EndLine : 149 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "media-typer@0.3.0" ,
Name : "media-typer" ,
Version : "0.3.0" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipUnknown ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 150 ,
EndLine : 154 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "mime-db@1.52.0" ,
Name : "mime-db" ,
Version : "1.52.0" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipUnknown ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 155 ,
EndLine : 159 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "mime-types@2.1.35" ,
Name : "mime-types" ,
Version : "2.1.35" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipUnknown ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 160 ,
EndLine : 167 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "ms@0.7.2" ,
Name : "ms" ,
Version : "0.7.2" ,
Dev : true ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipUnknown ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/ms/-/ms-0.7.2.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 69 ,
EndLine : 74 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "ms@1.0.0" ,
Name : "ms" ,
Version : "1.0.0" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipUnknown ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/ms/-/ms-1.0.0.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 168 ,
EndLine : 172 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "ms@2.0.0" ,
Name : "ms" ,
Version : "2.0.0" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipUnknown ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 43 ,
EndLine : 47 ,
} ,
{
StartLine : 119 ,
EndLine : 123 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "on-finished@2.3.0" ,
Name : "on-finished" ,
Version : "2.3.0" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipUnknown ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 173 ,
EndLine : 180 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "parseurl@1.3.3" ,
Name : "parseurl" ,
Version : "1.3.3" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipUnknown ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 181 ,
EndLine : 185 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "promise@8.3.0" ,
Name : "promise" ,
Version : "8.3.0" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipUnknown ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/promise/-/promise-8.3.0.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 186 ,
EndLine : 194 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "qs@6.5.2" ,
Name : "qs" ,
Version : "6.5.2" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipUnknown ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 195 ,
EndLine : 199 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "raw-body@2.3.3" ,
Name : "raw-body" ,
Version : "2.3.3" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipUnknown ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/raw-body/-/raw-body-2.3.3.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 200 ,
EndLine : 210 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "safer-buffer@2.1.2" ,
Name : "safer-buffer" ,
Version : "2.1.2" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipUnknown ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 211 ,
EndLine : 215 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "setprototypeof@1.1.0" ,
Name : "setprototypeof" ,
Version : "1.1.0" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipUnknown ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 216 ,
EndLine : 220 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "statuses@1.4.0" ,
Name : "statuses" ,
Version : "1.4.0" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipUnknown ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/statuses/-/statuses-1.4.0.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 221 ,
EndLine : 225 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "type-is@1.6.18" ,
Name : "type-is" ,
Version : "1.6.18" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipUnknown ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 226 ,
EndLine : 234 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "unpipe@1.0.0" ,
Name : "unpipe" ,
Version : "1.0.0" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipUnknown ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 235 ,
EndLine : 239 ,
} ,
} ,
} ,
2024-02-19 15:16:35 +04:00
}
// dependencies are filled manually
2024-05-07 16:25:52 +04:00
npmDeps = [ ] ftypes . Dependency {
2024-03-12 10:56:10 +04:00
{
ID : "body-parser@1.18.3" ,
DependsOn : [ ] string {
"bytes@3.0.0" ,
"content-type@1.0.5" ,
"debug@2.6.9" ,
"depd@1.1.2" ,
"http-errors@1.6.3" ,
"iconv-lite@0.4.23" ,
"on-finished@2.3.0" ,
"qs@6.5.2" ,
"raw-body@2.3.3" ,
"type-is@1.6.18" ,
} ,
} ,
{
ID : "debug@2.5.2" ,
DependsOn : [ ] string { "ms@0.7.2" } ,
} ,
{
ID : "debug@2.6.9" ,
DependsOn : [ ] string { "ms@2.0.0" } ,
} ,
{
ID : "finalhandler@1.1.1" ,
DependsOn : [ ] string {
"debug@2.6.9" ,
"encodeurl@1.0.2" ,
"escape-html@1.0.3" ,
"on-finished@2.3.0" ,
"parseurl@1.3.3" ,
"statuses@1.4.0" ,
"unpipe@1.0.0" ,
} ,
} ,
{
ID : "http-errors@1.6.3" ,
DependsOn : [ ] string {
"depd@1.1.2" ,
"inherits@2.0.3" ,
"setprototypeof@1.1.0" ,
"statuses@1.4.0" ,
} ,
} ,
{
ID : "iconv-lite@0.4.23" ,
DependsOn : [ ] string { "safer-buffer@2.1.2" } ,
} ,
{
ID : "mime-types@2.1.35" ,
DependsOn : [ ] string { "mime-db@1.52.0" } ,
} ,
{
ID : "on-finished@2.3.0" ,
DependsOn : [ ] string { "ee-first@1.1.1" } ,
} ,
{
ID : "promise@8.3.0" ,
DependsOn : [ ] string { "asap@2.0.6" } ,
} ,
{
ID : "raw-body@2.3.3" ,
DependsOn : [ ] string {
"bytes@3.0.0" ,
"http-errors@1.6.3" ,
"iconv-lite@0.4.23" ,
"unpipe@1.0.0" ,
} ,
} ,
{
ID : "type-is@1.6.18" ,
DependsOn : [ ] string {
"media-typer@0.3.0" ,
"mime-types@2.1.35" ,
} ,
} ,
2024-02-19 15:16:35 +04:00
}
// ... and
// npm i --lockfile-version 2
2024-05-07 16:25:52 +04:00
// same as npmV1Pkgs but change `Indirect` field to false for `body-parser@1.18.3`, `finalhandler@1.1.1`, `@babel/helper-string-parser@7.19.4`, `promise@8.3.0` and `ms@1.0.0` packages.
2024-02-19 15:16:35 +04:00
// also need to get locations from `packages` struct
// --- lockfile version 3 ---
// npm i --lockfile-version 3
2024-05-07 16:25:52 +04:00
// same as npmV2Pkgs.
npmV2Pkgs = [ ] ftypes . Package {
2024-03-12 10:56:10 +04:00
{
2024-04-27 13:15:12 +04:00
ID : "@babel/helper-string-parser@7.19.4" ,
Name : "@babel/helper-string-parser" ,
Version : "7.19.4" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipDirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 24 ,
EndLine : 31 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "body-parser@1.18.3" ,
Name : "body-parser" ,
Version : "1.18.3" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipDirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-04-27 13:15:12 +04:00
URL : "https://registry.npmjs.org/body-parser/-/body-parser-1.18.3.tgz" ,
2024-03-12 10:56:10 +04:00
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
2024-04-27 13:15:12 +04:00
StartLine : 38 ,
EndLine : 57 ,
2024-03-12 10:56:10 +04:00
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "debug@2.5.2" ,
Name : "debug" ,
Version : "2.5.2" ,
Dev : true ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipDirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-04-27 13:15:12 +04:00
URL : "https://registry.npmjs.org/debug/-/debug-2.5.2.tgz" ,
2024-03-12 10:56:10 +04:00
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
2024-04-27 13:15:12 +04:00
StartLine : 87 ,
EndLine : 95 ,
2024-03-12 10:56:10 +04:00
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "finalhandler@1.1.1" ,
Name : "finalhandler" ,
Version : "1.1.1" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipDirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-04-27 13:15:12 +04:00
URL : "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.1.tgz" ,
2024-03-12 10:56:10 +04:00
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
2024-04-27 13:15:12 +04:00
StartLine : 128 ,
EndLine : 144 ,
2024-03-12 10:56:10 +04:00
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "ms@1.0.0" ,
Name : "ms" ,
Version : "1.0.0" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipDirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-04-27 13:15:12 +04:00
URL : "https://registry.npmjs.org/ms/-/ms-1.0.0.tgz" ,
2024-03-12 10:56:10 +04:00
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
2024-04-27 13:15:12 +04:00
StartLine : 215 ,
EndLine : 219 ,
2024-03-12 10:56:10 +04:00
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "promise@8.3.0" ,
Name : "promise" ,
Version : "8.3.0" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipDirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-04-27 13:15:12 +04:00
URL : "https://registry.npmjs.org/promise/-/promise-8.3.0.tgz" ,
2024-03-12 10:56:10 +04:00
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
2024-04-27 13:15:12 +04:00
StartLine : 239 ,
EndLine : 247 ,
} ,
} ,
} ,
{
ID : "asap@2.0.6" ,
Name : "asap" ,
Version : "2.0.6" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipIndirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-04-27 13:15:12 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-04-27 13:15:12 +04:00
URL : "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-04-27 13:15:12 +04:00
{
StartLine : 32 ,
EndLine : 37 ,
} ,
} ,
} ,
{
ID : "bytes@3.0.0" ,
Name : "bytes" ,
Version : "3.0.0" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipIndirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-04-27 13:15:12 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-04-27 13:15:12 +04:00
URL : "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-04-27 13:15:12 +04:00
{
StartLine : 71 ,
EndLine : 78 ,
2024-03-12 10:56:10 +04:00
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "content-type@1.0.5" ,
Name : "content-type" ,
Version : "1.0.5" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipIndirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-04-27 13:15:12 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-04-27 13:15:12 +04:00
URL : "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-04-27 13:15:12 +04:00
{
StartLine : 79 ,
EndLine : 86 ,
} ,
} ,
} ,
{
ID : "debug@2.6.9" ,
Name : "debug" ,
Version : "2.6.9" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipIndirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 58 ,
EndLine : 65 ,
} ,
{
StartLine : 145 ,
EndLine : 152 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "depd@1.1.2" ,
Name : "depd" ,
Version : "1.1.2" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipIndirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 102 ,
EndLine : 109 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "ee-first@1.1.1" ,
Name : "ee-first" ,
Version : "1.1.1" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipIndirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 110 ,
EndLine : 114 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "encodeurl@1.0.2" ,
Name : "encodeurl" ,
Version : "1.0.2" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipIndirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 115 ,
EndLine : 122 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "escape-html@1.0.3" ,
Name : "escape-html" ,
Version : "1.0.3" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipIndirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 123 ,
EndLine : 127 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "http-errors@1.6.3" ,
Name : "http-errors" ,
Version : "1.6.3" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipIndirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 158 ,
EndLine : 171 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "iconv-lite@0.4.23" ,
Name : "iconv-lite" ,
Version : "0.4.23" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipIndirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.23.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 172 ,
EndLine : 182 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "inherits@2.0.3" ,
Name : "inherits" ,
Version : "2.0.3" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipIndirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 183 ,
EndLine : 187 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "media-typer@0.3.0" ,
Name : "media-typer" ,
Version : "0.3.0" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipIndirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 188 ,
EndLine : 195 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "mime-db@1.52.0" ,
Name : "mime-db" ,
Version : "1.52.0" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipIndirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 196 ,
EndLine : 203 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "mime-types@2.1.35" ,
Name : "mime-types" ,
Version : "2.1.35" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipIndirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 204 ,
EndLine : 214 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "ms@0.7.2" ,
Name : "ms" ,
Version : "0.7.2" ,
Dev : true ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipIndirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/ms/-/ms-0.7.2.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 96 ,
EndLine : 101 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "ms@2.0.0" ,
Name : "ms" ,
Version : "2.0.0" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipIndirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 66 ,
EndLine : 70 ,
} ,
{
StartLine : 153 ,
EndLine : 157 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "on-finished@2.3.0" ,
Name : "on-finished" ,
Version : "2.3.0" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipIndirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 220 ,
EndLine : 230 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "parseurl@1.3.3" ,
Name : "parseurl" ,
Version : "1.3.3" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipIndirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 231 ,
EndLine : 238 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "qs@6.5.2" ,
Name : "qs" ,
Version : "6.5.2" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipIndirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 248 ,
EndLine : 255 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "raw-body@2.3.3" ,
Name : "raw-body" ,
Version : "2.3.3" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipIndirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/raw-body/-/raw-body-2.3.3.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 256 ,
EndLine : 269 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "safer-buffer@2.1.2" ,
Name : "safer-buffer" ,
Version : "2.1.2" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipIndirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 270 ,
EndLine : 274 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "setprototypeof@1.1.0" ,
Name : "setprototypeof" ,
Version : "1.1.0" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipIndirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 275 ,
EndLine : 279 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "statuses@1.4.0" ,
Name : "statuses" ,
Version : "1.4.0" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipIndirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/statuses/-/statuses-1.4.0.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 280 ,
EndLine : 287 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "type-is@1.6.18" ,
Name : "type-is" ,
Version : "1.6.18" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipIndirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 288 ,
EndLine : 299 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "unpipe@1.0.0" ,
Name : "unpipe" ,
Version : "1.0.0" ,
Dev : false ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipIndirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 300 ,
EndLine : 307 ,
} ,
} ,
} ,
2024-02-19 15:16:35 +04:00
}
// docker run --name node --rm -it node@sha256:51dd437f31812df71108b81385e2945071ec813d5815fa3403855669c8f3432b sh
// mkdir node_v3_with_workspace && cd node_v3_with_workspace
// npm init --force
// npm init -w ./functions/func1 !!! use `function1` name for package
// grep -v "version" ./functions/func1/package.json > tmpfile && mv tmpfile ./functions/func1/package.json
// npm init -w ./functions/nested_func --force
// npm install --save debug@2.5.2
// sed -i 's/\^/=/g' package.json
// npm install --save debug@2.6.9 -w nested_func
// npm install nested_func -w function1
// grep -v "functions/func1" ./package.json > tmpfile && mv tmpfile ./package.json
// sed -i 's/functions\/nested_func/functions\/*/g' package.json
// npm update
2024-05-07 16:25:52 +04:00
// packages are filled manually
npmV3WithWorkspacePkgs = [ ] ftypes . Package {
2024-03-12 10:56:10 +04:00
{
2024-04-27 13:15:12 +04:00
ID : "debug@2.5.2" ,
Name : "debug" ,
Version : "2.5.2" ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipDirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/debug/-/debug-2.5.2.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 39 ,
EndLine : 46 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "function1" ,
Name : "function1" ,
Version : "" ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipDirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-04-27 13:15:12 +04:00
URL : "functions/func1" ,
2024-03-12 10:56:10 +04:00
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
2024-04-27 13:15:12 +04:00
StartLine : 18 ,
EndLine : 23 ,
2024-03-12 10:56:10 +04:00
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "nested_func@1.0.0" ,
Name : "nested_func" ,
Version : "1.0.0" ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipDirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-04-27 13:15:12 +04:00
URL : "functions/nested_func" ,
2024-03-12 10:56:10 +04:00
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
2024-04-27 13:15:12 +04:00
StartLine : 24 ,
EndLine : 30 ,
2024-03-12 10:56:10 +04:00
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "debug@2.6.9" ,
Name : "debug" ,
Version : "2.6.9" ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipIndirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-04-27 13:15:12 +04:00
URL : "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz" ,
2024-03-12 10:56:10 +04:00
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
2024-04-27 13:15:12 +04:00
StartLine : 31 ,
EndLine : 38 ,
2024-03-12 10:56:10 +04:00
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "ms@0.7.2" ,
Name : "ms" ,
Version : "0.7.2" ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipIndirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-04-27 13:15:12 +04:00
URL : "https://registry.npmjs.org/ms/-/ms-0.7.2.tgz" ,
2024-03-12 10:56:10 +04:00
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
2024-04-27 13:15:12 +04:00
StartLine : 47 ,
EndLine : 51 ,
2024-03-12 10:56:10 +04:00
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "ms@2.0.0" ,
Name : "ms" ,
Version : "2.0.0" ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipIndirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-04-27 13:15:12 +04:00
URL : "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz" ,
2024-03-12 10:56:10 +04:00
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
2024-04-27 13:15:12 +04:00
StartLine : 56 ,
EndLine : 60 ,
2024-03-12 10:56:10 +04:00
} ,
} ,
} ,
2024-02-19 15:16:35 +04:00
}
2024-05-07 16:25:52 +04:00
npmV3WithWorkspaceDeps = [ ] ftypes . Dependency {
2024-03-12 10:56:10 +04:00
{
ID : "debug@2.5.2" ,
DependsOn : [ ] string { "ms@0.7.2" } ,
} ,
{
ID : "debug@2.6.9" ,
DependsOn : [ ] string { "ms@2.0.0" } ,
} ,
{
ID : "function1" ,
DependsOn : [ ] string { "nested_func@1.0.0" } ,
} ,
{
ID : "nested_func@1.0.0" ,
DependsOn : [ ] string { "debug@2.6.9" } ,
} ,
2024-02-19 15:16:35 +04:00
}
2024-12-05 16:57:12 +09:00
// docker run --name node --rm -it node@sha256:51dd437f31812df71108b81385e2945071ec813d5815fa3403855669c8f3432b sh
// mkdir node_v3_with_peer && cd node_v3_with_peer
// npm init --force
// npm install --save winston-mail@2.0.0
// npm install --save-peer lodash@4.17.21
// npm update
//
// Delete unnecessary packages from package-lock.json
// Packages are filled manually
npmV3WithPeerDependenciesPkgs = [ ] ftypes . Package {
{
ID : "lodash@4.17.21" ,
Name : "lodash" ,
Version : "4.17.21" ,
Relationship : ftypes . RelationshipDirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
{
Type : ftypes . RefOther ,
URL : "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz" ,
} ,
} ,
Locations : [ ] ftypes . Location {
{
StartLine : 30 ,
EndLine : 36 ,
} ,
} ,
} ,
{
ID : "winston-mail@2.0.0" ,
Name : "winston-mail" ,
Version : "2.0.0" ,
Relationship : ftypes . RelationshipDirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
{
Type : ftypes . RefOther ,
URL : "https://registry.npmjs.org/winston-mail/-/winston-mail-2.0.0.tgz" ,
} ,
} ,
Locations : [ ] ftypes . Location {
{
StartLine : 60 ,
EndLine : 74 ,
} ,
} ,
} ,
{
ID : "mustache@2.3.2" ,
Name : "mustache" ,
Version : "2.3.2" ,
Relationship : ftypes . RelationshipIndirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
{
Type : ftypes . RefOther ,
URL : "https://registry.npmjs.org/mustache/-/mustache-2.3.2.tgz" ,
} ,
} ,
Locations : [ ] ftypes . Location {
{
StartLine : 18 ,
EndLine : 29 ,
} ,
} ,
} ,
{
ID : "triple-beam@1.4.1" ,
Name : "triple-beam" ,
Version : "1.4.1" ,
Relationship : ftypes . RelationshipIndirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
{
Type : ftypes . RefOther ,
URL : "https://registry.npmjs.org/triple-beam/-/triple-beam-1.4.1.tgz" ,
} ,
} ,
Locations : [ ] ftypes . Location {
{
StartLine : 37 ,
EndLine : 46 ,
} ,
} ,
} ,
{
ID : "winston@3.17.0" ,
Name : "winston" ,
Version : "3.17.0" ,
Relationship : ftypes . RelationshipIndirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
{
Type : ftypes . RefOther ,
URL : "https://registry.npmjs.org/winston/-/winston-3.17.0.tgz" ,
} ,
} ,
Locations : [ ] ftypes . Location {
{
StartLine : 47 ,
EndLine : 59 ,
} ,
} ,
} ,
}
npmV3WithPeerDependenciesDeps = [ ] ftypes . Dependency {
{
ID : "winston-mail@2.0.0" ,
DependsOn : [ ] string {
"mustache@2.3.2" ,
"winston@3.17.0" ,
} ,
} ,
{
ID : "winston@3.17.0" ,
DependsOn : [ ] string { "triple-beam@1.4.1" } ,
} ,
}
2024-02-19 15:16:35 +04:00
// docker run --name node --rm -it node@sha256:51dd437f31812df71108b81385e2945071ec813d5815fa3403855669c8f3432b sh
// mkdir node_v3_without_direct_deps && cd node_v3_without_direct_deps
// npm init --force
// npm init -w ./functions/func1 --force
// npm install --save debug@2.6.9 -w func1
2024-05-07 16:25:52 +04:00
// packages are filled manually
npmV3WithoutRootDepsField = [ ] ftypes . Package {
2024-03-12 10:56:10 +04:00
{
2024-04-27 13:15:12 +04:00
ID : "func1@1.0.0" ,
Name : "func1" ,
Version : "1.0.0" ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipDirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-04-27 13:15:12 +04:00
URL : "functions/func1" ,
2024-03-12 10:56:10 +04:00
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
2024-04-27 13:15:12 +04:00
StartLine : 15 ,
EndLine : 21 ,
2024-03-12 10:56:10 +04:00
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "debug@2.6.9" ,
Name : "debug" ,
Version : "2.6.9" ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipIndirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-04-27 13:15:12 +04:00
URL : "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz" ,
2024-03-12 10:56:10 +04:00
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
2024-04-27 13:15:12 +04:00
StartLine : 22 ,
EndLine : 29 ,
2024-03-12 10:56:10 +04:00
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "ms@2.0.0" ,
Name : "ms" ,
Version : "2.0.0" ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipIndirect ,
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-12 10:56:10 +04:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-12 10:56:10 +04:00
URL : "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-12 10:56:10 +04:00
{
StartLine : 34 ,
EndLine : 38 ,
} ,
} ,
} ,
2024-02-19 15:16:35 +04:00
}
2024-05-07 16:25:52 +04:00
npmV3WithoutRootDepsFieldDeps = [ ] ftypes . Dependency {
2024-03-12 10:56:10 +04:00
{
ID : "debug@2.6.9" ,
DependsOn : [ ] string { "ms@2.0.0" } ,
} ,
{
ID : "func1@1.0.0" ,
DependsOn : [ ] string { "debug@2.6.9" } ,
} ,
2024-02-19 15:16:35 +04:00
}
2024-03-27 12:08:58 +06:00
2024-05-07 16:25:52 +04:00
npmV3WithSameDevAndNonDevPkgs = [ ] ftypes . Package {
2024-03-27 12:08:58 +06:00
{
2024-04-27 13:15:12 +04:00
ID : "fsevents@1.2.9" ,
Name : "fsevents" ,
Version : "1.2.9" ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipDirect ,
2024-04-27 13:15:12 +04:00
Dev : true ,
2024-05-07 16:25:52 +04:00
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-27 12:08:58 +06:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-27 12:08:58 +06:00
URL : "https://registry.npmjs.org/fsevents/-/fsevents-1.2.9.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-27 12:08:58 +06:00
{
StartLine : 18 ,
EndLine : 37 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "minimist@0.0.8" ,
Name : "minimist" ,
Version : "0.0.8" ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipDirect ,
2024-04-27 13:15:12 +04:00
Dev : false ,
2024-05-07 16:25:52 +04:00
ExternalReferences : [ ] ftypes . ExternalRef {
2024-03-27 12:08:58 +06:00
{
2024-05-07 16:25:52 +04:00
Type : ftypes . RefOther ,
2024-03-27 12:08:58 +06:00
URL : "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz" ,
} ,
} ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-27 12:08:58 +06:00
{
StartLine : 38 ,
EndLine : 43 ,
} ,
{
StartLine : 68 ,
EndLine : 72 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "mkdirp@0.5.1" ,
Name : "mkdirp" ,
Version : "0.5.1" ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipIndirect ,
2024-04-27 13:15:12 +04:00
Dev : true ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-27 12:08:58 +06:00
{
StartLine : 44 ,
EndLine : 55 ,
} ,
} ,
} ,
{
2024-04-27 13:15:12 +04:00
ID : "node-pre-gyp@0.12.0" ,
Name : "node-pre-gyp" ,
Version : "0.12.0" ,
2024-05-07 16:25:52 +04:00
Relationship : ftypes . RelationshipIndirect ,
2024-04-27 13:15:12 +04:00
Dev : true ,
2024-05-07 16:25:52 +04:00
Locations : [ ] ftypes . Location {
2024-03-27 12:08:58 +06:00
{
StartLine : 56 ,
EndLine : 67 ,
} ,
} ,
} ,
}
2024-05-07 16:25:52 +04:00
npmV3WithSameDevAndNonDevDeps = [ ] ftypes . Dependency {
2024-03-27 12:08:58 +06:00
{
ID : "fsevents@1.2.9" ,
DependsOn : [ ] string { "node-pre-gyp@0.12.0" } ,
} ,
{
ID : "mkdirp@0.5.1" ,
DependsOn : [ ] string { "minimist@0.0.8" } ,
} ,
{
ID : "node-pre-gyp@0.12.0" ,
DependsOn : [ ] string { "mkdirp@0.5.1" } ,
} ,
}
2024-02-19 15:16:35 +04:00
)