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

@turf/meta

Package Overview
Dependencies
Maintainers
2
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turf/meta - npm Package Compare versions

Comparing version 3.7.3 to 3.7.5

10

index.js

@@ -12,3 +12,3 @@ /**

* var point = { type: 'Point', coordinates: [0, 0] };
* coordEach(point, function(coords) {
* turfMeta.coordEach(point, function(coords) {
* // coords is equal to [0, 0]

@@ -109,3 +109,3 @@ * });

* var point = { type: 'Feature', geometry: null, properties: { foo: 1 } };
* propEach(point, function(props) {
* turfMeta.propEach(point, function(props) {
* // props is equal to { foo: 1}

@@ -145,3 +145,3 @@ * });

* opts = opts || {}
* return propReduce(layer, function (prev, props) {
* return turfMeta.propReduce(layer, function (prev, props) {
* for (var prop in props) {

@@ -171,3 +171,3 @@ * if (prev[prop]) continue

* var feature = { type: 'Feature', geometry: null, properties: {} };
* featureEach(feature, function(feature) {
* turfMeta.featureEach(feature, function(feature) {
* // feature == feature

@@ -217,3 +217,3 @@ * });

* };
* geomEach(point, function(geom) {
* turfMeta.geomEach(point, function(geom) {
* // geom is the point geometry

@@ -220,0 +220,0 @@ * });

{
"name": "@turf/meta",
"version": "3.7.3",
"version": "3.7.5",
"description": "meta and functional programming helpers for turf modules",

@@ -18,3 +18,3 @@ "main": "index.js",

"tape": "^3.4.0",
"@turf/random": "^3.7.3"
"@turf/random": "^3.7.5"
},

@@ -21,0 +21,0 @@ "repository": {

@@ -19,3 +19,3 @@ # @turf/meta

var point = { type: 'Point', coordinates: [0, 0] };
coordEach(point, function(coords) {
turfMeta.coordEach(point, function(coords) {
// coords is equal to [0, 0]

@@ -56,3 +56,3 @@ });

var point = { type: 'Feature', geometry: null, properties: { foo: 1 } };
propEach(point, function(props) {
turfMeta.propEach(point, function(props) {
// props is equal to { foo: 1}

@@ -82,3 +82,3 @@ });

opts = opts || {}
return propReduce(layer, function (prev, props) {
return turfMeta.propReduce(layer, function (prev, props) {
for (var prop in props) {

@@ -108,3 +108,3 @@ if (prev[prop]) continue

var feature = { type: 'Feature', geometry: null, properties: {} };
featureEach(feature, function(feature) {
turfMeta.featureEach(feature, function(feature) {
// feature == feature

@@ -143,3 +143,3 @@ });

};
geomEach(point, function(geom) {
turfMeta.geomEach(point, function(geom) {
// geom is the point geometry

@@ -146,0 +146,0 @@ });

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