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

@openglobus/og

Package Overview
Dependencies
Maintainers
2
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openglobus/og - npm Package Compare versions

Comparing version 0.18.0 to 0.18.1

lib/@openglobus/og.css

57

package.json
{
"name": "@openglobus/og",
"version": "0.18.0",
"version": "0.18.1",
"description": "[openglobus](https://www.openglobus.org/) is a javascript/typescript library designed to display interactive 3d maps and planets with map tiles, imagery and vector data, markers, and 3D objects. It uses the WebGL technology, open source, and completely free.",

@@ -8,3 +8,3 @@ "directories": {

},
"main": "./src/index.ts",
"main": "./lib/js/index.js",
"style": "./css/og.css",

@@ -15,2 +15,4 @@ "scripts": {

"build": "rollup -c --bundleConfigAsCjs",
"clean": "rm -rf ./lib ./docs",
"prepublishOnly": "npm run build; npm run gen_js",
"dev": "rollup -c -w --bundleConfigAsCjs --environment NODE_ENV:development",

@@ -20,2 +22,3 @@ "test": "jest --env=jsdom --runInBand --ci --coverage=false",

"lint": "eslint -c ./.eslintrc.js src/",
"gen_js": "tsc --build tsconfig.json --declaration",
"font": "node ./fonts/index.js"

@@ -34,35 +37,25 @@ },

"homepage": "https://www.openglobus.org",
"exports": {
".": "./src/index.js",
"./layer": "./src/layer/index.js",
"./bv": "./src/index.js",
"./terrain": "./src/terrain/index.js",
"./entity": "./src/entity/index.js",
"./control": "./src/control/index.js",
"./webgl": "./src/webgl/index.js",
"./scene": "./src/scene/index.js",
"./css/og.css": "./css/og.css"
},
"devDependencies": {
"@babel/preset-env": "^7.21.5",
"@babel/preset-env": "^7.22.20",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-terser": "^0.4.1",
"@types/jest": "^29.5.3",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@typescript-eslint/parser": "^6.2.1",
"clean-jsdoc-theme": "^4.2.7",
"eslint": "^8.39.0",
"jest": "^29.5.0",
"jest-canvas-mock": "^2.5.0",
"jest-environment-jsdom": "^29.5.0",
"@rollup/plugin-terser": "^0.4.3",
"@rollup/plugin-typescript": "^11.1.3",
"@types/jest": "^29.5.5",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"clean-jsdoc-theme": "^4.2.10",
"eslint": "^8.49.0",
"jest": "^29.7.0",
"jest-canvas-mock": "^2.5.2",
"jest-environment-jsdom": "^29.7.0",
"jsdoc": "^4.0.2",
"lint-staged": "^13.2.2",
"lint-staged": "^14.0.1",
"local-web-server": "^5.3.0",
"postcss": "^8.4.23",
"prettier": "^2.8.8",
"rollup": "^3.21.3",
"postcss": "^8.4.29",
"prettier": "^3.0.3",
"rollup": "^3.29.2",
"rollup-plugin-copy": "^3.5.0",
"rollup-plugin-postcss": "^4.0.2",
"ts-jest": "^29.1.1",
"typescript": "^5.1.6"
"typescript": "^5.2.2"
},

@@ -75,4 +68,3 @@ "lint-staged": {

"files": [
"src/**/*",
"dist/**/*",
"lib/**/*",
"css/**/*"

@@ -86,6 +78,3 @@ ],

"og"
],
"dependencies": {
"@rollup/plugin-typescript": "^11.1.2"
}
]
}

@@ -31,4 +31,4 @@ [![NPM PACKAGE](https://img.shields.io/npm/v/@openglobus/og.svg?logo=npm&logoColor=fff&label=NPM+package&color=limegreen)](https://www.npmjs.com/@openglobus/og)

<link rel="stylesheet" href="../dist/@openglogus/og.css">
<script src="../dist/@openglogus/og.umd.js"></script>
<link rel="stylesheet" href="../lib/@openglogus/og.css">
<script src="../lib/@openglogus/og.umd.js"></script>
<div id="globus"></div>

@@ -48,3 +48,3 @@ <script>

layers: [osm],
autoActivated: true,
autoActivate: true,
fontsSrc: "../res/fonts", // Fonts folder

@@ -62,7 +62,7 @@ resourcesSrc: "../res", // Night and water mask terxtures folder

<link rel="stylesheet" href="../dist/@openglobus/og.css">
<link rel="stylesheet" href="../lib/@openglobus/og.css">
<div id="globus"></div>
<script type="module">
import {XYZ, Globe, GlobusTerrain} from '../dist/@openglobus/og.esm.js';
import {XYZ, Globe, GlobusTerrain} from '../lib/@openglobus/og.esm.js';

@@ -80,3 +80,3 @@ const osm = new XYZ("OpenStreetMap", {

layers: [osm],
autoActivated: true,
autoActivate: true,
fontsSrc: "../res/fonts", // Fonts folder

@@ -123,3 +123,3 @@ resourcesSrc: "../res", // Night and water mask terxtures folder

Then, it will generate 5 files at `dist/@openglobus/`:
Then, it will generate 5 files at `lib/@openglobus/`:

@@ -135,3 +135,3 @@ - og.umd.js

First, it starts by watching sources and building into dist folder esm module:
First, it starts by watching sources and building into ./lib folder esm module:

@@ -138,0 +138,0 @@ ```sh

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