New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

leaflet-simple-map-screenshoter

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

leaflet-simple-map-screenshoter - npm Package Compare versions

Comparing version 0.3.5 to 0.3.6

.github/workflows/test-build-publish.yml

10

package.json
{
"name": "leaflet-simple-map-screenshoter",
"version": "0.3.5",
"version": "0.3.6",
"description": "Leaflet plugin plugin which take screenshot of map",
"main": "dist/leaflet-simple-map-screenshoter.js",
"typings": "types/index.d.ts",
"repository": {

@@ -29,2 +30,3 @@ "type": "git",

"dependencies": {
"@types/leaflet": "^1.5.6",
"dom-to-image": "^2.6.0"

@@ -41,3 +43,3 @@ },

"babel-preset-stage-2": "^6.22.0",
"canvas": "^2.3.1",
"canvas": "^2.5.0",
"chai": "^4.2.0",

@@ -49,5 +51,5 @@ "eslint": "^4.8.0",

"mkdirp": "^0.5.1",
"mocha": "^6.0.1",
"mocha": "^6.2.2",
"pixelmatch": "^4.0.2",
"puppeteer": "^1.12.2",
"puppeteer": "^1.20.0",
"rollup": "^0.41.6",

@@ -54,0 +56,0 @@ "rollup-plugin-babel": "^2.7.1",

8

tests/runner.js

@@ -12,2 +12,3 @@ /* global before, after, browser, server */

'--no-sandbox',
'--disable-setuid-sandbox',
'--window-size=300,600'

@@ -25,6 +26,9 @@ ]

})
// detect github actions
if (process.env.GITHUB_ACTION) {
// If running in the Puppeteer Docker container, configure Puppeteer to use
// the instance of Google Chrome that is already installed.
if (process.env.PUPPETEER_SKIP_CHROMIUM_DOWNLOAD) {
config.executablePath = 'google-chrome-unstable'
}
global.browser = await puppeteer.launch(config)

@@ -31,0 +35,0 @@ })

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