prothesmies
Advanced tools
Comparing version 0.1.6 to 0.1.7
import { getProth } from './utils/prothesmies_taktikis'; | ||
export { getProth }; | ||
export default getProth; |
@@ -60,3 +60,3 @@ 'use strict'; | ||
exports.getProth = getProth; | ||
exports.default = getProth; | ||
//# sourceMappingURL=prothesmies.cjs.development.js.map |
@@ -1,2 +0,2 @@ | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=["2022-10-28"];function t(t,a){for(var r=[],n=new Date(t),o=0;o<a;o)n.setDate(n.getDate()+1),7!==n.getMonth()&&(r.push(new Date(n)),o++);var i=new Date;for(i=r.at(-1);6===i.getDay()||0===i.getDay()||-1!==e.findIndex((function(e){return new Date(e).toDateString()===new Date(i).toDateString()}));)i.setDate(i.getDate()+1),r.push(new Date(i));return r.at(-1)}exports.getProth=function(e){return{epidosi:t(e,30),paremvasi:t(e,60),paremvasi_prosek:t(e,90),protaseis:t(e,120),prosthiki:t(e,135),or_dikasti:t(e,150),or_dikasimou:t(e,180)}}; | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=["2022-10-28"];function t(t,a){for(var r=[],n=new Date(t),i=0;i<a;i)n.setDate(n.getDate()+1),7!==n.getMonth()&&(r.push(new Date(n)),i++);var o=new Date;for(o=r.at(-1);6===o.getDay()||0===o.getDay()||-1!==e.findIndex((function(e){return new Date(e).toDateString()===new Date(o).toDateString()}));)o.setDate(o.getDate()+1),r.push(new Date(o));return r.at(-1)}exports.default=function(e){return{epidosi:t(e,30),paremvasi:t(e,60),paremvasi_prosek:t(e,90),protaseis:t(e,120),prosthiki:t(e,135),or_dikasti:t(e,150),or_dikasimou:t(e,180)}}; | ||
//# sourceMappingURL=prothesmies.cjs.production.min.js.map |
@@ -56,3 +56,3 @@ var argies = ['2022-10-28']; | ||
export { getProth }; | ||
export default getProth; | ||
//# sourceMappingURL=prothesmies.esm.js.map |
{ | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"license": "MIT", | ||
@@ -4,0 +4,0 @@ "main": "dist/index.js", |
import { getProth } from './utils/prothesmies_taktikis'; | ||
export { getProth }; | ||
export default getProth; |
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 not supported yet
21906