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

@turf/flip

Package Overview
Dependencies
Maintainers
4
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turf/flip - npm Package Compare versions

Comparing version 5.1.0 to 5.1.5

main.es.js

6

main.js

@@ -28,10 +28,10 @@ 'use strict';

options = options || {};
if (!helpers.isObject(options)) { throw new Error('options is invalid'); }
if (!helpers.isObject(options)) throw new Error('options is invalid');
var mutate = options.mutate;
if (!geojson) { throw new Error('geojson is required'); }
if (!geojson) throw new Error('geojson is required');
// ensure that we don't modify features in-place and changes to the
// output do not change the previous feature, including changes to nested
// properties.
if (mutate === false || mutate === undefined) { geojson = clone(geojson); }
if (mutate === false || mutate === undefined) geojson = clone(geojson);

@@ -38,0 +38,0 @@ meta.coordEach(geojson, function (coord) {

{
"name": "@turf/flip",
"version": "5.1.0",
"version": "5.1.5",
"description": "turf flip module",
"main": "main.js",
"module": "main.mjs",
"module": "main.es.js",
"types": "index.d.ts",

@@ -12,3 +12,3 @@ "files": [

"main.js",
"main.mjs"
"main.es.js"
],

@@ -18,2 +18,3 @@ "scripts": {

"test": "node -r @std/esm test.js",
"posttest": "node -r @std/esm ../../scripts/validate-es5-dependencies.js",
"bench": "node -r @std/esm bench.js",

@@ -43,3 +44,2 @@ "docs": "node ../../scripts/generate-readmes"

"rollup": "*",
"rollup-plugin-buble": "*",
"tape": "*",

@@ -49,5 +49,5 @@ "write-json-file": "*"

"dependencies": {
"@turf/clone": "^5.1.0",
"@turf/helpers": "^5.1.0",
"@turf/meta": "^5.1.0"
"@turf/clone": "^5.1.5",
"@turf/helpers": "^5.1.5",
"@turf/meta": "^5.1.5"
},

@@ -54,0 +54,0 @@ "@std/esm": {

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