@loaders.gl/wms
Advanced tools
Comparing version 3.3.0-alpha.8 to 3.3.0-alpha.9
@@ -12,3 +12,24 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "WMSFeatureInfoLoader", { | ||
enumerable: true, | ||
get: function get() { | ||
return _wmsFeatureInfoLoader.WMSFeatureInfoLoader; | ||
} | ||
}); | ||
Object.defineProperty(exports, "WMSLayerDescriptionLoader", { | ||
enumerable: true, | ||
get: function get() { | ||
return _wmsLayerDescriptionLoader.WMSLayerDescriptionLoader; | ||
} | ||
}); | ||
Object.defineProperty(exports, "_WMSDataSource", { | ||
enumerable: true, | ||
get: function get() { | ||
return _wmsDataSource.WMSDataSource; | ||
} | ||
}); | ||
var _wmsCapabilitiesLoader = require("./wms-capabilities-loader"); | ||
var _wmsFeatureInfoLoader = require("./wms-feature-info-loader"); | ||
var _wmsLayerDescriptionLoader = require("./wms-layer-description-loader"); | ||
var _wmsDataSource = require("./lib/data-sources/wms-data-source"); | ||
//# sourceMappingURL=index.js.map |
@@ -10,7 +10,8 @@ "use strict"; | ||
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); | ||
var _parseWmsCapabilities = require("./lib/parse-wms-capabilities"); | ||
var VERSION = typeof "3.3.0-alpha.8" !== 'undefined' ? "3.3.0-alpha.8" : 'latest'; | ||
var _parseWms = require("./lib/parse-wms"); | ||
var VERSION = typeof "3.3.0-alpha.9" !== 'undefined' ? "3.3.0-alpha.9" : 'latest'; | ||
var WMSCapabilitiesLoader = { | ||
name: 'WMS Capabilities', | ||
id: 'wms', | ||
id: 'wms-capabilities', | ||
module: 'wms', | ||
@@ -23,3 +24,3 @@ version: VERSION, | ||
options: { | ||
obj: {} | ||
wms: {} | ||
}, | ||
@@ -32,3 +33,3 @@ parse: function () { | ||
case 0: | ||
return _context.abrupt("return", (0, _parseWmsCapabilities.parseWMSCapabilities)(new TextDecoder().decode(arrayBuffer), options)); | ||
return _context.abrupt("return", (0, _parseWms.parseWMSCapabilities)(new TextDecoder().decode(arrayBuffer), options)); | ||
case 1: | ||
@@ -47,3 +48,3 @@ case "end": | ||
parseTextSync: function parseTextSync(text, options) { | ||
return (0, _parseWmsCapabilities.parseWMSCapabilities)(text, options); | ||
return (0, _parseWms.parseWMSCapabilities)(text, options); | ||
} | ||
@@ -50,0 +51,0 @@ }; |
const moduleExports = require('./index'); | ||
@@ -3,0 +4,0 @@ globalThis.loaders = globalThis.loaders || {}; |
export { WMSCapabilitiesLoader } from './wms-capabilities-loader'; | ||
export { WMSFeatureInfoLoader } from './wms-feature-info-loader'; | ||
export { WMSLayerDescriptionLoader } from './wms-layer-description-loader'; | ||
export { WMSDataSource as _WMSDataSource } from './lib/data-sources/wms-data-source'; | ||
//# sourceMappingURL=index.js.map |
@@ -1,7 +0,9 @@ | ||
import { parseWMSCapabilities } from './lib/parse-wms-capabilities'; | ||
const VERSION = typeof "3.3.0-alpha.8" !== 'undefined' ? "3.3.0-alpha.8" : 'latest'; | ||
import { parseWMSCapabilities } from './lib/parse-wms'; | ||
const VERSION = typeof "3.3.0-alpha.9" !== 'undefined' ? "3.3.0-alpha.9" : 'latest'; | ||
export const WMSCapabilitiesLoader = { | ||
name: 'WMS Capabilities', | ||
id: 'wms', | ||
id: 'wms-capabilities', | ||
module: 'wms', | ||
@@ -14,3 +16,3 @@ version: VERSION, | ||
options: { | ||
obj: {} | ||
wms: {} | ||
}, | ||
@@ -17,0 +19,0 @@ parse: async (arrayBuffer, options) => parseWMSCapabilities(new TextDecoder().decode(arrayBuffer), options), |
{ | ||
"name": "@loaders.gl/wms", | ||
"version": "3.3.0-alpha.8", | ||
"version": "3.3.0-alpha.9", | ||
"description": "Framework-independent loaders for the WMS (Web Map Service) standard", | ||
@@ -36,4 +36,4 @@ "license": "MIT", | ||
"@babel/runtime": "^7.3.1", | ||
"@loaders.gl/loader-utils": "3.3.0-alpha.8", | ||
"@loaders.gl/schema": "3.3.0-alpha.8" | ||
"@loaders.gl/loader-utils": "3.3.0-alpha.9", | ||
"@loaders.gl/schema": "3.3.0-alpha.9" | ||
}, | ||
@@ -43,3 +43,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "69cfde0340328dd800c7c90151b56b406f47e9ae" | ||
"gitHead": "c95a4ff72512668a93d9041ce8636bac09333fd5" | ||
} |
@@ -0,1 +1,3 @@ | ||
// loaders.gl, MIT license | ||
// @ts-nocheck | ||
@@ -2,0 +4,0 @@ const moduleExports = require('./index'); |
@@ -5,3 +5,10 @@ // loaders.gl, MIT license | ||
export type {WMSCapabilitiesLoaderOptions} from './wms-capabilities-loader'; | ||
export type {WMSCapabilities, WMSFeatureInfo, WMSLayerDescription} from './wms-types'; | ||
export type {WMSLoaderOptions} from './wms-capabilities-loader'; | ||
export {WMSCapabilitiesLoader} from './wms-capabilities-loader'; | ||
export {WMSFeatureInfoLoader} from './wms-feature-info-loader'; | ||
export {WMSLayerDescriptionLoader} from './wms-layer-description-loader'; | ||
export type {WMSDataSourceProps as _WMSDataSourceProps} from './lib/data-sources/wms-data-source'; | ||
export {WMSDataSource as _WMSDataSource} from './lib/data-sources/wms-data-source'; |
@@ -0,3 +1,5 @@ | ||
// loaders.gl, MIT license | ||
import type {LoaderWithParser, LoaderOptions} from '@loaders.gl/loader-utils'; | ||
import {parseWMSCapabilities} from './lib/parse-wms-capabilities'; | ||
import {parseWMSCapabilities} from './lib/parse-wms'; | ||
@@ -8,3 +10,3 @@ // __VERSION__ is injected by babel-plugin-version-inline | ||
export type WMSCapabilitiesLoaderOptions = LoaderOptions & { | ||
export type WMSLoaderOptions = LoaderOptions & { | ||
wms?: {}; | ||
@@ -14,7 +16,8 @@ }; | ||
/** | ||
* Worker loader for the OBJ geometry format | ||
* Loader for the response to the WMS GetCapability request | ||
*/ | ||
export const WMSCapabilitiesLoader = { | ||
name: 'WMS Capabilities', | ||
id: 'wms', | ||
id: 'wms-capabilities', | ||
module: 'wms', | ||
@@ -27,8 +30,7 @@ version: VERSION, | ||
options: { | ||
obj: {} | ||
wms: {} | ||
}, | ||
parse: async (arrayBuffer: ArrayBuffer, options?: WMSCapabilitiesLoaderOptions) => | ||
parse: async (arrayBuffer: ArrayBuffer, options?: WMSLoaderOptions) => | ||
parseWMSCapabilities(new TextDecoder().decode(arrayBuffer), options), | ||
parseTextSync: (text: string, options?: WMSCapabilitiesLoaderOptions) => | ||
parseWMSCapabilities(text, options) | ||
parseTextSync: (text: string, options?: WMSLoaderOptions) => parseWMSCapabilities(text, options) | ||
}; | ||
@@ -35,0 +37,0 @@ |
Sorry, the diff of this file is too big to display
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
466285
49
5258
4
+ Added@loaders.gl/loader-utils@3.3.0-alpha.9(transitive)
+ Added@loaders.gl/schema@3.3.0-alpha.9(transitive)
+ Added@loaders.gl/worker-utils@3.3.0-alpha.9(transitive)
- Removed@loaders.gl/loader-utils@3.3.0-alpha.8(transitive)
- Removed@loaders.gl/schema@3.3.0-alpha.8(transitive)
- Removed@loaders.gl/worker-utils@3.3.0-alpha.8(transitive)