@camptocamp/ogc-client
Advanced tools
Comparing version
{ | ||
"name": "@camptocamp/ogc-client", | ||
"version": "1.1.1-dev.5d5663c", | ||
"version": "1.1.1-dev.77cdfe1", | ||
"description": "A pure JS library for interacting with geospatial services.", | ||
@@ -63,3 +63,6 @@ "main": "./dist/dist-node.js", | ||
"lint:fix": "npm run lint -- --fix", | ||
"build": "vite build && esbuild $(find ./src -name \"*.ts\" -type f -not -path '*worker/index.ts' -not -path '*.spec.ts') --outdir=./dist --platform=neutral --format=esm --sourcemap", | ||
"build": "npm run build:worker && npm run build:node && npm run build:browser", | ||
"build:browser": "esbuild $(find ./src -name \"*.ts\" -type f -not -path '*worker/index.ts' -not -path '*.spec.ts') --outdir=./dist --platform=neutral --format=esm --sourcemap", | ||
"build:node": "vite build --config vite.node-config.js", | ||
"build:worker": "vite build --config vite.worker-config.js", | ||
"prepublishOnly": "npm run typecheck && npm test && npm run build", | ||
@@ -66,0 +69,0 @@ "typecheck": "tsc --noEmit" |
@@ -134,16 +134,26 @@ import { Geometry } from 'geojson'; | ||
} | ||
export interface OgcApiRecordLanguage { | ||
code: string; | ||
name?: string; | ||
alternate?: string; | ||
dir: 'ltr' | 'rtl' | 'ttb' | 'btt'; | ||
} | ||
export interface OgcApiRecordProperties { | ||
created?: Date; | ||
updated?: Date; | ||
type: string; | ||
title: string; | ||
recordCreated?: Date; | ||
recordUpdated?: Date; | ||
providers?: string[]; | ||
description?: string; | ||
externalId?: OgcApiItemExternalId[]; | ||
keywords?: string[]; | ||
themes?: OgcApiRecordTheme[]; | ||
keywords?: string[]; | ||
language?: string; | ||
language?: OgcApiRecordLanguage; | ||
languages?: OgcApiRecordLanguage[]; | ||
resourceLanguages?: OgcApiRecordLanguage[]; | ||
externalIds?: OgcApiItemExternalId[]; | ||
formats?: string[]; | ||
contacts?: OgcApiRecordContact[]; | ||
formats?: string[]; | ||
license?: string; | ||
rights?: string; | ||
providers?: string[]; | ||
} | ||
@@ -150,0 +160,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
19171
22.59%889178
-10.5%124
-46.55%2
100%5
150%