google-spreadsheet
Advanced tools
Comparing version 4.1.3 to 4.1.4
{ | ||
"name": "google-spreadsheet", | ||
"version": "4.1.3", | ||
"version": "4.1.4", | ||
"description": "Google Sheets API -- simple interface to read/write data and manage sheets", | ||
@@ -55,3 +55,3 @@ "keywords": [ | ||
"runscript": "NODE_NO_WARNINGS=1 node --experimental-specifier-resolution=node --loader ts-node/esm", | ||
"test": "jest --runInBand" | ||
"test": "dmno run -- vitest --no-file-parallelism" | ||
}, | ||
@@ -64,9 +64,8 @@ "config": { | ||
"dependencies": { | ||
"axios": "^1.7.6", | ||
"axios": "^1.7.7", | ||
"lodash": "^4.17.21" | ||
}, | ||
"devDependencies": { | ||
"@dmno/encrypted-vault-plugin": "^0.0.5", | ||
"@swc/core": "^1.3.60", | ||
"@swc/jest": "^0.2.26", | ||
"@types/jest": "^29.5.1", | ||
"@types/lodash": "^4.14.195", | ||
@@ -80,2 +79,3 @@ "@types/node": "^20.2.5", | ||
"delay": "^4.3.0", | ||
"dmno": "^0.0.22", | ||
"docsify-cli": "^4.4.3", | ||
@@ -86,11 +86,9 @@ "eslint": "^8.41.0", | ||
"eslint-plugin-import": "^2.27.5", | ||
"eslint-plugin-jest": "^27.2.1", | ||
"eslint-plugin-no-floating-promise": "^1.0.2", | ||
"google-auth-library": "^9.14.0", | ||
"jest": "^29.5.0", | ||
"jest-junit": "^16.0.0", | ||
"release-it": "^15.11.0", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^4.9.5", | ||
"unbuild": "^1.2.1" | ||
"typescript": "^5.5.4", | ||
"unbuild": "^1.2.1", | ||
"vitest": "^2.0.5" | ||
}, | ||
@@ -106,4 +104,4 @@ "peerDependencies": { | ||
"volta": { | ||
"node": "18.16.0" | ||
"node": "20.17.0" | ||
} | ||
} |
import * as _ from './lodash'; | ||
export function getFieldMask(obj: Record<string, unknown>) { | ||
return Object.keys(obj).join(','); | ||
let fromGrid = ''; | ||
const fromRoot = Object.keys(obj).filter((key) => key !== 'gridProperties').join(','); | ||
if (obj.gridProperties) { | ||
fromGrid = Object.keys(obj.gridProperties).map((key) => `gridProperties.${key}`).join(','); | ||
if (fromGrid.length && fromRoot.length) { | ||
fromGrid = `${fromGrid},`; | ||
} | ||
} | ||
return fromGrid + fromRoot; | ||
} | ||
@@ -6,0 +15,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
220231
23
3758
Updatedaxios@^1.7.7