@loaders.gl/wms
Advanced tools
Comparing version 4.0.0-beta.5 to 4.0.0-beta.6
@@ -22,2 +22,3 @@ export type { CSWLoaderOptions } from './csw-capabilities-loader'; | ||
export { GMLLoader as _GMLLoader } from './gml-loader'; | ||
export { ImageSource } from '@loaders.gl/loader-utils'; | ||
export type { ImageType } from '@loaders.gl/images'; | ||
@@ -34,5 +35,4 @@ export type { CreateImageServiceProps } from './lib/services/create-image-service'; | ||
export { ArcGISImageService as _ArcGISImageService } from './services/arcgis/arcgis-image-service'; | ||
/** @deprecated Use WMSCapabilitiesLoaderOptions */ | ||
export type { WMSCapabilitiesLoaderOptions as WMSLoaderOptions } from './wms-capabilities-loader'; | ||
export { ImageSource } from '@loaders.gl/loader-utils'; | ||
export type { LERCData } from './lib/parsers/lerc/lerc-types'; | ||
export { LERCLoader } from './lerc-loader'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -10,2 +10,3 @@ export { CSWCapabilitiesLoader } from "./csw-capabilities-loader.js"; | ||
export { GMLLoader as _GMLLoader } from "./gml-loader.js"; | ||
export { ImageSource } from '@loaders.gl/loader-utils'; | ||
export { createImageService } from "./lib/services/create-image-service.js"; | ||
@@ -18,3 +19,3 @@ export { createImageSource } from "./services/create-image-source.js"; | ||
export { ArcGISImageService as _ArcGISImageService } from "./services/arcgis/arcgis-image-service.js"; | ||
export { ImageSource } from '@loaders.gl/loader-utils'; | ||
export { LERCLoader } from "./lerc-loader.js"; | ||
//# sourceMappingURL=index.js.map |
@@ -29,4 +29,4 @@ /** All capabilities of a WMS service - response to a WMS `GetCapabilities` data structure extracted from XML */ | ||
exceptions?: WMSExceptions; | ||
/** Only if `options.raw`: raw untyped JSON parsed from XML. Can include information not extracted in the typed response. */ | ||
raw?: Record<string, unknown>; | ||
/** Only if `options.json`: raw untyped JSON parsed from XML. Can include information not extracted in the typed response. */ | ||
json?: Record<string, unknown>; | ||
/** Only if `options.xml`, the unparsed XML string can be requested */ | ||
@@ -117,7 +117,5 @@ xml?: string; | ||
/** Include the "raw" JSON (parsed but untyped, unprocessed XML). May contain additional fields */ | ||
includeRawData?: boolean; | ||
includeRawJSON?: boolean; | ||
/** Include the original XML document text. May contain additional information. */ | ||
includeXMLText?: boolean; | ||
/** @deprecated Use includeRawData` */ | ||
raw?: boolean; | ||
}; | ||
@@ -124,0 +122,0 @@ /** |
@@ -13,4 +13,4 @@ import { XMLLoader } from '@loaders.gl/xml'; | ||
} | ||
if (options !== null && options !== void 0 && options.includeRawData || options !== null && options !== void 0 && options.raw) { | ||
capabilities.raw = xmlCapabilities; | ||
if (options !== null && options !== void 0 && options.includeRawJSON) { | ||
capabilities.json = xmlCapabilities; | ||
} | ||
@@ -17,0 +17,0 @@ if (options !== null && options !== void 0 && options.includeXMLText) { |
@@ -10,7 +10,5 @@ import type { LoaderWithParser } from '@loaders.gl/loader-utils'; | ||
/** Include the "raw" JSON (parsed but untyped, unprocessed XML). May contain additional fields */ | ||
includeRawData?: boolean; | ||
includeRawJSON?: boolean; | ||
/** Include the original XML document text. May contain additional information. */ | ||
includeXMLText?: boolean; | ||
/** @deprecated Use options.includeRawData` */ | ||
raw?: boolean; | ||
}; | ||
@@ -17,0 +15,0 @@ }; |
{ | ||
"name": "@loaders.gl/wms", | ||
"version": "4.0.0-beta.5", | ||
"version": "4.0.0-beta.6", | ||
"description": "Framework-independent loaders for the WMS (Web Map Service) standard", | ||
@@ -46,10 +46,14 @@ "license": "MIT", | ||
"pre-build": "npm run build-bundle && npm run build-bundle -- --env=dev", | ||
"build-bundle": "ocular-bundle ./src/index.ts" | ||
"build-bundle": "# ocular-bundle ./src/index.ts --external:{util,fs,path}" | ||
}, | ||
"browser": { | ||
"fs": false, | ||
"path": false | ||
}, | ||
"dependencies": { | ||
"@babel/runtime": "^7.3.1", | ||
"@loaders.gl/images": "4.0.0-beta.5", | ||
"@loaders.gl/loader-utils": "4.0.0-beta.5", | ||
"@loaders.gl/schema": "4.0.0-beta.5", | ||
"@loaders.gl/xml": "4.0.0-beta.5", | ||
"@loaders.gl/images": "4.0.0-beta.6", | ||
"@loaders.gl/loader-utils": "4.0.0-beta.6", | ||
"@loaders.gl/schema": "4.0.0-beta.6", | ||
"@loaders.gl/xml": "4.0.0-beta.6", | ||
"@turf/rewind": "^5.1.5", | ||
@@ -59,3 +63,3 @@ "deep-strict-equal": "^0.2.0", | ||
}, | ||
"gitHead": "a6f5a0d1a316cc22396e5a4d480c14329d1ef146" | ||
"gitHead": "2840f605b7a551e2ffef5f960231d989a0414c50" | ||
} |
@@ -56,2 +56,5 @@ // loaders.gl, MIT license | ||
// TODO - restore once deck.gl has been udpated | ||
export {ImageSource} from '@loaders.gl/loader-utils'; | ||
export type {ImageType} from '@loaders.gl/images'; | ||
@@ -81,10 +84,3 @@ | ||
// LERC - Limited Error Raster Compression | ||
// TODO - restore once esbuild bundling issues have been resolved | ||
// export type {LERCData} from './lib/lerc/lerc-types'; | ||
// export {LERCLoader} from './lerc-loader'; | ||
/** @deprecated Use WMSCapabilitiesLoaderOptions */ | ||
export type {WMSCapabilitiesLoaderOptions as WMSLoaderOptions} from './wms-capabilities-loader'; | ||
// TODO - restore once deck.gl has been udpated | ||
export {ImageSource} from '@loaders.gl/loader-utils'; | ||
export type {LERCData} from './lib/parsers/lerc/lerc-types'; | ||
export {LERCLoader} from './lerc-loader'; |
@@ -40,4 +40,4 @@ // loaders.gl, MIT license | ||
exceptions?: WMSExceptions; | ||
/** Only if `options.raw`: raw untyped JSON parsed from XML. Can include information not extracted in the typed response. */ | ||
raw?: Record<string, unknown>; | ||
/** Only if `options.json`: raw untyped JSON parsed from XML. Can include information not extracted in the typed response. */ | ||
json?: Record<string, unknown>; | ||
/** Only if `options.xml`, the unparsed XML string can be requested */ | ||
@@ -151,8 +151,5 @@ xml?: string; | ||
/** Include the "raw" JSON (parsed but untyped, unprocessed XML). May contain additional fields */ | ||
includeRawData?: boolean; | ||
includeRawJSON?: boolean; | ||
/** Include the original XML document text. May contain additional information. */ | ||
includeXMLText?: boolean; | ||
/** @deprecated Use includeRawData` */ | ||
raw?: boolean; | ||
// xml options are passed through to xml loader | ||
}; | ||
@@ -182,4 +179,4 @@ | ||
if (options?.includeRawData || options?.raw) { | ||
capabilities.raw = xmlCapabilities; | ||
if (options?.includeRawJSON) { | ||
capabilities.json = xmlCapabilities; | ||
} | ||
@@ -186,0 +183,0 @@ |
@@ -26,7 +26,5 @@ // loaders.gl, MIT license | ||
/** Include the "raw" JSON (parsed but untyped, unprocessed XML). May contain additional fields */ | ||
includeRawData?: boolean; | ||
includeRawJSON?: boolean; | ||
/** Include the original XML document text. May contain additional information. */ | ||
includeXMLText?: boolean; | ||
/** @deprecated Use options.includeRawData` */ | ||
raw?: boolean; | ||
}; | ||
@@ -33,0 +31,0 @@ }; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
5
579750
203
8068
+ Added@loaders.gl/images@4.0.0-beta.6(transitive)
+ Added@loaders.gl/loader-utils@4.0.0-beta.6(transitive)
+ Added@loaders.gl/schema@4.0.0-beta.6(transitive)
+ Added@loaders.gl/worker-utils@4.0.0-beta.6(transitive)
+ Added@loaders.gl/xml@4.0.0-beta.6(transitive)
- Removed@loaders.gl/images@4.0.0-beta.5(transitive)
- Removed@loaders.gl/loader-utils@4.0.0-beta.5(transitive)
- Removed@loaders.gl/schema@4.0.0-beta.5(transitive)
- Removed@loaders.gl/worker-utils@4.0.0-beta.5(transitive)
- Removed@loaders.gl/xml@4.0.0-beta.5(transitive)
Updated@loaders.gl/xml@4.0.0-beta.6