You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tap-snapshots/test/normalize.js.test.cjs
-13Lines changed: 0 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -62,15 +62,13 @@ Array [
62
62
exports[`test/normalize.js TAP @npmcli/package-json - with changes clean up scripts delete non-object scripts > must match snapshot 1`]=`
63
63
Array [
64
64
"Deleted incorrect \\"bundledDependencies\\"",
65
-
"\\"bundleDependencies\\" was removed",
66
65
"Removed invalid \\"scripts\\"",
67
66
]
68
67
`
69
68
70
69
exports[`test/normalize.js TAP @npmcli/package-json - with changes clean up scripts delete non-string script targets > must match snapshot 1`]=`
71
70
Array [
72
71
"Deleted incorrect \\"bundledDependencies\\"",
73
-
"\\"bundleDependencies\\" was removed",
74
72
"Invalid scripts.\\"bar\\" was removed",
75
73
"Invalid scripts.\\"baz\\" was removed",
76
74
]
@@ -79,39 +77,34 @@ Array [
79
77
exports[`test/normalize.js TAP @npmcli/package-json - with changes cleanup bins delete string bin when no name > must match snapshot 1`]=`
80
78
Array [
81
79
"Deleted incorrect \\"bundledDependencies\\"",
82
-
"\\"bundleDependencies\\" was removed",
83
80
"Removed invalid \\"scripts\\"",
84
81
]
85
82
`
86
83
87
84
exports[`test/normalize.js TAP @npmcli/package-json - with changes cleanup bins handle string when a name is set > must match snapshot 1`]=`
88
85
Array [
89
86
"Deleted incorrect \\"bundledDependencies\\"",
90
-
"\\"bundleDependencies\\" was removed",
91
87
"Removed invalid \\"scripts\\"",
92
88
]
93
89
`
94
90
95
91
exports[`test/normalize.js TAP @npmcli/package-json - with changes cleanup bins remove non-object bin > must match snapshot 1`]=`
96
92
Array [
97
93
"Deleted incorrect \\"bundledDependencies\\"",
98
-
"\\"bundleDependencies\\" was removed",
99
94
"Removed invalid \\"scripts\\"",
100
95
]
101
96
`
102
97
103
98
exports[`test/normalize.js TAP @npmcli/package-json - with changes cleanup bins remove non-string bin values > must match snapshot 1`]=`
104
99
Array [
105
100
"Deleted incorrect \\"bundledDependencies\\"",
106
-
"\\"bundleDependencies\\" was removed",
107
101
"Removed invalid \\"scripts\\"",
108
102
]
109
103
`
110
104
111
105
exports[`test/normalize.js TAP @npmcli/package-json - with changes convert funding string to object > must match snapshot 1`]=`
112
106
Array [
113
107
"Deleted incorrect \\"bundledDependencies\\"",
114
-
"\\"bundleDependencies\\" was removed",
115
108
"Removed invalid \\"scripts\\"",
116
109
"\\"funding\\" was changed to an object with a url attribute",
117
110
]
@@ -120,7 +113,6 @@ Array [
120
113
exports[`test/normalize.js TAP @npmcli/package-json - with changes dedupe optional deps out of regular deps choose optional deps in conflict, leaving populated dependencies > must match snapshot 1`]=`
121
114
Array [
122
115
"Deleted incorrect \\"bundledDependencies\\"",
123
-
"\\"bundleDependencies\\" was removed",
124
116
"optionalDependencies.\\"whowins\\" was removed",
125
117
"Removed invalid \\"scripts\\"",
126
118
]
@@ -129,7 +121,6 @@ Array [
129
121
exports[`test/normalize.js TAP @npmcli/package-json - with changes dedupe optional deps out of regular deps choose optional deps in conflict, removing empty dependencies > must match snapshot 1`]=`
130
122
Array [
131
123
"Deleted incorrect \\"bundledDependencies\\"",
132
-
"\\"bundleDependencies\\" was removed",
133
124
"optionalDependencies.\\"whowins\\" was removed",
134
125
"Empty \\"optionalDependencies\\" was removed",
135
126
"Removed invalid \\"scripts\\"",
@@ -139,15 +130,13 @@ Array [
139
130
exports[`test/normalize.js TAP @npmcli/package-json - with changes dedupe optional deps out of regular deps do not create regular deps if only optional specified > must match snapshot 1`]=`
140
131
Array [
141
132
"Deleted incorrect \\"bundledDependencies\\"",
142
-
"\\"bundleDependencies\\" was removed",
143
133
"Removed invalid \\"scripts\\"",
144
134
]
145
135
`
146
136
147
137
exports[`test/normalize.js TAP @npmcli/package-json - with changes normalize bin > must match snapshot 1`]=`
148
138
Array [
149
139
"Deleted incorrect \\"bundledDependencies\\"",
150
-
"\\"bundleDependencies\\" was removed",
151
140
"Removed invalid \\"scripts\\"",
152
141
]
153
142
`
@@ -156,7 +145,6 @@ exports[`test/normalize.js TAP @npmcli/package-json - with changes set _id if na
0 commit comments