Socket
Socket
Sign inDemoInstall

react-leaflet-dialog

Package Overview
Dependencies
4
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.5 to 2.0.0

CHANGELOG.md

143

package.json
{
"name": "react-leaflet-dialog",
"version": "1.0.5",
"description": "React wrapper of Leaflet.Dialog. A dialog modal window that is resizable and positionable on the map.",
"main": "dist/react-leaflet-dialog.min.js",
"scripts": {
"build": "npm run build:lib && npm run build:dist",
"build:dist": "webpack src/index.js dist/react-leaflet-dialog.js & webpack -p src/index.js dist/react-leaflet-dialog.min.js",
"build:lib": "npm run compile:lib",
"clean:lib": "rm -Rf ./lib",
"compile:lib": "babel src --out-dir lib",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mhasbie/react-leaflet-dialog.git"
},
"keywords": [
"react",
"leaflet",
"react-leaflet",
"leaflet-dialog",
"leaflet.dialog",
"dialog",
"react-leaflet-dialog"
],
"author": "M. Hasbie",
"license": "MIT",
"peerDependencies": {
"font-awesome": "4.7.0",
"leaflet": "1.3.1",
"react-leaflet": "1.8.0",
"prop-types": "^15.5.0",
"react": "^15.0.0 || ^16.0.0",
"react-dom": "^15.0.0 || ^16.0.0"
},
"devDependencies": {
"babel-cli": "^6.8.0",
"babel-core": "^6.8.0",
"babel-eslint": "^7.0.0",
"babel-loader": "^6.2.4",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.0.15",
"babel-preset-stage-0": "^6.1.18",
"babel-register": "^6.26.0",
"cssnano": "^4.1.0",
"eslint": "^3.8.1",
"eslint-plugin-react": "^6.4.1",
"font-awesome": "4.7.0",
"leaflet": "1.3.1",
"postcss-loader": "^3.0.0",
"postcss-import": "^12.0.0",
"postcss-preset-env": "^5.3.0",
"prop-types": "^15.5.10",
"react": "^15.5.0",
"react-dom": "^15.5.0",
"react-leaflet": "1.8.0",
"sugarss": "^2.0.0",
"webpack": "^1.13.0",
"webpack-css-loaders": "^1.0.0",
"webpack-dev-server": "^1.12.1"
}
"name": "react-leaflet-dialog",
"version": "2.0.0",
"description": "React wrapper of Leaflet.Dialog. A dialog modal window that is resizable and positionable on the map.",
"main": "dist/react-leaflet-dialog.min.js",
"scripts": {
"build": "npm run build:lib && npm run build:dist",
"build:dist": "webpack src/index.js --output dist/react-leaflet-dialog.min.js",
"build:lib": "npm run compile:lib",
"clean:lib": "rm -Rf ./lib",
"compile:lib": "babel src --out-dir lib",
"prepublishOnly": "npm run build",
"test": "jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mhasbie/react-leaflet-dialog.git"
},
"keywords": [
"react",
"leaflet",
"react-leaflet",
"leaflet-dialog",
"leaflet.dialog",
"dialog",
"react-leaflet-dialog"
],
"author": "M. Hasbie",
"license": "MIT",
"peerDependencies": {
"font-awesome": "4.7.0",
"leaflet": "1.4.0",
"react-leaflet": "^1.9.1 || 2.2.0"
},
"devDependencies": {
"@babel/polyfill": "^7.2.5",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-eslint": "^10.0.1",
"babel-jest": "^23.6.0",
"babel-loader": "^7.1.5",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"babel-register": "^6.26.0",
"css-loader": "^2.0.2",
"cssnano": "^4.1.0",
"enzyme": "^3.8.0",
"enzyme-adapter-react-16": "^1.7.1",
"eslint": "^5.11.0",
"eslint-plugin-react": "^7.11.1",
"font-awesome": "^4.7.0",
"jest": "^23.6.0",
"jest-enzyme": "^7.0.1",
"leaflet": "1.4.0",
"postcss-import": "^12.0.0",
"postcss-loader": "^3.0.0",
"postcss-preset-env": "^5.3.0",
"prop-types": "^15.5.10",
"react": "^16.7.0",
"react-dom": "^16.7.0",
"react-leaflet": "2.2.0",
"style-loader": "^0.23.1",
"sugarss": "^2.0.0",
"terser": "^3.14.1",
"webpack": "4.28.2",
"webpack-cli": "3.1.2",
"webpack-dev-server": "3.1.14"
},
"dependencies": {
"leaflet-dialog": "^1.0.5"
},
"jest": {
"collectCoverage": true,
"transform": {
".*": "<rootDir>/node_modules/babel-jest"
},
"testMatch": [
"**/__tests__/**/?(*.)+(spec|test).[jt]s?(x)"
]
}
}
# react-leaflet-dialog
[![version](https://img.shields.io/npm/v/react-leaflet-dialog.svg?style=plastic)](http://npm.im/react-leaflet-dialog)
[![react-leaflet compatibility](https://img.shields.io/npm/dependency-version/react-leaflet-dialog/peer/react-leaflet.svg?style=plastic)](https://github.com/mhasbie/react-leaflet-dialog)
[![travis build](https://img.shields.io/travis/mhasbie/react-leaflet-dialog.svg?style=plastic)](https://travis-ci.org/mhasbie/react-leaflet-dialog)
[![version](https://img.shields.io/npm/v/react-leaflet-dialog.svg?style=plastic)](http://npm.im/react-leaflet-dialog)
[![MIT License](https://img.shields.io/npm/l/react-leaflet-dialog.svg?style=plastic)](http://opensource.org/licenses/MIT)
[![dependencies](https://img.shields.io/david/mhasbie/react-leaflet-dialog.svg?style=plastic)](https://david-dm.org/mhasbie/react-leaflet-dialog)
[![peer dependencies](https://img.shields.io/david/peer/mhasbie/react-leaflet-dialog.svg?style=plastic)](https://david-dm.org/mhasbie/react-leaflet-dialog?type=peer)
[![issues](https://img.shields.io/github/issues/mhasbie/react-leaflet-dialog.svg?style=plastic)](https://github.com/mhasbie/react-leaflet-dialog/issues)
[![downloads](https://img.shields.io/npm/dt/react-leaflet-dialog.svg?style=plastic)](http://npm-stat.com/charts.html?package=react-leaflet-dialog&from=2018-01-01)
[![issues](https://img.shields.io/github/issues/mhasbie/react-leaflet-dialog.svg?style=plastic)](https://github.com/mhasbie/react-leaflet-dialog/issues)
[![MIT License](https://img.shields.io/npm/l/react-leaflet-dialog.svg?style=plastic)](http://opensource.org/licenses/MIT)

@@ -30,2 +31,8 @@ React wrapper of [Leaflet.Dialog](https://github.com/NBTSolutions/Leaflet.Dialog) for [react-leaflet](https://github.com/PaulLeCam/react-leaflet).

Include font-awesome css to your project.
```html
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
```
## Usage example

@@ -43,3 +50,5 @@

<Dialog ref={(ref) => { this.dialog = ref; }} id="dialog1" />
<Dialog ref={(ref) => { this.dialog = ref; }} id="dialog1">
<div>Dialog content.</div>
</Dialog>
</Map>

@@ -46,0 +55,0 @@ ```

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc