@google/clasp
Advanced tools
Comparing version 1.1.0 to 1.1.1
11
index.js
@@ -247,5 +247,3 @@ #!/usr/bin/env node | ||
'https://www.googleapis.com/auth/script.projects', | ||
], | ||
code_challenge_method: 'S256', | ||
code_challenge: codes.codeChallenge | ||
] | ||
}; | ||
@@ -280,3 +278,3 @@ var authCode = useLocalhost ? | ||
if (urlParts.query.code) { | ||
res(urlParts.query.code); // query.code can be a string[], parse to string | ||
res(urlParts.query.code); | ||
} | ||
@@ -287,5 +285,8 @@ else { | ||
resp.end(LOG.AUTH_PAGE_SUCCESSFUL); | ||
setTimeout(function () { | ||
process.exit(); | ||
}, 1000); | ||
}); | ||
server.listen(0, function () { | ||
oauth2Client.redirectUri = "http://localhost:" + server.address().port; | ||
oauth2Client.redirectUri = 'http://localhost:' + server.address().port; | ||
var authUrl = oauth2Client.generateAuthUrl(opts); | ||
@@ -292,0 +293,0 @@ console.log(LOG.AUTHORIZE(authUrl)); |
{ | ||
"name": "@google/clasp", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Develop Apps Script Projects locally", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
996
1
56975