Socket
Socket
Sign inDemoInstall

terraformer-wkt-parser

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

terraformer-wkt-parser - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

4

package.json
{
"name": "terraformer-wkt-parser",
"version": "0.1.5",
"version": "0.1.6",
"description": "Well-Known Text parser",

@@ -14,3 +14,3 @@ "main": "index.js",

"type": "git",
"url": "git@github.com:Geoloqi/Terraformer.git"
"url": "git@github.com:esri/Terraformer.git"
},

@@ -17,0 +17,0 @@ "keywords": [

(function (root, factory) {
// Node.
if(typeof module === 'object' && typeof module.exports === 'object') {
// Node. Does not work with strict CommonJS, but
// only CommonJS-like enviroments that support module.exports,
// like Node.
Terraformer = require('terraformer');
exports = module.exports = factory();
}else if(typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module and pass in Terraformer core as a requirement...
}
// AMD.
if(typeof define === 'function' && define.amd) {
define(["terraformer/terraformer"],factory);
} else {
if (typeof root.Terraformer === "undefined") {
root.Terraformer = { };
}
root.Terraformer.WKT = factory();
}
if(typeof jasmine === "object") {
if (typeof Terraformer === undefined){
root.Terraformer = { };
// Browser Global.
if(typeof navigator === "object") {
if (typeof root.Terraformer === "undefined"){
root.Terraformer = {};
}
//root.Terraformer.WKT = factory();
root.Terraformer.WKT = factory();
}

@@ -29,6 +23,17 @@

var exports = { };
var Terraformer;
// if we are in AMD terraformer core got passed in as our first requirement so we should set it.
// Local Reference To Browser Global
if(typeof this.navigator === "object") {
Terraformer = this.Terraformer;
}
// Setup Node Dependencies
if(typeof module === 'object' && typeof module.exports === 'object') {
Terraformer = require('terraformer');
}
// Setup AMD Dependencies
if(arguments[0] && typeof define === 'function' && define.amd) {
this.Terraformer = arguments[0];
Terraformer = arguments[0];
}

@@ -764,7 +769,7 @@

};
function _parse () {
return parser.parse.apply(parser, arguments);
}
function parse (element) {

@@ -771,0 +776,0 @@ var res, primitive;

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