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

proj4

Package Overview
Dependencies
Maintainers
2
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

proj4 - npm Package Compare versions

Comparing version 2.3.12 to 2.3.13

dist/.npmignore

4

bower.json
{
"name": "proj4",
"version": "2.3.12",
"version": "2.3.13",
"description": "Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.",

@@ -24,2 +24,2 @@ "homepage": "https://github.com/proj4js/proj4js",

]
}
}
{
"name": "proj4",
"version": "2.3.12",
"version": "2.3.13",
"description": "Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.",

@@ -17,2 +17,2 @@ "repo": "proj4js/proj4js",

]
}
}

@@ -11,3 +11,3 @@ var mgrs = require('mgrs');

this.z = x[2] || 0.0;
}else if(typeof x === 'object'){
} else if(typeof x === 'object') {
this.x = x.x;

@@ -21,4 +21,3 @@ this.y = x.y;

this.z = parseFloat(coords[2], 10) || 0.0;
}
else {
} else {
this.x = x;

@@ -37,2 +36,2 @@ this.y = y;

};
module.exports = Point;
module.exports = Point;
{
"name": "proj4",
"version": "2.3.12",
"version": "2.3.13",
"description": "Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.",

@@ -36,5 +36,5 @@ "main": "lib/index.js",

"grunt-mocha-phantomjs": "~0.4.0",
"browserify": "~3.24.5",
"grunt-browserify": "~1.3.0",
"grunt-contrib-uglify": "~0.3.2",
"browserify": "~12.0.1",
"grunt-browserify": "~4.0.1",
"grunt-contrib-uglify": "~0.11.1",
"curl": "git://github.com/cujojs/curl.git",

@@ -47,2 +47,2 @@ "istanbul": "~0.2.4",

}
}
}

@@ -18,3 +18,3 @@ # PROJ4JS [![Build Status](https://travis-ci.org/proj4js/proj4js.svg)](https://travis-ci.org/proj4js/proj4js)

or just manually grab the file `proj4.js` from the [latest release](https://github.com/proj4js/proj4js/releases).
or just manually grab the file `proj4.js` from the [latest release](https://github.com/proj4js/proj4js/releases)'s `dist/` folder.

@@ -93,3 +93,3 @@ if you do not want to download anything, Proj4js is also hosted on [cdnjs](http://www.cdnjs.com/libraries/proj4js) for direct use in your browser applications.

you can then do
you can then do

@@ -117,3 +117,3 @@ ```js

proj4.defs('urn:x-ogc:def:crs:EPSG:4326', proj4.defs('EPSG:4326'));
```
```

@@ -126,3 +126,3 @@ ## Developing

```bash
grunt
node_modules/.bin/grunt
```

@@ -139,9 +139,9 @@

```bash
node test --coverage
npm test --coverage
```
to create a build with only default projections (latlon and Mercator) run
to create a build with only default projections (latlon and Mercator) run
```bash
grunt build
node_modules/.bin/grunt build
```

@@ -152,8 +152,8 @@

```bash
grunt build:tmerc
node_modules/.bin/grunt build:tmerc
#includes transverse Mercator
grunt build:lcc
node_modules/.bin/grunt build:lcc
#includes lambert conformal conic
grunt build:omerc,moll
node_modules/.bin/grunt build:omerc,moll
#includes oblique Mercator and Mollweide
```
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