Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@googlemaps/js-samples

Package Overview
Dependencies
Maintainers
2
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@googlemaps/js-samples - npm Package Compare versions

Comparing version 2.20.8 to 2.20.9

32

cli/index.js

@@ -48,13 +48,23 @@ #!/usr/bin/env node

const main = async argv => {
const main = async (argv) => {
const {
sample,
tag,
tag = "v2.20.8",
destination,
verbose,
hot: shouldRun,
open: shouldOpen
open: shouldOpen,
} = argv;
let file;
console.warn(`
Usage of this binary is no longer necessary. Use the following git commands:
git clone -b sample-${sample} git@github.com:googlemaps/js-samples.git ${sample}
cd ${sample}
npm i
npm start
`)
if (tag) {

@@ -79,3 +89,3 @@ file = await getPackageFromTag(sample, tag, verbose);

C: destination,
strict: true
strict: true,
});

@@ -112,9 +122,9 @@

"initialize a sample skeleton",
yargs => {
(yargs) => {
yargs.positional("sample", {
describe: "The sample identifier"
describe: "The sample identifier",
});
yargs.positional("destination", {
describe: "The destination folder for the sample",
default: "."
default: ".",
});

@@ -127,3 +137,3 @@ },

type: "boolean",
description: "Run with verbose logging"
description: "Run with verbose logging",
})

@@ -134,3 +144,3 @@ .option("hot", {

description: "Immediately install and run application",
default: true
default: true,
})

@@ -141,3 +151,3 @@ .option("open", {

description: "Open application in browser",
default: true
default: true,
})

@@ -147,3 +157,3 @@ .option("tag", {

describe: "The target release of git@github.com:googlemaps/js-samples.git",
default: "latest"
default: "latest",
}).argv;
{
"name": "@googlemaps/js-samples",
"description": "Samples for Google Maps JavaScript",
"version": "2.20.8",
"version": "2.20.9",
"keywords": [

@@ -6,0 +6,0 @@ "google",

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc