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

react-map-gl

Package Overview
Dependencies
Maintainers
0
Versions
293
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-map-gl - npm Package Compare versions

Comparing version 7.2.0-beta.1 to 8.0.0-alpha.2

dist/mapbox-legacy/components/attribution-control.d.ts

71

package.json
{
"name": "react-map-gl",
"description": "React components for Mapbox GL JS-compatible libraries",
"version": "7.2.0-beta.1",
"description": "React components for MapLibre GL JS and Mapbox GL JS",
"version": "8.0.0-alpha.2",
"keywords": [
"mapbox",
"maplibre",
"mapbox-gl",
"react",
"react-mapbox-gl",
"react mapbox"
"maplibre-gl",
"react"
],

@@ -18,15 +18,17 @@ "repository": {

"type": "module",
"types": "dist/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
"./mapbox": {
"types": "./dist/mapbox.d.ts",
"require": "./dist/mapbox.cjs",
"import": "./dist/mapbox.js"
},
"./maplibre": {
"import": "./dist/exports-maplibre.js",
"require": "./dist/exports-maplibre.cjs",
"types": "./dist/exports-maplibre.d.ts"
"types": "./dist/maplibre.d.ts",
"require": "./dist/maplibre.cjs",
"import": "./dist/maplibre.js"
},
"./mapbox-legacy": {
"types": "./dist/mapbox-legacy/index.d.ts",
"require": "./dist/mapbox-legacy/index.cjs",
"import": "./dist/mapbox-legacy/index.js"
}

@@ -37,22 +39,12 @@ },

"dist",
"maplibre",
"README.md"
],
"scripts": {
"typecheck": "tsc -p tsconfig.build.json --noEmit",
"bootstrap": "PUPPETEER_SKIP_DOWNLOAD=true yarn && ocular-bootstrap",
"build": "ocular-clean && ocular-build",
"lint": "ocular-lint",
"cover": "ocular-test cover",
"publish-prod": "ocular-publish prod",
"publish-beta": "ocular-publish beta",
"test": "yarn typecheck && ocular-test",
"test-fast": "yarn typecheck && ocular-test node",
"metrics": "ocular-metrics",
"update-release-branch": "scripts/update-release-branch.sh"
},
"dependencies": {
"@maplibre/maplibre-gl-style-spec": "^19.2.1",
"@types/mapbox-gl": ">=1.0.0"
"@vis.gl/react-mapbox": "8.0.0-alpha.2",
"@vis.gl/react-maplibre": "8.0.0-alpha.2"
},
"devDependencies": {
"@types/mapbox-gl": "3.4.0",
"mapbox-gl": "1.13.0"
},
"peerDependencies": {

@@ -71,18 +63,3 @@ "mapbox-gl": ">=1.13.0",

}
},
"devDependencies": {
"@types/react": "^16.0.0",
"jsdom": "^16.5.0",
"mapbox-gl": "^2.14.0",
"maplibre-gl": "^2.4.0",
"ocular-dev-tools": "2.0.0-alpha.15",
"pre-commit": "^1.2.2",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-test-renderer": "^18.0.0",
"typescript": "^4.0.0"
},
"pre-commit": [
"test-fast"
]
}
}
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