
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@ciderjs/dgs
Advanced tools
definitely type support for local development with Google Apps Script library
npm install dgs --save-dev
.d.ts file in TypeScript filesAdd library types into global of your local ts files
for server-side script:
/// <reference types="dgs/dist/types/dayjs" />
dayjs.dayjs('2024-01-01 12:23:34').add(1, 'D').format('YYYY/MM/DD HH:mm'); // '2024/01/02 12:23'
for client-side script:
/// <reference types="dgs/dist/types/clientSideGoogle" />
interface ResponseValue {
value: string;
}
export default function Home() {
const [responseValue, setResponseValue] = useState<ResponseValue | null>(null);
useEffect(() => {
google
.script
.run
.withSuccessHandler((response: string) => {
const responseValues = JSON.parse(response);
})
.useServerSideScript(parameters);
}, [google]);
return (<>
response is {responseValue.value}
</>);
}
appsscript.jsonYou can install Apps Script libraries into your project via this cli tool.
@google/clasp, so you must setup clasp before use this.npx dgs install
1B7FSrk5Zi6L1rSxxTDgDEUsPzlukDsi4KGuTMorsTQHhGBzBkMun4iDF1T03nYHRho6XMWYcaumClcWr6ble65mAT8OLJqRFJ5lukPVogAN2NDl-y1PcEHcGVC1njZd8SfXtmgQk19djwVd2GrrW1gd7U5hNk033tzi6IUvIAV1on93YOYfSmV92R5q59NpKmsyWIQD8qnoLYk-gkQBI92C58SPyA2x1-bq1nf253qsOnZ-RcdcFu1Y2v4pGwTuuDxN5EbuvKEZprBWg764tjwA5fLav17p1ghyOkbWOhdE4bdBFhOXL079I-yt5xd0LAi00Zs5N-bUzpQtN7iT1a1Mc8BthYthXx6CoIz90-JiSzSafVnT6U3t0z_W3hLTAX5ek4w0G_EIrNw1ShsRhHc8tgPy5wGOzUvgEhOedJUQD53m-gd8lG2MOgs-dXC_aCZn9lFB/// <reference types="@types/google-apps-script" />
declare namespace GoogleAppsScript {
namespace Libraries {
namespace LibraryName {
const globalValue: string;
function method(arg: number[]): void;
class Dog {
method(arg: string): void;
}
}
}
}
declare const LibraryName: typeof GoogleAppsScript.Libraries.LibraryName;
FAQs
definitely type support for local development with Google Apps Script library
We found that @ciderjs/dgs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.