Socket
Socket
Sign inDemoInstall

parse-reminder

Package Overview
Dependencies
1
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.2.0

2

index.js
const chrono = require('chrono-node')
const matcher = /^remind (me)(?: to )?(.*)$/
const matcher = /^remind @?([^\s]+)(?: to )?(.*)$/

@@ -5,0 +5,0 @@ const parser = new chrono.Chrono()

{
"name": "parse-reminder",
"version": "1.1.0",
"version": "1.2.0",
"description": "parse natural language reminders into who, what, and when",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -84,2 +84,14 @@ process.env.TZ = 'UTC'

who: 'me', when: new Date(2017, 6, 6, 12, 0, 0, 0), what: 'buy the new iPhone'
},
'remind someone to have coffee tomorrow at noon': {
who: 'someone', when: new Date(2017, 6, 6, 12, 0, 0, 0), what: 'have coffee'
},
'remind @meaku to have coffee tomorrow at noon': {
who: 'meaku', when: new Date(2017, 6, 6, 12, 0, 0, 0), what: 'have coffee'
},
'remind @probot/everyone to have coffee tomorrow at noon': {
who: 'probot/everyone', when: new Date(2017, 6, 6, 12, 0, 0, 0), what: 'have coffee'
}

@@ -86,0 +98,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc