New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cestlagreve-strikes

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cestlagreve-strikes - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

0

index.js

@@ -0,0 +0,0 @@ module.exports = {

@@ -0,0 +0,0 @@ /**

8

lib/getIcal.js
const getStrikes = require('./getStrikes');
const
twoDigits = n => n.toString().padStart(2, '0'),
toIcalDate = (year, month, day) => `${year}${twoDigits(month)}${twoDigits(day)}T000000Z`;
const twoDigits = n => n.toString().padStart(2, '0');

@@ -56,6 +54,6 @@ /**

const { startYear, startMonth, startDay, endYear, endMonth, endDay, title, link } = events[i];
iCal += `BEGIN:VEVENT\nDTSTART:${toIcalDate(startYear, startMonth, startDay)}\nDTEND:${toIcalDate(endYear, endMonth, endDay)}\nSUMMARY:${title}\nURL:${link}\nEND:VEVENT\n`;
iCal += `BEGIN:VEVENT\nDTSTART;VALUE=DATE:${startYear}${twoDigits(startMonth)}${twoDigits(startDay)}\nDTEND;VALUE=DATE:${endYear}${twoDigits(endMonth)}${twoDigits(endDay)}\nSUMMARY:${title}\nDESCRIPTION:${link}\nEND:VEVENT\n`;
}
iCal += 'END:VCALENDAR';
return iCal;
};
};

@@ -0,0 +0,0 @@ const get = require('./get');

@@ -0,0 +0,0 @@ const

@@ -0,0 +0,0 @@ /**

{
"name": "cestlagreve-strikes",
"version": "1.0.2",
"version": "1.0.3",
"main": "index.js",

@@ -5,0 +5,0 @@ "repository": "https://git.kaki87.net/KaKi87/cestlagreve-strikes",

@@ -84,2 +84,3 @@ # cestlagreve-strikes

- Fix current month beginning with last days of previous month
- Add iCal generator
- Add iCal generator
* `1.0.3` (2020-03-04) • Fix iCal date & description tags

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