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

@maplibre/maplibre-gl-style-spec

Package Overview
Dependencies
Maintainers
3
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@maplibre/maplibre-gl-style-spec - npm Package Compare versions

Comparing version 18.0.1-pre.5 to 18.0.1-pre.6

2

package.json
{
"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

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