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

proj4-fully-loaded

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

proj4-fully-loaded - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

2

package.json
{
"name": "proj4-fully-loaded",
"version": "0.1.0",
"version": "0.2.0",
"description": "Proj4JS Projector Fully Loaded with Projections",

@@ -5,0 +5,0 @@ "main": "proj4-fully-loaded.js",

let proj4 = require("proj4");
const defs = require("proj4js-definitions");
if (typeof proj4 === "object" && typeof proj4.defs !== "function" && typeof proj4.default === "function") {
// probably inside an Angular project
// - inside an Angular project, proj4 could be an object
// - inside a Vite project, proj4 could be the proj4 function
// but with the defs property/function mysteriously removed
if ((typeof proj4 === "object" || typeof proj4 === "function") && typeof proj4.defs !== "function" && typeof proj4.default === "function" && typeof proj4.default.defs === "function") {
proj4 = proj4.default;

@@ -7,0 +9,0 @@ }

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