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

slippy-tile

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slippy-tile - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

.nyc_output/3b4fad26fe7632c8560cee16ebd9f501.json

3

CHANGELOG.md

@@ -5,3 +5,4 @@ # Changelog

- Remove all `request` related dependencies
- Removed `js-yaml` dependency
- Removed all `request` related dependencies
- Removed `download` method

@@ -8,0 +9,0 @@ - Added DigitalGlobe as provider

"use strict";
const mercator = require('global-mercator');
const fs = require('fs');
const yml = require('js-yaml');
const path = require('path');
const providers = yml.safeLoad(fs.readFileSync(path.join(__dirname, 'providers.yml'), { encoding: 'utf-8' }));
const providers = require(path.join(__dirname, 'providers'));
/**

@@ -8,0 +6,0 @@ * Substitutes the given tile information [x,y,zoom] to the URL tile scheme.

import * as mercator from 'global-mercator'
import * as fs from 'fs'
import * as yml from 'js-yaml'
import * as path from 'path'

@@ -19,3 +17,3 @@

const providers: Providers = yml.safeLoad(fs.readFileSync(path.join(__dirname, 'providers.yml'), { encoding: 'utf-8' }))
const providers: Providers = require(path.join(__dirname, 'providers'))

@@ -22,0 +20,0 @@ /**

{
"name": "slippy-tile",
"version": "1.2.2",
"version": "1.2.3",
"description": "Helps convert Slippy Map url tile schemas",

@@ -8,4 +8,5 @@ "main": "index.js",

"scripts": {
"prepublish": "tsc",
"test": "tsc && npm run lint && nyc ava",
"prepublish": "npm run docs",
"pretest": "tsc && js-yaml providers.yml > providers.json",
"test": "npm run lint && nyc ava",
"docs": "tsc && cat HEADER.md > README.md && documentation build index.js -c documentation.yml -f md >> README.md && cat CHANGELOG.md >> README.md",

@@ -34,2 +35,3 @@ "lint": "tsc && tslint index.ts test.ts && documentation lint index.js"

"nyc": "^8.3.0",
"js-yaml": "^3.6.1",
"ts-node": "^1.4.3",

@@ -60,5 +62,4 @@ "tslint": "^3.15.1",

"dependencies": {
"global-mercator": "^1.3.2",
"js-yaml": "^3.6.1"
"global-mercator": "^1.3.2"
}
}

@@ -70,2 +70,4 @@ [![Build Status](https://travis-ci.org/DenisCarriere/slippy-tile.svg?branch=master)](https://travis-ci.org/DenisCarriere/slippy-tile)

- `{proj}`: default = EPSG:3857
<!-- Generated by documentation.js. Update this documentation by updating the source code. -->
# slippyTile

@@ -147,3 +149,4 @@

- Remove all `request` related dependencies
- Removed `js-yaml` dependency
- Removed all `request` related dependencies
- Removed `download` method

@@ -150,0 +153,0 @@ - Added DigitalGlobe as provider

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