Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
b747a366
Unverified
Commit
b747a366
authored
Apr 03, 2020
by
Joe Haddad
Committed by
GitHub
Apr 03, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Preview Mode in `<iframe>` (#11638)
parent
d97ac9ff
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
113 additions
and
105 deletions
+113
-105
api-utils.ts
packages/next/next-server/server/api-utils.ts
+8
-4
package.json
packages/next/package.json
+1
-1
index.test.js
...integration/getserversideprops-preview/test/index.test.js
+50
-48
index.test.js
test/integration/prerender-preview/test/index.test.js
+50
-48
yarn.lock
yarn.lock
+4
-4
No files found.
packages/next/next-server/server/api-utils.ts
View file @
b747a366
...
@@ -391,7 +391,8 @@ function setPreviewData<T>(
...
@@ -391,7 +391,8 @@ function setPreviewData<T>(
:
[]),
:
[]),
serialize
(
COOKIE_NAME_PRERENDER_BYPASS
,
options
.
previewModeId
,
{
serialize
(
COOKIE_NAME_PRERENDER_BYPASS
,
options
.
previewModeId
,
{
httpOnly
:
true
,
httpOnly
:
true
,
sameSite
:
'lax'
,
sameSite
:
process
.
env
.
NODE_ENV
!==
'development'
?
'none'
:
'lax'
,
secure
:
process
.
env
.
NODE_ENV
!==
'development'
,
path
:
'/'
,
path
:
'/'
,
...(
options
.
maxAge
!==
undefined
...(
options
.
maxAge
!==
undefined
?
({
maxAge
:
options
.
maxAge
}
as
CookieSerializeOptions
)
?
({
maxAge
:
options
.
maxAge
}
as
CookieSerializeOptions
)
...
@@ -399,7 +400,8 @@ function setPreviewData<T>(
...
@@ -399,7 +400,8 @@ function setPreviewData<T>(
}),
}),
serialize
(
COOKIE_NAME_PRERENDER_DATA
,
payload
,
{
serialize
(
COOKIE_NAME_PRERENDER_DATA
,
payload
,
{
httpOnly
:
true
,
httpOnly
:
true
,
sameSite
:
'lax'
,
sameSite
:
process
.
env
.
NODE_ENV
!==
'development'
?
'none'
:
'lax'
,
secure
:
process
.
env
.
NODE_ENV
!==
'development'
,
path
:
'/'
,
path
:
'/'
,
...(
options
.
maxAge
!==
undefined
...(
options
.
maxAge
!==
undefined
?
({
maxAge
:
options
.
maxAge
}
as
CookieSerializeOptions
)
?
({
maxAge
:
options
.
maxAge
}
as
CookieSerializeOptions
)
...
@@ -430,7 +432,8 @@ function clearPreviewData<T>(res: NextApiResponse<T>): NextApiResponse<T> {
...
@@ -430,7 +432,8 @@ function clearPreviewData<T>(res: NextApiResponse<T>): NextApiResponse<T> {
// `Max-Age: 0` is not valid, thus ignored, and the cookie is persisted.
// `Max-Age: 0` is not valid, thus ignored, and the cookie is persisted.
expires
:
new
Date
(
0
),
expires
:
new
Date
(
0
),
httpOnly
:
true
,
httpOnly
:
true
,
sameSite
:
'lax'
,
sameSite
:
process
.
env
.
NODE_ENV
!==
'development'
?
'none'
:
'lax'
,
secure
:
process
.
env
.
NODE_ENV
!==
'development'
,
path
:
'/'
,
path
:
'/'
,
}),
}),
serialize
(
COOKIE_NAME_PRERENDER_DATA
,
''
,
{
serialize
(
COOKIE_NAME_PRERENDER_DATA
,
''
,
{
...
@@ -439,7 +442,8 @@ function clearPreviewData<T>(res: NextApiResponse<T>): NextApiResponse<T> {
...
@@ -439,7 +442,8 @@ function clearPreviewData<T>(res: NextApiResponse<T>): NextApiResponse<T> {
// `Max-Age: 0` is not valid, thus ignored, and the cookie is persisted.
// `Max-Age: 0` is not valid, thus ignored, and the cookie is persisted.
expires
:
new
Date
(
0
),
expires
:
new
Date
(
0
),
httpOnly
:
true
,
httpOnly
:
true
,
sameSite
:
'lax'
,
sameSite
:
process
.
env
.
NODE_ENV
!==
'development'
?
'none'
:
'lax'
,
secure
:
process
.
env
.
NODE_ENV
!==
'development'
,
path
:
'/'
,
path
:
'/'
,
}),
}),
])
])
...
...
packages/next/package.json
View file @
b747a366
...
@@ -115,7 +115,7 @@
...
@@ -115,7 +115,7 @@
"@types/ci-info"
:
"2.0.0"
,
"@types/ci-info"
:
"2.0.0"
,
"@types/compression"
:
"0.0.36"
,
"@types/compression"
:
"0.0.36"
,
"@types/content-type"
:
"1.1.3"
,
"@types/content-type"
:
"1.1.3"
,
"@types/cookie"
:
"0.3.
2
"
,
"@types/cookie"
:
"0.3.
3
"
,
"@types/cross-spawn"
:
"6.0.0"
,
"@types/cross-spawn"
:
"6.0.0"
,
"@types/dotenv"
:
"8.2.0"
,
"@types/dotenv"
:
"8.2.0"
,
"@types/etag"
:
"1.8.0"
,
"@types/etag"
:
"1.8.0"
,
...
...
test/integration/getserversideprops-preview/test/index.test.js
View file @
b747a366
...
@@ -68,16 +68,16 @@ function runTests(startServer = nextStart) {
...
@@ -68,16 +68,16 @@ function runTests(startServer = nextStart) {
const
res
=
await
fetchViaHTTP
(
appPort
,
'/api/preview'
,
{
lets
:
'goooo'
})
const
res
=
await
fetchViaHTTP
(
appPort
,
'/api/preview'
,
{
lets
:
'goooo'
})
expect
(
res
.
status
).
toBe
(
200
)
expect
(
res
.
status
).
toBe
(
200
)
const
cookies
=
res
.
headers
const
originalCookies
=
res
.
headers
.
get
(
'set-cookie'
).
split
(
','
)
.
get
(
'set-cookie'
)
const
cookies
=
originalCookies
.
map
(
cookie
.
parse
)
.
split
(
','
)
.
map
(
cookie
.
parse
)
expect
(
originalCookies
.
every
(
c
=>
c
.
includes
(
'; Secure;'
))
)
expect
(
cookies
.
length
).
toBe
(
2
)
expect
(
cookies
.
length
).
toBe
(
2
)
expect
(
cookies
[
0
]).
toMatchObject
({
Path
:
'/'
,
SameSite
:
'
Lax
'
})
expect
(
cookies
[
0
]).
toMatchObject
({
Path
:
'/'
,
SameSite
:
'
None
'
})
expect
(
cookies
[
0
]).
toHaveProperty
(
'__prerender_bypass'
)
expect
(
cookies
[
0
]).
toHaveProperty
(
'__prerender_bypass'
)
expect
(
cookies
[
0
]).
not
.
toHaveProperty
(
'Max-Age'
)
expect
(
cookies
[
0
]).
not
.
toHaveProperty
(
'Max-Age'
)
expect
(
cookies
[
1
]).
toMatchObject
({
Path
:
'/'
,
SameSite
:
'
Lax
'
})
expect
(
cookies
[
1
]).
toMatchObject
({
Path
:
'/'
,
SameSite
:
'
None
'
})
expect
(
cookies
[
1
]).
toHaveProperty
(
'__next_preview_data'
)
expect
(
cookies
[
1
]).
toHaveProperty
(
'__next_preview_data'
)
expect
(
cookies
[
1
]).
not
.
toHaveProperty
(
'Max-Age'
)
expect
(
cookies
[
1
]).
not
.
toHaveProperty
(
'Max-Age'
)
...
@@ -142,14 +142,14 @@ function runTests(startServer = nextStart) {
...
@@ -142,14 +142,14 @@ function runTests(startServer = nextStart) {
expect
(
cookies
.
length
).
toBe
(
2
)
expect
(
cookies
.
length
).
toBe
(
2
)
expect
(
cookies
[
0
]).
toMatchObject
({
expect
(
cookies
[
0
]).
toMatchObject
({
Path
:
'/'
,
Path
:
'/'
,
SameSite
:
'
Lax
'
,
SameSite
:
'
None
'
,
Expires
:
'Thu 01 Jan 1970 00:00:00 GMT'
,
Expires
:
'Thu 01 Jan 1970 00:00:00 GMT'
,
})
})
expect
(
cookies
[
0
]).
toHaveProperty
(
'__prerender_bypass'
)
expect
(
cookies
[
0
]).
toHaveProperty
(
'__prerender_bypass'
)
expect
(
cookies
[
0
]).
not
.
toHaveProperty
(
'Max-Age'
)
expect
(
cookies
[
0
]).
not
.
toHaveProperty
(
'Max-Age'
)
expect
(
cookies
[
1
]).
toMatchObject
({
expect
(
cookies
[
1
]).
toMatchObject
({
Path
:
'/'
,
Path
:
'/'
,
SameSite
:
'
Lax
'
,
SameSite
:
'
None
'
,
Expires
:
'Thu 01 Jan 1970 00:00:00 GMT'
,
Expires
:
'Thu 01 Jan 1970 00:00:00 GMT'
,
})
})
expect
(
cookies
[
1
]).
toHaveProperty
(
'__next_preview_data'
)
expect
(
cookies
[
1
]).
toHaveProperty
(
'__next_preview_data'
)
...
@@ -162,47 +162,7 @@ function runTests(startServer = nextStart) {
...
@@ -162,47 +162,7 @@ function runTests(startServer = nextStart) {
expect
(
await
res
.
text
()).
toBe
(
'too big'
)
expect
(
await
res
.
text
()).
toBe
(
'too big'
)
})
})
/** @type import('next-webdriver').Chain */
let
browser
it
(
'should start the client-side browser'
,
async
()
=>
{
browser
=
await
webdriver
(
appPort
,
'/api/preview?'
+
qs
.
stringify
({
client
:
'mode'
})
)
})
it
(
'should fetch preview data on SSR'
,
async
()
=>
{
await
browser
.
get
(
`http://localhost:
${
appPort
}
/`
)
await
browser
.
waitForElementByCss
(
'#props-pre'
)
// expect(await browser.elementById('props-pre').text()).toBe('Has No Props')
// await new Promise(resolve => setTimeout(resolve, 2000))
expect
(
await
browser
.
elementById
(
'props-pre'
).
text
()).
toBe
(
'true and {"client":"mode"}'
)
})
it
(
'should fetch preview data on CST'
,
async
()
=>
{
await
browser
.
get
(
`http://localhost:
${
appPort
}
/to-index`
)
await
browser
.
waitForElementByCss
(
'#to-index'
)
await
browser
.
eval
(
'window.itdidnotrefresh = "hello"'
)
await
browser
.
elementById
(
'to-index'
).
click
()
await
browser
.
waitForElementByCss
(
'#props-pre'
)
expect
(
await
browser
.
eval
(
'window.itdidnotrefresh'
)).
toBe
(
'hello'
)
expect
(
await
browser
.
elementById
(
'props-pre'
).
text
()).
toBe
(
'true and {"client":"mode"}'
)
})
it
(
'should fetch prerendered data'
,
async
()
=>
{
await
browser
.
get
(
`http://localhost:
${
appPort
}
/api/reset`
)
await
browser
.
get
(
`http://localhost:
${
appPort
}
/`
)
await
browser
.
waitForElementByCss
(
'#props-pre'
)
expect
(
await
browser
.
elementById
(
'props-pre'
).
text
()).
toBe
(
'false and null'
)
})
afterAll
(
async
()
=>
{
afterAll
(
async
()
=>
{
await
browser
.
close
()
await
killApp
(
app
)
await
killApp
(
app
)
})
})
}
}
...
@@ -273,7 +233,49 @@ describe('ServerSide Props Preview Mode', () => {
...
@@ -273,7 +233,49 @@ describe('ServerSide Props Preview Mode', () => {
expect
(
cookies
.
length
).
toBe
(
2
)
expect
(
cookies
.
length
).
toBe
(
2
)
})
})
/** @type import('next-webdriver').Chain */
let
browser
it
(
'should start the client-side browser'
,
async
()
=>
{
browser
=
await
webdriver
(
appPort
,
'/api/preview?'
+
qs
.
stringify
({
client
:
'mode'
})
)
})
it
(
'should fetch preview data on SSR'
,
async
()
=>
{
await
browser
.
get
(
`http://localhost:
${
appPort
}
/`
)
await
browser
.
waitForElementByCss
(
'#props-pre'
)
// expect(await browser.elementById('props-pre').text()).toBe('Has No Props')
// await new Promise(resolve => setTimeout(resolve, 2000))
expect
(
await
browser
.
elementById
(
'props-pre'
).
text
()).
toBe
(
'true and {"client":"mode"}'
)
})
it
(
'should fetch preview data on CST'
,
async
()
=>
{
await
browser
.
get
(
`http://localhost:
${
appPort
}
/to-index`
)
await
browser
.
waitForElementByCss
(
'#to-index'
)
await
browser
.
eval
(
'window.itdidnotrefresh = "hello"'
)
await
browser
.
elementById
(
'to-index'
).
click
()
await
browser
.
waitForElementByCss
(
'#props-pre'
)
expect
(
await
browser
.
eval
(
'window.itdidnotrefresh'
)).
toBe
(
'hello'
)
expect
(
await
browser
.
elementById
(
'props-pre'
).
text
()).
toBe
(
'true and {"client":"mode"}'
)
})
it
(
'should fetch prerendered data'
,
async
()
=>
{
await
browser
.
get
(
`http://localhost:
${
appPort
}
/api/reset`
)
await
browser
.
get
(
`http://localhost:
${
appPort
}
/`
)
await
browser
.
waitForElementByCss
(
'#props-pre'
)
expect
(
await
browser
.
elementById
(
'props-pre'
).
text
()).
toBe
(
'false and null'
)
})
afterAll
(
async
()
=>
{
afterAll
(
async
()
=>
{
await
browser
.
close
()
await
killApp
(
app
)
await
killApp
(
app
)
})
})
})
})
...
...
test/integration/prerender-preview/test/index.test.js
View file @
b747a366
...
@@ -74,16 +74,16 @@ function runTests(startServer = nextStart) {
...
@@ -74,16 +74,16 @@ function runTests(startServer = nextStart) {
const
res
=
await
fetchViaHTTP
(
appPort
,
'/api/preview'
,
{
lets
:
'goooo'
})
const
res
=
await
fetchViaHTTP
(
appPort
,
'/api/preview'
,
{
lets
:
'goooo'
})
expect
(
res
.
status
).
toBe
(
200
)
expect
(
res
.
status
).
toBe
(
200
)
const
cookies
=
res
.
headers
const
originalCookies
=
res
.
headers
.
get
(
'set-cookie'
).
split
(
','
)
.
get
(
'set-cookie'
)
const
cookies
=
originalCookies
.
map
(
cookie
.
parse
)
.
split
(
','
)
.
map
(
cookie
.
parse
)
expect
(
originalCookies
.
every
(
c
=>
c
.
includes
(
'; Secure;'
))
)
expect
(
cookies
.
length
).
toBe
(
2
)
expect
(
cookies
.
length
).
toBe
(
2
)
expect
(
cookies
[
0
]).
toMatchObject
({
Path
:
'/'
,
SameSite
:
'
Lax
'
})
expect
(
cookies
[
0
]).
toMatchObject
({
Path
:
'/'
,
SameSite
:
'
None
'
})
expect
(
cookies
[
0
]).
toHaveProperty
(
'__prerender_bypass'
)
expect
(
cookies
[
0
]).
toHaveProperty
(
'__prerender_bypass'
)
expect
(
cookies
[
0
]).
not
.
toHaveProperty
(
'Max-Age'
)
expect
(
cookies
[
0
]).
not
.
toHaveProperty
(
'Max-Age'
)
expect
(
cookies
[
1
]).
toMatchObject
({
Path
:
'/'
,
SameSite
:
'
Lax
'
})
expect
(
cookies
[
1
]).
toMatchObject
({
Path
:
'/'
,
SameSite
:
'
None
'
})
expect
(
cookies
[
1
]).
toHaveProperty
(
'__next_preview_data'
)
expect
(
cookies
[
1
]).
toHaveProperty
(
'__next_preview_data'
)
expect
(
cookies
[
1
]).
not
.
toHaveProperty
(
'Max-Age'
)
expect
(
cookies
[
1
]).
not
.
toHaveProperty
(
'Max-Age'
)
...
@@ -148,61 +148,21 @@ function runTests(startServer = nextStart) {
...
@@ -148,61 +148,21 @@ function runTests(startServer = nextStart) {
expect
(
cookies
.
length
).
toBe
(
2
)
expect
(
cookies
.
length
).
toBe
(
2
)
expect
(
cookies
[
0
]).
toMatchObject
({
expect
(
cookies
[
0
]).
toMatchObject
({
Path
:
'/'
,
Path
:
'/'
,
SameSite
:
'
Lax
'
,
SameSite
:
'
None
'
,
Expires
:
'Thu 01 Jan 1970 00:00:00 GMT'
,
Expires
:
'Thu 01 Jan 1970 00:00:00 GMT'
,
})
})
expect
(
cookies
[
0
]).
toHaveProperty
(
'__prerender_bypass'
)
expect
(
cookies
[
0
]).
toHaveProperty
(
'__prerender_bypass'
)
expect
(
cookies
[
0
]).
not
.
toHaveProperty
(
'Max-Age'
)
expect
(
cookies
[
0
]).
not
.
toHaveProperty
(
'Max-Age'
)
expect
(
cookies
[
1
]).
toMatchObject
({
expect
(
cookies
[
1
]).
toMatchObject
({
Path
:
'/'
,
Path
:
'/'
,
SameSite
:
'
Lax
'
,
SameSite
:
'
None
'
,
Expires
:
'Thu 01 Jan 1970 00:00:00 GMT'
,
Expires
:
'Thu 01 Jan 1970 00:00:00 GMT'
,
})
})
expect
(
cookies
[
1
]).
toHaveProperty
(
'__next_preview_data'
)
expect
(
cookies
[
1
]).
toHaveProperty
(
'__next_preview_data'
)
expect
(
cookies
[
1
]).
not
.
toHaveProperty
(
'Max-Age'
)
expect
(
cookies
[
1
]).
not
.
toHaveProperty
(
'Max-Age'
)
})
})
/** @type import('next-webdriver').Chain */
let
browser
it
(
'should start the client-side browser'
,
async
()
=>
{
browser
=
await
webdriver
(
appPort
,
'/api/preview?'
+
qs
.
stringify
({
client
:
'mode'
})
)
})
it
(
'should fetch preview data on SSR'
,
async
()
=>
{
await
browser
.
get
(
`http://localhost:
${
appPort
}
/`
)
await
browser
.
waitForElementByCss
(
'#props-pre'
)
// expect(await browser.elementById('props-pre').text()).toBe('Has No Props')
// await new Promise(resolve => setTimeout(resolve, 2000))
expect
(
await
browser
.
elementById
(
'props-pre'
).
text
()).
toBe
(
'true and {"client":"mode"}'
)
})
it
(
'should fetch preview data on CST'
,
async
()
=>
{
await
browser
.
get
(
`http://localhost:
${
appPort
}
/to-index`
)
await
browser
.
waitForElementByCss
(
'#to-index'
)
await
browser
.
eval
(
'window.itdidnotrefresh = "hello"'
)
await
browser
.
elementById
(
'to-index'
).
click
()
await
browser
.
waitForElementByCss
(
'#props-pre'
)
expect
(
await
browser
.
eval
(
'window.itdidnotrefresh'
)).
toBe
(
'hello'
)
expect
(
await
browser
.
elementById
(
'props-pre'
).
text
()).
toBe
(
'true and {"client":"mode"}'
)
})
it
(
'should fetch prerendered data'
,
async
()
=>
{
await
browser
.
get
(
`http://localhost:
${
appPort
}
/api/reset`
)
await
browser
.
get
(
`http://localhost:
${
appPort
}
/`
)
await
browser
.
waitForElementByCss
(
'#props-pre'
)
expect
(
await
browser
.
elementById
(
'props-pre'
).
text
()).
toBe
(
'false and null'
)
})
afterAll
(
async
()
=>
{
afterAll
(
async
()
=>
{
await
browser
.
close
()
await
killApp
(
app
)
await
killApp
(
app
)
})
})
}
}
...
@@ -273,7 +233,49 @@ describe('Prerender Preview Mode', () => {
...
@@ -273,7 +233,49 @@ describe('Prerender Preview Mode', () => {
expect
(
cookies
.
length
).
toBe
(
2
)
expect
(
cookies
.
length
).
toBe
(
2
)
})
})
/** @type import('next-webdriver').Chain */
let
browser
it
(
'should start the client-side browser'
,
async
()
=>
{
browser
=
await
webdriver
(
appPort
,
'/api/preview?'
+
qs
.
stringify
({
client
:
'mode'
})
)
})
it
(
'should fetch preview data on SSR'
,
async
()
=>
{
await
browser
.
get
(
`http://localhost:
${
appPort
}
/`
)
await
browser
.
waitForElementByCss
(
'#props-pre'
)
// expect(await browser.elementById('props-pre').text()).toBe('Has No Props')
// await new Promise(resolve => setTimeout(resolve, 2000))
expect
(
await
browser
.
elementById
(
'props-pre'
).
text
()).
toBe
(
'true and {"client":"mode"}'
)
})
it
(
'should fetch preview data on CST'
,
async
()
=>
{
await
browser
.
get
(
`http://localhost:
${
appPort
}
/to-index`
)
await
browser
.
waitForElementByCss
(
'#to-index'
)
await
browser
.
eval
(
'window.itdidnotrefresh = "hello"'
)
await
browser
.
elementById
(
'to-index'
).
click
()
await
browser
.
waitForElementByCss
(
'#props-pre'
)
expect
(
await
browser
.
eval
(
'window.itdidnotrefresh'
)).
toBe
(
'hello'
)
expect
(
await
browser
.
elementById
(
'props-pre'
).
text
()).
toBe
(
'true and {"client":"mode"}'
)
})
it
(
'should fetch prerendered data'
,
async
()
=>
{
await
browser
.
get
(
`http://localhost:
${
appPort
}
/api/reset`
)
await
browser
.
get
(
`http://localhost:
${
appPort
}
/`
)
await
browser
.
waitForElementByCss
(
'#props-pre'
)
expect
(
await
browser
.
elementById
(
'props-pre'
).
text
()).
toBe
(
'false and null'
)
})
afterAll
(
async
()
=>
{
afterAll
(
async
()
=>
{
await
browser
.
close
()
await
killApp
(
app
)
await
killApp
(
app
)
})
})
})
})
...
...
yarn.lock
View file @
b747a366
...
@@ -2524,10 +2524,10 @@
...
@@ -2524,10 +2524,10 @@
resolved "https://registry.yarnpkg.com/@types/content-type/-/content-type-1.1.3.tgz#3688bd77fc12f935548eef102a4e34c512b03a07"
resolved "https://registry.yarnpkg.com/@types/content-type/-/content-type-1.1.3.tgz#3688bd77fc12f935548eef102a4e34c512b03a07"
integrity sha512-pv8VcFrZ3fN93L4rTNIbbUzdkzjEyVMp5mPVjsFfOYTDOZMZiZ8P1dhu+kEv3faYyKzZgLlSvnyQNFg+p/v5ug==
integrity sha512-pv8VcFrZ3fN93L4rTNIbbUzdkzjEyVMp5mPVjsFfOYTDOZMZiZ8P1dhu+kEv3faYyKzZgLlSvnyQNFg+p/v5ug==
"@types/cookie@0.3.
2
":
"@types/cookie@0.3.
3
":
version "0.3.
2
"
version "0.3.
3
"
resolved "https://registry.yarnpkg.com/@types/cookie/-/cookie-0.3.
2.tgz#453f4b14b25da6a8ea4494842dedcbf0151deef9
"
resolved "https://registry.yarnpkg.com/@types/cookie/-/cookie-0.3.
3.tgz#85bc74ba782fb7aa3a514d11767832b0e3bc6803
"
integrity sha512-
aHQA072E10/8iUQsPH7mQU/KUyQBZAGzTVRCUvnSz8mSvbrYsP4xEO2RSA0Pjltolzi0j8+8ixrm//Hr4umPz
w==
integrity sha512-
LKVP3cgXBT9RYj+t+9FDKwS5tdI+rPBXaNSkma7hvqy35lc7mAokC2zsqWJH0LaqIt3B962nuYI77hsJoT1go
w==
"@types/cross-spawn@6.0.0":
"@types/cross-spawn@6.0.0":
version "6.0.0"
version "6.0.0"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment