Socket
Socket
Sign inDemoInstall

@google/clasp

Package Overview
Dependencies
175
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.6 to 1.0.7

15

index.js

@@ -143,3 +143,3 @@ #!/usr/bin/env node

VERSION_CREATED: (versionNumber) => `Created version ${versionNumber}.`,
VERSION_DESCRIPTION: ({versionNumber, description}) => `${versionNumber} - ${description || '(no description)'}`,
VERSION_DESCRIPTION: ({ versionNumber, description }) => `${versionNumber} - ${description || '(no description)'}`,
VERSION_NUM: (numVersions) => `~ ${numVersions} ${pluralize('Version', numVersions)} ~`,

@@ -157,2 +157,3 @@ };

FS_DIR_WRITE: 'Could not create directory.',
FS_FILE_WRITE: 'Could not write file.',
LOGGED_IN: `You seem to already be logged in. Did you mean to 'logout'?`,

@@ -284,3 +285,3 @@ LOGGED_OUT: `Please login. (${PROJECT_NAME} login)`,

function saveProjectId(scriptId) {
DOTFILE.PROJECT().write({scriptId}); // Save the script id
DOTFILE.PROJECT().write({ scriptId }); // Save the script id
}

@@ -328,3 +329,3 @@

var app = connect();
app.use(function(req, res){
app.use(function(req, res) {
var url_parts = url.parse(req.url, true);

@@ -356,3 +357,3 @@ var code = url_parts.query.code;

.action(() => {
del(DOT.RC.ABSOLUTE_PATH, {force: true}); // del doesn't work with a relative path (~)
del(DOT.RC.ABSOLUTE_PATH, { force: true }); // del doesn't work with a relative path (~)
});

@@ -422,3 +423,3 @@

fs.writeFile(`./${filePath}`, file.source, (err) => {
console.err(err);
if (err) return logError(err, ERROR.FS_FILE_WRITE);
});

@@ -560,3 +561,3 @@ console.log(`└─ ${filePath}`);

scriptId
}, {}, (error, {deployments}) => {
}, {}, (error, { deployments }) => {
spinner.stop(true);

@@ -569,3 +570,3 @@ if (error) {

console.log(`${numDeployments} ${deploymentWord}.`);
deployments.map(({deploymentId, deploymentConfig}) => {
deployments.map(({ deploymentId, deploymentConfig }) => {
let versionString = !!deploymentConfig.versionNumber ?

@@ -572,0 +573,0 @@ `@${deploymentConfig.versionNumber}` : '@HEAD';

{
"name": "@google/clasp",
"version": "1.0.6",
"version": "1.0.7",
"description": "Develop Apps Script Projects locally",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc