Comparing version 3.0.0 to 3.0.1
export { default as computeDestinationPoint } from './computeDestinationPoint'; | ||
export { default as convertSpeed } from './convertSpeed'; | ||
export { default as convertDistance } from './convertDistance'; | ||
export { default as convertArea } from './convertArea'; | ||
export { default as decimalToSexagesimal } from './decimalToSexagesimal'; | ||
export { default as findNearest } from './findNearest'; | ||
export { default as getAreaOfPolygon } from './getAreaOfPolygon'; | ||
export { default as getBounds } from './getBounds'; | ||
@@ -26,2 +29,3 @@ export { default as getBoundsOfDistance } from './getBoundsOfDistance'; | ||
export { default as isPointNearLine } from './isPointNearLine'; | ||
export { default as isPointWithinRadius } from './isPointWithinRadius'; | ||
export { default as isSexagesimal } from './isSexagesimal'; | ||
@@ -28,0 +32,0 @@ export { default as isValidCoordinate } from './isValidCoordinate'; |
@@ -1,1 +0,1 @@ | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"computeDestinationPoint",{enumerable:true,get:function get(){return _computeDestinationPoint.default}});Object.defineProperty(exports,"convertSpeed",{enumerable:true,get:function get(){return _convertSpeed.default}});Object.defineProperty(exports,"decimalToSexagesimal",{enumerable:true,get:function get(){return _decimalToSexagesimal.default}});Object.defineProperty(exports,"findNearest",{enumerable:true,get:function get(){return _findNearest.default}});Object.defineProperty(exports,"getBounds",{enumerable:true,get:function get(){return _getBounds.default}});Object.defineProperty(exports,"getBoundsOfDistance",{enumerable:true,get:function get(){return _getBoundsOfDistance.default}});Object.defineProperty(exports,"getCenter",{enumerable:true,get:function get(){return _getCenter.default}});Object.defineProperty(exports,"getCenterOfBounds",{enumerable:true,get:function get(){return _getCenterOfBounds.default}});Object.defineProperty(exports,"getCompassDirection",{enumerable:true,get:function get(){return _getCompassDirection.default}});Object.defineProperty(exports,"getCoordinateKey",{enumerable:true,get:function get(){return _getCoordinateKey.default}});Object.defineProperty(exports,"getCoordinateKeys",{enumerable:true,get:function get(){return _getCoordinateKeys.default}});Object.defineProperty(exports,"getDistance",{enumerable:true,get:function get(){return _getDistance.default}});Object.defineProperty(exports,"getDistanceFromLine",{enumerable:true,get:function get(){return _getDistanceFromLine.default}});Object.defineProperty(exports,"getGreatCircleBearing",{enumerable:true,get:function get(){return _getGreatCircleBearing.default}});Object.defineProperty(exports,"getLatitude",{enumerable:true,get:function get(){return _getLatitude.default}});Object.defineProperty(exports,"getLongitude",{enumerable:true,get:function get(){return _getLongitude.default}});Object.defineProperty(exports,"getPathLength",{enumerable:true,get:function get(){return _getPathLength.default}});Object.defineProperty(exports,"getPreciseDistance",{enumerable:true,get:function get(){return _getPreciseDistance.default}});Object.defineProperty(exports,"getRhumbLineBearing",{enumerable:true,get:function get(){return _getRhumbLineBearing.default}});Object.defineProperty(exports,"getRoughCompassDirection",{enumerable:true,get:function get(){return _getRoughCompassDirection.default}});Object.defineProperty(exports,"getSpeed",{enumerable:true,get:function get(){return _getSpeed.default}});Object.defineProperty(exports,"isDecimal",{enumerable:true,get:function get(){return _isDecimal.default}});Object.defineProperty(exports,"isPointInLine",{enumerable:true,get:function get(){return _isPointInLine.default}});Object.defineProperty(exports,"isPointInPolygon",{enumerable:true,get:function get(){return _isPointInPolygon.default}});Object.defineProperty(exports,"isPointNearLine",{enumerable:true,get:function get(){return _isPointNearLine.default}});Object.defineProperty(exports,"isSexagesimal",{enumerable:true,get:function get(){return _isSexagesimal.default}});Object.defineProperty(exports,"isValidCoordinate",{enumerable:true,get:function get(){return _isValidCoordinate.default}});Object.defineProperty(exports,"isValidLatitude",{enumerable:true,get:function get(){return _isValidLatitude.default}});Object.defineProperty(exports,"isValidLongitude",{enumerable:true,get:function get(){return _isValidLongitude.default}});Object.defineProperty(exports,"orderByDistance",{enumerable:true,get:function get(){return _orderByDistance.default}});Object.defineProperty(exports,"sexagesimalToDecimal",{enumerable:true,get:function get(){return _sexagesimalToDecimal.default}});Object.defineProperty(exports,"toDecimal",{enumerable:true,get:function get(){return _toDecimal.default}});Object.defineProperty(exports,"toRad",{enumerable:true,get:function get(){return _toRad.default}});Object.defineProperty(exports,"toDeg",{enumerable:true,get:function get(){return _toDeg.default}});var _computeDestinationPoint=_interopRequireDefault(require("./computeDestinationPoint"));var _convertSpeed=_interopRequireDefault(require("./convertSpeed"));var _decimalToSexagesimal=_interopRequireDefault(require("./decimalToSexagesimal"));var _findNearest=_interopRequireDefault(require("./findNearest"));var _getBounds=_interopRequireDefault(require("./getBounds"));var _getBoundsOfDistance=_interopRequireDefault(require("./getBoundsOfDistance"));var _getCenter=_interopRequireDefault(require("./getCenter"));var _getCenterOfBounds=_interopRequireDefault(require("./getCenterOfBounds"));var _getCompassDirection=_interopRequireDefault(require("./getCompassDirection"));var _getCoordinateKey=_interopRequireDefault(require("./getCoordinateKey"));var _getCoordinateKeys=_interopRequireDefault(require("./getCoordinateKeys"));var _getDistance=_interopRequireDefault(require("./getDistance"));var _getDistanceFromLine=_interopRequireDefault(require("./getDistanceFromLine"));var _getGreatCircleBearing=_interopRequireDefault(require("./getGreatCircleBearing"));var _getLatitude=_interopRequireDefault(require("./getLatitude"));var _getLongitude=_interopRequireDefault(require("./getLongitude"));var _getPathLength=_interopRequireDefault(require("./getPathLength"));var _getPreciseDistance=_interopRequireDefault(require("./getPreciseDistance"));var _getRhumbLineBearing=_interopRequireDefault(require("./getRhumbLineBearing"));var _getRoughCompassDirection=_interopRequireDefault(require("./getRoughCompassDirection"));var _getSpeed=_interopRequireDefault(require("./getSpeed"));var _isDecimal=_interopRequireDefault(require("./isDecimal"));var _isPointInLine=_interopRequireDefault(require("./isPointInLine"));var _isPointInPolygon=_interopRequireDefault(require("./isPointInPolygon"));var _isPointNearLine=_interopRequireDefault(require("./isPointNearLine"));var _isSexagesimal=_interopRequireDefault(require("./isSexagesimal"));var _isValidCoordinate=_interopRequireDefault(require("./isValidCoordinate"));var _isValidLatitude=_interopRequireDefault(require("./isValidLatitude"));var _isValidLongitude=_interopRequireDefault(require("./isValidLongitude"));var _orderByDistance=_interopRequireDefault(require("./orderByDistance"));var _sexagesimalToDecimal=_interopRequireDefault(require("./sexagesimalToDecimal"));var _toDecimal=_interopRequireDefault(require("./toDecimal"));var _toRad=_interopRequireDefault(require("./toRad"));var _toDeg=_interopRequireDefault(require("./toDeg"));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}} | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"computeDestinationPoint",{enumerable:true,get:function get(){return _computeDestinationPoint.default}});Object.defineProperty(exports,"convertSpeed",{enumerable:true,get:function get(){return _convertSpeed.default}});Object.defineProperty(exports,"convertDistance",{enumerable:true,get:function get(){return _convertDistance.default}});Object.defineProperty(exports,"convertArea",{enumerable:true,get:function get(){return _convertArea.default}});Object.defineProperty(exports,"decimalToSexagesimal",{enumerable:true,get:function get(){return _decimalToSexagesimal.default}});Object.defineProperty(exports,"findNearest",{enumerable:true,get:function get(){return _findNearest.default}});Object.defineProperty(exports,"getAreaOfPolygon",{enumerable:true,get:function get(){return _getAreaOfPolygon.default}});Object.defineProperty(exports,"getBounds",{enumerable:true,get:function get(){return _getBounds.default}});Object.defineProperty(exports,"getBoundsOfDistance",{enumerable:true,get:function get(){return _getBoundsOfDistance.default}});Object.defineProperty(exports,"getCenter",{enumerable:true,get:function get(){return _getCenter.default}});Object.defineProperty(exports,"getCenterOfBounds",{enumerable:true,get:function get(){return _getCenterOfBounds.default}});Object.defineProperty(exports,"getCompassDirection",{enumerable:true,get:function get(){return _getCompassDirection.default}});Object.defineProperty(exports,"getCoordinateKey",{enumerable:true,get:function get(){return _getCoordinateKey.default}});Object.defineProperty(exports,"getCoordinateKeys",{enumerable:true,get:function get(){return _getCoordinateKeys.default}});Object.defineProperty(exports,"getDistance",{enumerable:true,get:function get(){return _getDistance.default}});Object.defineProperty(exports,"getDistanceFromLine",{enumerable:true,get:function get(){return _getDistanceFromLine.default}});Object.defineProperty(exports,"getGreatCircleBearing",{enumerable:true,get:function get(){return _getGreatCircleBearing.default}});Object.defineProperty(exports,"getLatitude",{enumerable:true,get:function get(){return _getLatitude.default}});Object.defineProperty(exports,"getLongitude",{enumerable:true,get:function get(){return _getLongitude.default}});Object.defineProperty(exports,"getPathLength",{enumerable:true,get:function get(){return _getPathLength.default}});Object.defineProperty(exports,"getPreciseDistance",{enumerable:true,get:function get(){return _getPreciseDistance.default}});Object.defineProperty(exports,"getRhumbLineBearing",{enumerable:true,get:function get(){return _getRhumbLineBearing.default}});Object.defineProperty(exports,"getRoughCompassDirection",{enumerable:true,get:function get(){return _getRoughCompassDirection.default}});Object.defineProperty(exports,"getSpeed",{enumerable:true,get:function get(){return _getSpeed.default}});Object.defineProperty(exports,"isDecimal",{enumerable:true,get:function get(){return _isDecimal.default}});Object.defineProperty(exports,"isPointInLine",{enumerable:true,get:function get(){return _isPointInLine.default}});Object.defineProperty(exports,"isPointInPolygon",{enumerable:true,get:function get(){return _isPointInPolygon.default}});Object.defineProperty(exports,"isPointNearLine",{enumerable:true,get:function get(){return _isPointNearLine.default}});Object.defineProperty(exports,"isPointWithinRadius",{enumerable:true,get:function get(){return _isPointWithinRadius.default}});Object.defineProperty(exports,"isSexagesimal",{enumerable:true,get:function get(){return _isSexagesimal.default}});Object.defineProperty(exports,"isValidCoordinate",{enumerable:true,get:function get(){return _isValidCoordinate.default}});Object.defineProperty(exports,"isValidLatitude",{enumerable:true,get:function get(){return _isValidLatitude.default}});Object.defineProperty(exports,"isValidLongitude",{enumerable:true,get:function get(){return _isValidLongitude.default}});Object.defineProperty(exports,"orderByDistance",{enumerable:true,get:function get(){return _orderByDistance.default}});Object.defineProperty(exports,"sexagesimalToDecimal",{enumerable:true,get:function get(){return _sexagesimalToDecimal.default}});Object.defineProperty(exports,"toDecimal",{enumerable:true,get:function get(){return _toDecimal.default}});Object.defineProperty(exports,"toRad",{enumerable:true,get:function get(){return _toRad.default}});Object.defineProperty(exports,"toDeg",{enumerable:true,get:function get(){return _toDeg.default}});var _computeDestinationPoint=_interopRequireDefault(require("./computeDestinationPoint"));var _convertSpeed=_interopRequireDefault(require("./convertSpeed"));var _convertDistance=_interopRequireDefault(require("./convertDistance"));var _convertArea=_interopRequireDefault(require("./convertArea"));var _decimalToSexagesimal=_interopRequireDefault(require("./decimalToSexagesimal"));var _findNearest=_interopRequireDefault(require("./findNearest"));var _getAreaOfPolygon=_interopRequireDefault(require("./getAreaOfPolygon"));var _getBounds=_interopRequireDefault(require("./getBounds"));var _getBoundsOfDistance=_interopRequireDefault(require("./getBoundsOfDistance"));var _getCenter=_interopRequireDefault(require("./getCenter"));var _getCenterOfBounds=_interopRequireDefault(require("./getCenterOfBounds"));var _getCompassDirection=_interopRequireDefault(require("./getCompassDirection"));var _getCoordinateKey=_interopRequireDefault(require("./getCoordinateKey"));var _getCoordinateKeys=_interopRequireDefault(require("./getCoordinateKeys"));var _getDistance=_interopRequireDefault(require("./getDistance"));var _getDistanceFromLine=_interopRequireDefault(require("./getDistanceFromLine"));var _getGreatCircleBearing=_interopRequireDefault(require("./getGreatCircleBearing"));var _getLatitude=_interopRequireDefault(require("./getLatitude"));var _getLongitude=_interopRequireDefault(require("./getLongitude"));var _getPathLength=_interopRequireDefault(require("./getPathLength"));var _getPreciseDistance=_interopRequireDefault(require("./getPreciseDistance"));var _getRhumbLineBearing=_interopRequireDefault(require("./getRhumbLineBearing"));var _getRoughCompassDirection=_interopRequireDefault(require("./getRoughCompassDirection"));var _getSpeed=_interopRequireDefault(require("./getSpeed"));var _isDecimal=_interopRequireDefault(require("./isDecimal"));var _isPointInLine=_interopRequireDefault(require("./isPointInLine"));var _isPointInPolygon=_interopRequireDefault(require("./isPointInPolygon"));var _isPointNearLine=_interopRequireDefault(require("./isPointNearLine"));var _isPointWithinRadius=_interopRequireDefault(require("./isPointWithinRadius"));var _isSexagesimal=_interopRequireDefault(require("./isSexagesimal"));var _isValidCoordinate=_interopRequireDefault(require("./isValidCoordinate"));var _isValidLatitude=_interopRequireDefault(require("./isValidLatitude"));var _isValidLongitude=_interopRequireDefault(require("./isValidLongitude"));var _orderByDistance=_interopRequireDefault(require("./orderByDistance"));var _sexagesimalToDecimal=_interopRequireDefault(require("./sexagesimalToDecimal"));var _toDecimal=_interopRequireDefault(require("./toDecimal"));var _toRad=_interopRequireDefault(require("./toRad"));var _toDeg=_interopRequireDefault(require("./toDeg"));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}} |
@@ -1,1 +0,1 @@ | ||
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.geolib=n():t.geolib=n()}("undefined"!=typeof self?self:this,function(){return function(t){var n={};function r(e){if(n[e])return n[e].exports;var a=n[e]={i:e,l:!1,exports:{}};return t[e].call(a.exports,a,a.exports,r),a.l=!0,a.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var a in t)r.d(e,a,function(n){return t[n]}.bind(null,a));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=0)}([function(t,n,r){"use strict";r.r(n);var e=/^([0-9]{1,3})°\s*([0-9]{1,3}(?:\.(?:[0-9]{1,}))?)['′]\s*(([0-9]{1,3}(\.([0-9]{1,}))?)["″]\s*)?([NEOSW]?)$/,a=["lng","lon","longitude",0],i=["lat","latitude",1],o=["alt","altitude","elevation","elev",2],u=.001,c=1/1609.344,f=3600,s={m2:1,km2:1e-6,ha:1e-4,a:.01,ft2:10.763911,yd2:1.19599,in2:1550.0031};s.sqm=s.m2,s.sqkm=s.km2,s.sqft=s.ft2,s.sqyd=s.yd2,s.sqin=s.in2;var l=function(t,n){return n.reduce(function(n,r){return t.hasOwnProperty(r)&&void 0!==r&&void 0===n?(n=r,r):n},void 0)},d=function(t){var n=t.toString().trim();return!isNaN(parseFloat(n))&&parseFloat(n)===Number(n)},h=function(t){return e.test(t.toString().trim())},g=function(t){var n=new RegExp(e).exec(t);if(null==n)throw new Error("Given value is not in sexagesimal format");var r=Number(n[2])/60||0,a=Number(n[4])/3600||0,i=parseFloat(n[1])+r+a;return["S","W"].includes(n[7])?-i:i};function m(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}var M=function(t){var n=l(t,a),r=l(t,i),e=l(t,o);return function(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{},e=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(e=e.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),e.forEach(function(n){m(t,n,r[n])})}return t}({latitude:r,longitude:n},e?{altitude:e}:{})},v=function t(n){return d(n)?!(parseFloat(n)>90||n<-90):!!h(n)&&t(g(n))},p=function t(n){return d(n)?!(parseFloat(n)>180||n<-180):!!h(n)&&t(g(n))},y=function(t){var n=M(t),r=n.latitude,e=n.longitude;if(Array.isArray(t)&&t.length>=2)return p(t[0])&&v(t[1]);if(void 0===r||void 0===e)return!1;var a=t[e],i=t[r];return void 0!==i&&void 0!==a&&!1!==v(i)&&!1!==p(a)};function b(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}var S=function t(n){if(d(n))return Number(n);if(h(n))return g(n);if(y(n)){var r=M(n);return Array.isArray(n)?n.map(function(n,r){return[0,1].includes(r)?t(n):n}):function(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{},e=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(e=e.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),e.forEach(function(n){b(t,n,r[n])})}return t}({},n,r.latitude&&b({},r.latitude,t(n[r.latitude])),r.longitude&&b({},r.longitude,t(n[r.longitude])))}return Array.isArray(n)?n.map(function(n){return y(n)?t(n):n}):n},N=function(t,n){var r=l(t,i);if(null!=r){var e=t[r];return!0===n?e:S(e)}},P=function(t,n){var r=l(t,a);if(null!=r){var e=t[r];return!0===n?e:S(e)}},x=function(t){return t*Math.PI/180},E=function(t){return 180*t/Math.PI},L=function(t,n,r){var e=arguments.length>3&&void 0!==arguments[3]?arguments[3]:6371e3,a=N(t),i=P(t),o=n/e,u=x(r),c=x(a),f=x(i),s=Math.asin(Math.sin(c)*Math.cos(o)+Math.cos(c)*Math.sin(o)*Math.cos(u)),l=f+Math.atan2(Math.sin(u)*Math.sin(o)*Math.cos(c),Math.cos(o)-Math.sin(c)*Math.sin(s)),d=E(l);return(d<-180||d>180)&&(l=(l+3*Math.PI)%(2*Math.PI)-Math.PI,d=E(l)),{latitude:E(s),longitude:d}},O=function(t){switch(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"kmh"){case"kmh":return t*f*u;case"mph":return t*f*c;default:return t}};function w(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var r=[],e=!0,a=!1,i=void 0;try{for(var o,u=t[Symbol.iterator]();!(e=(o=u.next()).done)&&(r.push(o.value),!n||r.length!==n);e=!0);}catch(t){a=!0,i=t}finally{try{e||null==u.return||u.return()}finally{if(a)throw i}}return r}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var j=function(t){var n=Math.pow(10,12);return Math.round(t*n)/n},W=function(t){var n=w(t.toString().split("."),2),r=n[0],e=n[1],a=Math.abs(Number(r)),i=j(60*Number("0."+(e||0))),o=Math.floor(i),u=j(60*(i%o||0));return a+"° "+Number(o.toFixed(6)).toString().split(".").map(function(t,n){return 0===n?t.padStart(2,"0"):t}).join(".")+"' "+Number(u.toFixed(4)).toString().split(".").map(function(t,n){return 0===n?t.padStart(2,"0"):t}).join(".")+'"'},I=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;r=void 0===r||isNaN(r)?1:r;var e=N(t),a=P(t),i=N(n),o=P(n),u=6378137*Math.acos(Math.sin(x(i))*Math.sin(x(e))+Math.cos(x(i))*Math.cos(x(e))*Math.cos(x(a)-x(o)));return Math.round(u/r)*r},D=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:I;return r="function"==typeof r?r:I,n.slice().sort(function(n,e){return r(t,n)-r(t,e)})},F=function(t,n){return D(t,n)[0]},A=function(t){if(!1===Array.isArray(t)||0===t.length)throw new Error("No points were given.");return t.reduce(function(t,n){var r=N(n),e=P(n);return{maxLat:Math.max(r,t.maxLat),minLat:Math.min(r,t.minLat),maxLng:Math.max(e,t.maxLng),minLng:Math.min(e,t.minLng)}},{maxLat:-1/0,minLat:1/0,maxLng:-1/0,minLng:1/0})},C=function(t,n){var r,e,a=N(t),i=P(t),o=x(a),u=x(i),c=n/6378137,f=o-c,s=o+c,l=x(90),d=x(-90),h=x(180),g=x(-180);if(f>d&&s<l){var m=Math.asin(Math.sin(c)/Math.cos(o));(r=u-m)<g&&(r+=2*Math.PI),(e=u+m)>h&&(e-=2*Math.PI)}else f=Math.max(f,d),s=Math.min(s,l),r=g,e=h;return[{latitude:E(f),longitude:E(r)},{latitude:E(s),longitude:E(e)}]},k=function(t){if(!1===Array.isArray(t)||0===t.length)return!1;var n=t.length,r=t.reduce(function(t,n){var r=x(N(n)),e=x(P(n));return{X:t.X+Math.cos(r)*Math.cos(e),Y:t.Y+Math.cos(r)*Math.sin(e),Z:t.Z+Math.sin(r)}},{X:0,Y:0,Z:0}),e=r.X/n,a=r.Y/n,i=r.Z/n;return{longitude:E(Math.atan2(a,e)),latitude:E(Math.atan2(i,Math.sqrt(e*e+a*a)))}},q=function(t){var n=A(t),r=n.minLat+(n.maxLat-n.minLat)/2,e=n.minLng+(n.maxLng-n.minLng)/2;return{latitude:parseFloat(r.toFixed(6)),longitude:parseFloat(e.toFixed(6))}},B=function(t,n){var r=x(P(n))-x(P(t)),e=Math.log(Math.tan(x(N(n))/2+Math.PI/4)/Math.tan(x(N(t))/2+Math.PI/4));return Math.abs(r)>Math.PI&&(r=r>0?-1*(2*Math.PI-r):2*Math.PI+r),(E(Math.atan2(r,e))+360)%360},_=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:B,e="function"==typeof r?r(t,n):B(t,n);if(isNaN(e))throw new Error("Could not calculate bearing for given points. Check your bearing function");switch(Math.round(e/22.5)){case 1:return"NNE";case 2:return"NE";case 3:return"ENE";case 4:return"E";case 5:return"ESE";case 6:return"SE";case 7:return"SSE";case 8:return"S";case 9:return"SSW";case 10:return"SW";case 11:return"WSW";case 12:return"W";case 13:return"WNW";case 14:return"NW";case 15:return"NNW";default:return"N"}},T=function(t,n,r){var e=I(n,t),a=I(t,r),i=I(n,r),o=Math.acos((e*e+i*i-a*a)/(2*e*i)),u=Math.acos((a*a+i*i-e*e)/(2*a*i));return o>Math.PI/2?e:u>Math.PI/2?a:Math.sin(o)*e},$=function(t,n){var r=N(n),e=P(n),a=N(t),i=P(t);return(E(Math.atan2(Math.sin(x(e)-x(i))*Math.cos(x(r)),Math.cos(x(a))*Math.sin(x(r))-Math.sin(x(a))*Math.cos(x(r))*Math.cos(x(e)-x(i))))+360)%360};function R(t){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var X=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:I;return t.reduce(function(t,r){return"object"===R(t)&&null!==t.last&&(t.distance+=n(r,t.last)),t.last=r,t},{last:null,distance:0}).distance},Y=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;r=void 0===r||isNaN(r)?1:r;var e,a,i,o,u,c,f,s=N(t),l=P(t),d=N(n),h=P(n),g=6356752.314245,m=x(h-l),M=Math.atan(.9966471893352525*Math.tan(x(parseFloat(s)))),v=Math.atan(.9966471893352525*Math.tan(x(parseFloat(d)))),p=Math.sin(M),y=Math.cos(M),b=Math.sin(v),S=Math.cos(v),E=m,L=100;do{var O=Math.sin(E),w=Math.cos(E);if(0===(c=Math.sqrt(S*O*(S*O)+(y*b-p*S*w)*(y*b-p*S*w))))return 0;e=p*b+y*S*w,a=Math.atan2(c,e),u=e-2*p*b/(o=1-(i=y*S*O/c)*i),isNaN(u)&&(u=0);var j=1/298.257223563/16*o*(4+1/298.257223563*(4-3*o));f=E,E=m+1/298.257223563*(1-j)*i*(a+j*c*(u+j*e*(2*u*u-1)))}while(Math.abs(E-f)>1e-12&&--L>0);if(0===L)return NaN;var W=272331606109.84375*o/(g*g),I=W/1024*(256+W*(W*(74-47*W)-128)),D=g*(1+W/16384*(4096+W*(W*(320-175*W)-768)))*(a-I*c*(u+I/4*(e*(2*u*u-1)-I/6*u*(4*c*c-3)*(4*u*u-3))));return Math.round(D/r)*r},Z=function(t){return/^NNE|NE|NNW|N$/.test(t)?"N":/^ENE|E|ESE|SE$/.test(t)?"E":/^SSE|S|SSW|SW$/.test(t)?"S":/^WSW|W|WNW|NW$/.test(t)?"W":void 0},V=function(t,n){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:I)(t,n)/(Number(n.time)-Number(t.time))*1e3},G=function(t,n,r){return I(n,t)+I(t,r)===I(n,r)},K=function(t,n){for(var r=!1,e=n.length,a=-1,i=e-1;++a<e;i=a)(P(n[a])<=P(t)&&P(t)<P(n[i])||P(n[i])<=P(t)&&P(t)<P(n[a]))&&N(t)<(N(n[i])-N(n[a]))*(P(t)-P(n[a]))/(P(n[i])-P(n[a]))+N(n[a])&&(r=!r);return r},z=function(t,n,r,e){return T(t,n,r)<e};r.d(n,"computeDestinationPoint",function(){return L}),r.d(n,"convertSpeed",function(){return O}),r.d(n,"decimalToSexagesimal",function(){return W}),r.d(n,"findNearest",function(){return F}),r.d(n,"getBounds",function(){return A}),r.d(n,"getBoundsOfDistance",function(){return C}),r.d(n,"getCenter",function(){return k}),r.d(n,"getCenterOfBounds",function(){return q}),r.d(n,"getCompassDirection",function(){return _}),r.d(n,"getCoordinateKey",function(){return l}),r.d(n,"getCoordinateKeys",function(){return M}),r.d(n,"getDistance",function(){return I}),r.d(n,"getDistanceFromLine",function(){return T}),r.d(n,"getGreatCircleBearing",function(){return $}),r.d(n,"getLatitude",function(){return N}),r.d(n,"getLongitude",function(){return P}),r.d(n,"getPathLength",function(){return X}),r.d(n,"getPreciseDistance",function(){return Y}),r.d(n,"getRhumbLineBearing",function(){return B}),r.d(n,"getRoughCompassDirection",function(){return Z}),r.d(n,"getSpeed",function(){return V}),r.d(n,"isDecimal",function(){return d}),r.d(n,"isPointInLine",function(){return G}),r.d(n,"isPointInPolygon",function(){return K}),r.d(n,"isPointNearLine",function(){return z}),r.d(n,"isSexagesimal",function(){return h}),r.d(n,"isValidCoordinate",function(){return y}),r.d(n,"isValidLatitude",function(){return v}),r.d(n,"isValidLongitude",function(){return p}),r.d(n,"orderByDistance",function(){return D}),r.d(n,"sexagesimalToDecimal",function(){return g}),r.d(n,"toDecimal",function(){return S}),r.d(n,"toRad",function(){return x}),r.d(n,"toDeg",function(){return E})}])}); | ||
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.geolib=n():t.geolib=n()}("undefined"!=typeof self?self:this,function(){return function(t){var n={};function r(e){if(n[e])return n[e].exports;var i=n[e]={i:e,l:!1,exports:{}};return t[e].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var i in t)r.d(e,i,function(n){return t[n]}.bind(null,i));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=0)}([function(t,n,r){"use strict";r.r(n);var e=/^([0-9]{1,3})°\s*([0-9]{1,3}(?:\.(?:[0-9]{1,}))?)['′]\s*(([0-9]{1,3}(\.([0-9]{1,}))?)["″]\s*)?([NEOSW]?)$/,i=["lng","lon","longitude",0],a=["lat","latitude",1],o=["alt","altitude","elevation","elev",2],u={m:1,km:.001,cm:100,mm:1e3,mi:1/1609.344,sm:1/1852.216,ft:100/30.48,in:100/2.54,yd:1/.9144},c=3600,f={m2:1,km2:1e-6,ha:1e-4,a:.01,ft2:10.763911,yd2:1.19599,in2:1550.0031};f.sqm=f.m2,f.sqkm=f.km2,f.sqft=f.ft2,f.sqyd=f.yd2,f.sqin=f.in2;var s=function(t,n){return n.reduce(function(n,r){return t.hasOwnProperty(r)&&void 0!==r&&void 0===n?(n=r,r):n},void 0)},l=function(t){var n=t.toString().trim();return!isNaN(parseFloat(n))&&parseFloat(n)===Number(n)},d=function(t){return e.test(t.toString().trim())},h=function(t){var n=new RegExp(e).exec(t);if(null==n)throw new Error("Given value is not in sexagesimal format");var r=Number(n[2])/60||0,i=Number(n[4])/3600||0,a=parseFloat(n[1])+r+i;return["S","W"].includes(n[7])?-a:a};function g(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}var m=function(t){var n=s(t,i),r=s(t,a),e=s(t,o);return function(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{},e=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(e=e.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),e.forEach(function(n){g(t,n,r[n])})}return t}({latitude:r,longitude:n},e?{altitude:e}:{})},v=function t(n){return l(n)?!(parseFloat(n)>90||n<-90):!!d(n)&&t(h(n))},M=function t(n){return l(n)?!(parseFloat(n)>180||n<-180):!!d(n)&&t(h(n))},p=function(t){var n=m(t),r=n.latitude,e=n.longitude;if(Array.isArray(t)&&t.length>=2)return M(t[0])&&v(t[1]);if(void 0===r||void 0===e)return!1;var i=t[e],a=t[r];return void 0!==a&&void 0!==i&&!1!==v(a)&&!1!==M(i)};function y(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}var b=function t(n){if(l(n))return Number(n);if(d(n))return h(n);if(p(n)){var r=m(n);return Array.isArray(n)?n.map(function(n,r){return[0,1].includes(r)?t(n):n}):function(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{},e=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(e=e.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),e.forEach(function(n){y(t,n,r[n])})}return t}({},n,r.latitude&&y({},r.latitude,t(n[r.latitude])),r.longitude&&y({},r.longitude,t(n[r.longitude])))}return Array.isArray(n)?n.map(function(n){return p(n)?t(n):n}):n},S=function(t,n){var r=s(t,a);if(null!=r){var e=t[r];return!0===n?e:b(e)}},N=function(t,n){var r=s(t,i);if(null!=r){var e=t[r];return!0===n?e:b(e)}},P=function(t){return t*Math.PI/180},x=function(t){return 180*t/Math.PI},w=function(t,n,r){var e=arguments.length>3&&void 0!==arguments[3]?arguments[3]:6371e3,i=S(t),a=N(t),o=n/e,u=P(r),c=P(i),f=P(a),s=Math.asin(Math.sin(c)*Math.cos(o)+Math.cos(c)*Math.sin(o)*Math.cos(u)),l=f+Math.atan2(Math.sin(u)*Math.sin(o)*Math.cos(c),Math.cos(o)-Math.sin(c)*Math.sin(s)),d=x(l);return(d<-180||d>180)&&(l=(l+3*Math.PI)%(2*Math.PI)-Math.PI,d=x(l)),{latitude:x(s),longitude:d}},E=function(t){switch(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"kmh"){case"kmh":return t*c*u.km;case"mph":return t*c*u.mi;default:return t}},O=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"m",r=u[n];if(r)return t*r;throw new Error("Invalid unit used for distance conversion.")},L=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"m",r=f[n];if(r)return t*r;throw new Error("Invalid unit used for area conversion.")};function j(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var r=[],e=!0,i=!1,a=void 0;try{for(var o,u=t[Symbol.iterator]();!(e=(o=u.next()).done)&&(r.push(o.value),!n||r.length!==n);e=!0);}catch(t){i=!0,a=t}finally{try{e||null==u.return||u.return()}finally{if(i)throw a}}return r}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var W=function(t){var n=Math.pow(10,12);return Math.round(t*n)/n},I=function(t){var n=j(t.toString().split("."),2),r=n[0],e=n[1],i=Math.abs(Number(r)),a=W(60*Number("0."+(e||0))),o=Math.floor(a),u=W(60*(a%o||0));return i+"° "+Number(o.toFixed(6)).toString().split(".").map(function(t,n){return 0===n?t.padStart(2,"0"):t}).join(".")+"' "+Number(u.toFixed(4)).toString().split(".").map(function(t,n){return 0===n?t.padStart(2,"0"):t}).join(".")+'"'},D=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;r=void 0===r||isNaN(r)?1:r;var e=S(t),i=N(t),a=S(n),o=N(n),u=6378137*Math.acos(Math.sin(P(a))*Math.sin(P(e))+Math.cos(P(a))*Math.cos(P(e))*Math.cos(P(i)-P(o)));return Math.round(u/r)*r},A=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:D;return r="function"==typeof r?r:D,n.slice().sort(function(n,e){return r(t,n)-r(t,e)})},F=function(t,n){return A(t,n)[0]},k=function(t){var n=0;if(t.length>2){for(var r,e,i,a=0;a<t.length;a++){a===t.length-2?(r=t.length-2,e=t.length-1,i=0):a===t.length-1?(r=t.length-1,e=0,i=1):(r=a,e=a+1,i=a+2);var o=N(t[r]),u=S(t[e]),c=N(t[i]);n+=(P(c)-P(o))*Math.sin(P(u))}n=6378137*n*6378137/2}return Math.abs(n)},C=function(t){if(!1===Array.isArray(t)||0===t.length)throw new Error("No points were given.");return t.reduce(function(t,n){var r=S(n),e=N(n);return{maxLat:Math.max(r,t.maxLat),minLat:Math.min(r,t.minLat),maxLng:Math.max(e,t.maxLng),minLng:Math.min(e,t.minLng)}},{maxLat:-1/0,minLat:1/0,maxLng:-1/0,minLng:1/0})},q=function(t,n){var r,e,i=S(t),a=N(t),o=P(i),u=P(a),c=n/6378137,f=o-c,s=o+c,l=P(90),d=P(-90),h=P(180),g=P(-180);if(f>d&&s<l){var m=Math.asin(Math.sin(c)/Math.cos(o));(r=u-m)<g&&(r+=2*Math.PI),(e=u+m)>h&&(e-=2*Math.PI)}else f=Math.max(f,d),s=Math.min(s,l),r=g,e=h;return[{latitude:x(f),longitude:x(r)},{latitude:x(s),longitude:x(e)}]},B=function(t){if(!1===Array.isArray(t)||0===t.length)return!1;var n=t.length,r=t.reduce(function(t,n){var r=P(S(n)),e=P(N(n));return{X:t.X+Math.cos(r)*Math.cos(e),Y:t.Y+Math.cos(r)*Math.sin(e),Z:t.Z+Math.sin(r)}},{X:0,Y:0,Z:0}),e=r.X/n,i=r.Y/n,a=r.Z/n;return{longitude:x(Math.atan2(i,e)),latitude:x(Math.atan2(a,Math.sqrt(e*e+i*i)))}},_=function(t){var n=C(t),r=n.minLat+(n.maxLat-n.minLat)/2,e=n.minLng+(n.maxLng-n.minLng)/2;return{latitude:parseFloat(r.toFixed(6)),longitude:parseFloat(e.toFixed(6))}},R=function(t,n){var r=P(N(n))-P(N(t)),e=Math.log(Math.tan(P(S(n))/2+Math.PI/4)/Math.tan(P(S(t))/2+Math.PI/4));return Math.abs(r)>Math.PI&&(r=r>0?-1*(2*Math.PI-r):2*Math.PI+r),(x(Math.atan2(r,e))+360)%360},T=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:R,e="function"==typeof r?r(t,n):R(t,n);if(isNaN(e))throw new Error("Could not calculate bearing for given points. Check your bearing function");switch(Math.round(e/22.5)){case 1:return"NNE";case 2:return"NE";case 3:return"ENE";case 4:return"E";case 5:return"ESE";case 6:return"SE";case 7:return"SSE";case 8:return"S";case 9:return"SSW";case 10:return"SW";case 11:return"WSW";case 12:return"W";case 13:return"WNW";case 14:return"NW";case 15:return"NNW";default:return"N"}},$=function(t,n,r){var e=D(n,t),i=D(t,r),a=D(n,r),o=Math.acos((e*e+a*a-i*i)/(2*e*a)),u=Math.acos((i*i+a*a-e*e)/(2*i*a));return o>Math.PI/2?e:u>Math.PI/2?i:Math.sin(o)*e},X=function(t,n){var r=S(n),e=N(n),i=S(t),a=N(t);return(x(Math.atan2(Math.sin(P(e)-P(a))*Math.cos(P(r)),Math.cos(P(i))*Math.sin(P(r))-Math.sin(P(i))*Math.cos(P(r))*Math.cos(P(e)-P(a))))+360)%360};function Y(t){return(Y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var Z=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:D;return t.reduce(function(t,r){return"object"===Y(t)&&null!==t.last&&(t.distance+=n(r,t.last)),t.last=r,t},{last:null,distance:0}).distance},V=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;r=void 0===r||isNaN(r)?1:r;var e,i,a,o,u,c,f,s=S(t),l=N(t),d=S(n),h=N(n),g=6356752.314245,m=P(h-l),v=Math.atan(.9966471893352525*Math.tan(P(parseFloat(s)))),M=Math.atan(.9966471893352525*Math.tan(P(parseFloat(d)))),p=Math.sin(v),y=Math.cos(v),b=Math.sin(M),x=Math.cos(M),w=m,E=100;do{var O=Math.sin(w),L=Math.cos(w);if(0===(c=Math.sqrt(x*O*(x*O)+(y*b-p*x*L)*(y*b-p*x*L))))return 0;e=p*b+y*x*L,i=Math.atan2(c,e),u=e-2*p*b/(o=1-(a=y*x*O/c)*a),isNaN(u)&&(u=0);var j=1/298.257223563/16*o*(4+1/298.257223563*(4-3*o));f=w,w=m+1/298.257223563*(1-j)*a*(i+j*c*(u+j*e*(2*u*u-1)))}while(Math.abs(w-f)>1e-12&&--E>0);if(0===E)return NaN;var W=272331606109.84375*o/(g*g),I=W/1024*(256+W*(W*(74-47*W)-128)),D=g*(1+W/16384*(4096+W*(W*(320-175*W)-768)))*(i-I*c*(u+I/4*(e*(2*u*u-1)-I/6*u*(4*c*c-3)*(4*u*u-3))));return Math.round(D/r)*r},G=function(t){return/^NNE|NE|NNW|N$/.test(t)?"N":/^ENE|E|ESE|SE$/.test(t)?"E":/^SSE|S|SSW|SW$/.test(t)?"S":/^WSW|W|WNW|NW$/.test(t)?"W":void 0},K=function(t,n){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:D)(t,n)/(Number(n.time)-Number(t.time))*1e3},z=function(t,n,r){return D(n,t)+D(t,r)===D(n,r)},H=function(t,n){for(var r=!1,e=n.length,i=-1,a=e-1;++i<e;a=i)(N(n[i])<=N(t)&&N(t)<N(n[a])||N(n[a])<=N(t)&&N(t)<N(n[i]))&&S(t)<(S(n[a])-S(n[i]))*(N(t)-N(n[i]))/(N(n[a])-N(n[i]))+S(n[i])&&(r=!r);return r},J=function(t,n,r,e){return $(t,n,r)<e},Q=function(t,n,r){return D(t,n)<r};r.d(n,"computeDestinationPoint",function(){return w}),r.d(n,"convertSpeed",function(){return E}),r.d(n,"convertDistance",function(){return O}),r.d(n,"convertArea",function(){return L}),r.d(n,"decimalToSexagesimal",function(){return I}),r.d(n,"findNearest",function(){return F}),r.d(n,"getAreaOfPolygon",function(){return k}),r.d(n,"getBounds",function(){return C}),r.d(n,"getBoundsOfDistance",function(){return q}),r.d(n,"getCenter",function(){return B}),r.d(n,"getCenterOfBounds",function(){return _}),r.d(n,"getCompassDirection",function(){return T}),r.d(n,"getCoordinateKey",function(){return s}),r.d(n,"getCoordinateKeys",function(){return m}),r.d(n,"getDistance",function(){return D}),r.d(n,"getDistanceFromLine",function(){return $}),r.d(n,"getGreatCircleBearing",function(){return X}),r.d(n,"getLatitude",function(){return S}),r.d(n,"getLongitude",function(){return N}),r.d(n,"getPathLength",function(){return Z}),r.d(n,"getPreciseDistance",function(){return V}),r.d(n,"getRhumbLineBearing",function(){return R}),r.d(n,"getRoughCompassDirection",function(){return G}),r.d(n,"getSpeed",function(){return K}),r.d(n,"isDecimal",function(){return l}),r.d(n,"isPointInLine",function(){return z}),r.d(n,"isPointInPolygon",function(){return H}),r.d(n,"isPointNearLine",function(){return J}),r.d(n,"isPointWithinRadius",function(){return Q}),r.d(n,"isSexagesimal",function(){return d}),r.d(n,"isValidCoordinate",function(){return p}),r.d(n,"isValidLatitude",function(){return v}),r.d(n,"isValidLongitude",function(){return M}),r.d(n,"orderByDistance",function(){return A}),r.d(n,"sexagesimalToDecimal",function(){return h}),r.d(n,"toDecimal",function(){return b}),r.d(n,"toRad",function(){return P}),r.d(n,"toDeg",function(){return x})}])}); |
{ | ||
"name": "geolib", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -108,3 +108,3 @@ # Geolib | ||
```js | ||
geoilib.getPreciseDistance( | ||
geolib.getPreciseDistance( | ||
{ latitude: 51.5103, longitude: 7.49347 }, | ||
@@ -111,0 +111,0 @@ { latitude: "51° 31' N", longitude: "7° 28' E" } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
91319
224
0