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

geojson2svg

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

geojson2svg - npm Package Compare versions

Comparing version 1.3.3 to 1.3.4

src/main.d.ts

121

CHANGELOG.md

@@ -1,26 +0,89 @@

# Changelog
### Changelog
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
### [1.3.3](https://github.com/gagan-bansal/geojson2svg/compare/v1.3.2...v1.3.3) (2022-06-30)
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
### [1.3.2](https://github.com/gagan-bansal/geojson2svg/compare/v1.3.1...v1.3.2) (2022-03-30)
#### [v1.3.4](https://github.com/gagan-bansal/geojson2svg/compare/v1.3.3...v1.3.4)
### [1.3.1](https://github.com/gagan-bansal/geojson2svg/compare/v1.3.0...v1.3.1) (2022-01-28)
> 17 July 2023
## [1.3.0](https://github.com/gagan-bansal/geojson2svg/compare/v1.2.9...v1.3.0) (2022-01-23)
- Bump tough-cookie from 4.0.0 to 4.1.3 [`#32`](https://github.com/gagan-bansal/geojson2svg/pull/32)
- feat: type definition added [`f397a1a`](https://github.com/gagan-bansal/geojson2svg/commit/f397a1a62f04029581d6d72371b5bc0b694560d1)
#### [v1.3.3](https://github.com/gagan-bansal/geojson2svg/compare/v1.3.2...v1.3.3)
### Features
> 30 June 2022
* svg output precision option added ([b474cd7](https://github.com/gagan-bansal/geojson2svg/commit/b474cd743df54fbe9498a43ae849e2169e93f0a0))
- Bump shell-quote from 1.7.2 to 1.7.3 [`#31`](https://github.com/gagan-bansal/geojson2svg/pull/31)
- chore(release): 1.3.3 [`1821eb4`](https://github.com/gagan-bansal/geojson2svg/commit/1821eb4678cbdfb150d5d4599dd6a50411426f9c)
### [1.2.9](https://github.com/gagan-bansal/geojson2svg/compare/v1.2.8...v1.2.9) (2021-11-27)
#### [v1.3.2](https://github.com/gagan-bansal/geojson2svg/compare/v1.3.1...v1.3.2)
### Changelog
> 30 March 2022
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
- Bump minimist from 1.2.5 to 1.2.6 [`#30`](https://github.com/gagan-bansal/geojson2svg/pull/30)
- chore(release): 1.3.2 [`818e030`](https://github.com/gagan-bansal/geojson2svg/commit/818e03025acadb402cf0384ddf19e590c96f32b2)
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
#### [v1.3.1](https://github.com/gagan-bansal/geojson2svg/compare/v1.3.0...v1.3.1)
> 28 January 2022
- chore: npm audit fix [`aafdb9d`](https://github.com/gagan-bansal/geojson2svg/commit/aafdb9db48d3cbea543ec946ef146ca47d24372f)
- Bump cached-path-relative from 1.0.2 to 1.1.0 [`a6c2ad4`](https://github.com/gagan-bansal/geojson2svg/commit/a6c2ad431cc5323ecf1f3daa733b878693702307)
- chore(release): 1.3.1 [`1edb683`](https://github.com/gagan-bansal/geojson2svg/commit/1edb68329d8aa8c6e369cb261abe34c10520470e)
#### [v1.3.0](https://github.com/gagan-bansal/geojson2svg/compare/v1.2.14...v1.3.0)
> 23 January 2022
- chore: upgrade package dependencies [`87ca10b`](https://github.com/gagan-bansal/geojson2svg/commit/87ca10b3a6e5a9a6796aa27dcfaf8ee62ffb4426)
- feat: svg output precision option added [`b474cd7`](https://github.com/gagan-bansal/geojson2svg/commit/b474cd743df54fbe9498a43ae849e2169e93f0a0)
- chore: .versionrc added for standard-version [`c2c33c8`](https://github.com/gagan-bansal/geojson2svg/commit/c2c33c8f3e2492f26cd382c4f5983d2e08a84752)
- chore(release): 1.3.0 [`be04061`](https://github.com/gagan-bansal/geojson2svg/commit/be04061028a7c813be2f196453656224018e0207)
#### [v1.2.14](https://github.com/gagan-bansal/geojson2svg/compare/v1.2.13...v1.2.14)
> 20 January 2022
- chore(release): 1.2.14 [`4cfd26e`](https://github.com/gagan-bansal/geojson2svg/commit/4cfd26e088074c29501a7ac485ddf239265a795f)
- feat(notifier): added splash also [`18887d1`](https://github.com/gagan-bansal/geojson2svg/commit/18887d1f4d52a3bddb3a03d524b2aeb8db0fcc14)
#### [v1.2.13](https://github.com/gagan-bansal/geojson2svg/compare/v1.2.12...v1.2.13)
> 20 January 2022
- chore(release): 1.2.13 [`fa2b423`](https://github.com/gagan-bansal/geojson2svg/commit/fa2b4237675d5dbc8443fb7f21fc752d5810f383)
- docs: added some more cmd help [`221345f`](https://github.com/gagan-bansal/geojson2svg/commit/221345f9ed1d823e667a7216607a8800ef3e7614)
#### [v1.2.12](https://github.com/gagan-bansal/geojson2svg/compare/v1.2.11...v1.2.12)
> 20 January 2022
- doc: help improved [`5d0d0d6`](https://github.com/gagan-bansal/geojson2svg/commit/5d0d0d6c47cad95321d2fc13f98772db09aa3f77)
- chore(release): 1.2.12 [`9ca8a81`](https://github.com/gagan-bansal/geojson2svg/commit/9ca8a81c91f0565f2ccbea4e2279cd77d927315d)
#### [v1.2.11](https://github.com/gagan-bansal/geojson2svg/compare/v1.2.10...v1.2.11)
> 20 January 2022
- chore(release): 1.2.11 [`906924d`](https://github.com/gagan-bansal/geojson2svg/commit/906924d64d412fb1843befaf0d7bf5425852409b)
- map is ok [`fb3f807`](https://github.com/gagan-bansal/geojson2svg/commit/fb3f80756de759c913642adcc9f6efec41094c48)
- feat: added some thing [`9de1fe9`](https://github.com/gagan-bansal/geojson2svg/commit/9de1fe9ab16f997ea0cf95ee62e9e2044a6f9915)
#### [v1.2.10](https://github.com/gagan-bansal/geojson2svg/compare/v1.2.9...v1.2.10)
> 17 January 2022
- chore(release): 1.2.10 [`4f6a999`](https://github.com/gagan-bansal/geojson2svg/commit/4f6a999a991ee1d3472be0295a0ec306d1203edb)
- file added [`a3ca5a9`](https://github.com/gagan-bansal/geojson2svg/commit/a3ca5a94c66e107e5847c4352d416e9c8417e695)
#### [v1.2.9](https://github.com/gagan-bansal/geojson2svg/compare/v1.2.8...v1.2.9)
> 27 November 2021
- updated to latest mocha, jsdom (dev dependency), npm audit is passed [`9413095`](https://github.com/gagan-bansal/geojson2svg/commit/9413095bb20ac25dda28ca2352423ac46f8a4f8e)
- rebuild CHANGELOG [`89fe55a`](https://github.com/gagan-bansal/geojson2svg/commit/89fe55a6a00bb975adab64d636d2bf68ffac2306)
- chore(release): 1.2.9 [`2c2d42e`](https://github.com/gagan-bansal/geojson2svg/commit/2c2d42eb0fb2efdcfb697eaf02ab3985708201e4)
#### [v1.2.8](https://github.com/gagan-bansal/geojson2svg/compare/v1.2.7...v1.2.8)

@@ -140,2 +203,9 @@

- color coded map example added [`55b4727`](https://github.com/gagan-bansal/geojson2svg/commit/55b47270e5744b1e64480f8a8c87f5a0581ffce3)
- cdnjs link added [`ce552fb`](https://github.com/gagan-bansal/geojson2svg/commit/ce552fb41206916aaa7002245ae92af2bc7974cf)
- examples linked to cdnjs geojson2svg [`4fa0b51`](https://github.com/gagan-bansal/geojson2svg/commit/4fa0b51fc2caf9208e51337d00c440c7666b6586)
- changelog updated [`ba4bbc4`](https://github.com/gagan-bansal/geojson2svg/commit/ba4bbc4bf86f2808f93a75efcdf53e4c9aecfaf8)
- added map examples [`78e3c75`](https://github.com/gagan-bansal/geojson2svg/commit/78e3c751a4d669d75d76da328eaecc4ac866e3d6)
- udpate to 1.0.1 for #10 issue [`449a211`](https://github.com/gagan-bansal/geojson2svg/commit/449a211759d418da8ef1ab166db2dce41d29134f)
- Update README.md [`b5e1c38`](https://github.com/gagan-bansal/geojson2svg/commit/b5e1c3858f6e53a31fb91539c9e30a6f7f99b8f9)
- fitTo option added in README [`6f6bc0c`](https://github.com/gagan-bansal/geojson2svg/commit/6f6bc0c1a89cbd3aeb2ddfdc0f650689ff942038)

@@ -160,2 +230,6 @@ ### [v1.0.0](https://github.com/gagan-bansal/geojson2svg/compare/v0.1.4...v1.0.0)

- color coded map example added [`22e471f`](https://github.com/gagan-bansal/geojson2svg/commit/22e471f8861e533b332a6bc841d12c4ffce2cf99)
- cdnjs link added [`ac0324c`](https://github.com/gagan-bansal/geojson2svg/commit/ac0324c371234ef1ec0168230e94bb1dbd343cde)
- examples linked to cdnjs geojson2svg [`442775e`](https://github.com/gagan-bansal/geojson2svg/commit/442775e5cbe279f78f522f5aef28849e23098df6)
- added map examples [`6393794`](https://github.com/gagan-bansal/geojson2svg/commit/63937940ed10e317a37486e1e5220cf742a7fb2b)
- fitTo option added in README [`c27b75a`](https://github.com/gagan-bansal/geojson2svg/commit/c27b75abdec1f65d3191eb6aabe566817b26cdb8)

@@ -173,1 +247,24 @@ #### v0.1.0

- small bugfix and README.md written [`393dc33`](https://github.com/gagan-bansal/geojson2svg/commit/393dc3337c0106ec154e81b649b92b3ea7143be1)
- node-clone dependency removed [`0f6d345`](https://github.com/gagan-bansal/geojson2svg/commit/0f6d345f44c408065b9286b1eacb78ed8dbe492b)
- return as path string [`4fc5f33`](https://github.com/gagan-bansal/geojson2svg/commit/4fc5f33894535a7bc82c2d84c8810af9c8643bb6)
- color coded map example added [`9e07f97`](https://github.com/gagan-bansal/geojson2svg/commit/9e07f97c292367db8dd998a485de88cc0797d684)
- return as path string 2 [`632949d`](https://github.com/gagan-bansal/geojson2svg/commit/632949deb9bcc3e78de8a7e042102c06273d450d)
- switch dependant from deep-extend to xtend, all dependants version upgraded [`607ff99`](https://github.com/gagan-bansal/geojson2svg/commit/607ff999549f8c846714c32c067e06c3e06b4833)
- explode geojson test included [`9e50c90`](https://github.com/gagan-bansal/geojson2svg/commit/9e50c90db575f7147c046f50192b6c79821c88aa)
- fit to width/height option added [`362f474`](https://github.com/gagan-bansal/geojson2svg/commit/362f4748feb127132af76f41db4bdf975b54feea)
- before pushing to github [`11c7927`](https://github.com/gagan-bansal/geojson2svg/commit/11c79277816bf4dc4cae066bd5332f695ee083ff)
- color coded map example added [`55b4727`](https://github.com/gagan-bansal/geojson2svg/commit/55b47270e5744b1e64480f8a8c87f5a0581ffce3)
- created global variable for browser through browserify [`d1d9165`](https://github.com/gagan-bansal/geojson2svg/commit/d1d916590a0e5bb6e5070fcd0a478051f50da891)
- world example cleaned [`967a119`](https://github.com/gagan-bansal/geojson2svg/commit/967a119781e63c4d3daf68581ad5ed308e1d6787)
- MIT license added [`d838bc1`](https://github.com/gagan-bansal/geojson2svg/commit/d838bc13bc24e5ff4f5cd5825f0d1052157acd7f)
- starting the project [`d379d21`](https://github.com/gagan-bansal/geojson2svg/commit/d379d212e891cb9dc9481743df1d8c51edcc16cc)
- cdnjs link added [`ce552fb`](https://github.com/gagan-bansal/geojson2svg/commit/ce552fb41206916aaa7002245ae92af2bc7974cf)
- examples linked to cdnjs geojson2svg [`4fa0b51`](https://github.com/gagan-bansal/geojson2svg/commit/4fa0b51fc2caf9208e51337d00c440c7666b6586)
- added map examples [`78e3c75`](https://github.com/gagan-bansal/geojson2svg/commit/78e3c751a4d669d75d76da328eaecc4ac866e3d6)
- minified version added [`b078a6c`](https://github.com/gagan-bansal/geojson2svg/commit/b078a6cc5049dfd78e5fba2fcb2a8f2044664a2d)
- Update README.md [`b5e1c38`](https://github.com/gagan-bansal/geojson2svg/commit/b5e1c3858f6e53a31fb91539c9e30a6f7f99b8f9)
- fitTo option added in README [`6f6bc0c`](https://github.com/gagan-bansal/geojson2svg/commit/6f6bc0c1a89cbd3aeb2ddfdc0f650689ff942038)
- version number changed [`9898b51`](https://github.com/gagan-bansal/geojson2svg/commit/9898b51ca509720ea550de084aafa137d9b1718b)
- package ver change [`1ede8f6`](https://github.com/gagan-bansal/geojson2svg/commit/1ede8f695a7f51f267553edf74f6d9f1cebebae2)
- readme modified [`0cf0ad0`](https://github.com/gagan-bansal/geojson2svg/commit/0cf0ad059f124bc1fe3a858c345b649e0551bb9b)
- minified version added [`a4d6b58`](https://github.com/gagan-bansal/geojson2svg/commit/a4d6b582684c2c29db855840f1f2bf66cb2e6cd3)

13

package.json
{
"name": "geojson2svg",
"version": "1.3.3",
"version": "1.3.4",
"description": "Converts geojson to svg/path string given svg viewport size and maps extent.",
"main": "src/main.js",
"types": "src/main.d.ts",
"scripts": {

@@ -11,7 +12,6 @@ "test": "mocha",

"build": "npm run build-debug && npm run build-min",
"rebuild-changelog": "auto-changelog",
"release": "standard-version",
"release:minor": "standard-version --release-as minor",
"release:patch": "standard-version --release-as patch",
"release:major": "standard-version --release-as major",
"changelog": "auto-changelog --commit-limit=false && git add ./CHANGELOG.md && git commit --amend",
"release:minor": "standard-version --release-as minor && changelog",
"release:patch": "standard-version --release-as patch && changelog",
"release:major": "standard-version --release-as major && changelog",
"watch": "mocha -w"

@@ -34,2 +34,3 @@ },

"devDependencies": {
"@types/geojson": "^7946.0.10",
"auto-changelog": "^2.3.0",

@@ -36,0 +37,0 @@ "browserify": "~17.0.0",

@@ -161,3 +161,3 @@ # geojson2svg

```
var svgStrings = convertor.convert(geojson,
var svgStrings = converter.convert(geojson,
{

@@ -164,0 +164,0 @@ "attributes": ...,

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