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

@rapideditor/location-conflation

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rapideditor/location-conflation - npm Package Compare versions

Comparing version 1.2.1 to 1.3.0

14

package.json
{
"name": "@rapideditor/location-conflation",
"version": "1.2.1",
"version": "1.3.0",
"license": "ISC",

@@ -46,11 +46,11 @@ "repository": "github:rapideditor/location-conflation",

"geojson-precision": "^1.0.0",
"polygon-clipping": "~0.15.3"
"polyclip-ts": "~0.16.3"
},
"devDependencies": {
"c8": "^8.0.0",
"esbuild": "^0.18.11",
"eslint": "^8.44.0",
"c8": "^8.0.1",
"esbuild": "^0.19.3",
"eslint": "^8.49.0",
"npm-run-all": "^4.1.5",
"shx": "^0.3.4",
"tap": "^16.3.7"
"tap": "^16.3.8"
},

@@ -61,4 +61,4 @@ "publishConfig": {

"engines": {
"node": ">=16.14.0"
"node": ">=18"
}
}

@@ -57,3 +57,3 @@ [![build](https://github.com/rapideditor/location-conflation/workflows/build/badge.svg)](https://github.com/rapideditor/location-conflation/actions?query=workflow%3A%22build%22)

// or
import LocationConflation from '@rapideditor/location-conflation'; // import ESM
import { LocationConflation } from '@rapideditor/location-conflation'; // import ESM
```

@@ -69,3 +69,3 @@

<head>
<script src="https://cdn.jsdelivr.net/npm/@rapideditor/location-conflation@1.2/dist/location-conflation.iife.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@rapideditor/location-conflation@1.3/dist/location-conflation.iife.min.js"></script>
</head>

@@ -85,4 +85,4 @@

```js
const LocationConflation = require('@rapideditor/location-conflation').default;
const myFeatures = require('./path/to/FeatureCollection.json'); // optional
import { LocationConflation } from '@rapideditor/location-conflation';
import myFeatures from './fixtures/features.json' assert {type: 'json'}; // optional
const loco = new LocationConflation(myFeatures);

@@ -133,3 +133,2 @@ ```

* [stringify](#stringify)
* [cache](#cache)

@@ -264,3 +263,3 @@ &nbsp;

Get/set "strict mode". New instances of LocationConflation start out in strict mode by default.
Getter/setter for "strict mode". Current versions of LocationConflation start out in strict mode by default.

@@ -271,4 +270,4 @@ * In strict mode, any invalid location or locationSet throws an error.

```js
loco.strict(false); // pass a true/false value to set the strict mode
const isStrict = loco.strict(); // pass no value to return the current value
loco.strict = false; // setter: pass a true/false value to set the strict mode
const isStrict = loco.strict; // getter: return the current value
```

@@ -286,6 +285,2 @@

<a name="cache" href="#cache">#</a> <i>loco</i>.<b>cache</b>()
Convenience method to access the internal feature `_cache`. You probably shouldn't use it except for debugging.
&nbsp;

@@ -298,3 +293,3 @@

* [Node.js](https://nodejs.org/) version 16 or newer
* [Node.js](https://nodejs.org/) version 18 or newer
* [`git`](https://www.atlassian.com/git/tutorials/install-git/) for your platform

@@ -301,0 +296,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 too big to display

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