@maplibre/maplibre-gl-style-spec
Advanced tools
Comparing version 18.0.1-pre.5 to 18.0.1-pre.6
{ | ||
"name": "@maplibre/maplibre-gl-style-spec", | ||
"description": "a specification for maplibre gl styles", | ||
"version": "18.0.1-pre.5", | ||
"version": "18.0.1-pre.6", | ||
"author": "MapLibre", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
@@ -8,4 +8,2 @@ import replace from '@rollup/plugin-replace'; | ||
import minifyStyleSpec from './build/rollup_plugin_minify_style_spec'; | ||
import terser from '@rollup/plugin-terser'; | ||
import strip from '@rollup/plugin-strip'; | ||
@@ -30,3 +28,3 @@ const config: RollupOptions[] = [{ | ||
browser: true, | ||
preferBuiltins: false, | ||
preferBuiltins: true, | ||
// Some users reference modules within style-spec package directly, instead of the bundle | ||
@@ -33,0 +31,0 @@ // This means that files within the style-spec package should NOT import files from the parent maplibre-gl-js tree. |
import URL from 'url'; | ||
import {eachSource, eachLayer, eachProperty} from '../visit'; | ||
@@ -113,3 +112,3 @@ import type {LayerSpecification, StyleSpecification} from '../types.g'; | ||
function migrateFontstackURL(input) { | ||
const inputParsed = URL.parse(input); | ||
const inputParsed = new URL(input); | ||
const inputPathnameParts = inputParsed.pathname.split('/'); | ||
@@ -116,0 +115,0 @@ |
@@ -25,3 +25,3 @@ import replace from '@rollup/plugin-replace'; | ||
browser: true, | ||
preferBuiltins: false, | ||
preferBuiltins: true, | ||
// Some users reference modules within style-spec package directly, instead of the bundle | ||
@@ -28,0 +28,0 @@ // This means that files within the style-spec package should NOT import files from the parent maplibre-gl-js tree. |
@@ -1,2 +0,1 @@ | ||
import URL from 'url'; | ||
import { eachSource, eachLayer, eachProperty } from '../visit'; | ||
@@ -98,3 +97,3 @@ function eachLayout(layer, callback) { | ||
function migrateFontstackURL(input) { | ||
const inputParsed = URL.parse(input); | ||
const inputParsed = new URL(input); | ||
const inputPathnameParts = inputParsed.pathname.split('/'); | ||
@@ -101,0 +100,0 @@ if (inputParsed.protocol !== 'mapbox:') { |
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
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
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
3030439
61129