Socket
Socket
Sign inDemoInstall

@netlify/functions

Package Overview
Dependencies
Maintainers
14
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@netlify/functions - npm Package Compare versions

Comparing version 0.11.1 to 1.0.0

5

dist/lib/schedule.d.ts

@@ -13,8 +13,7 @@ import type { Handler } from '../function';

*
* @param schedule expressed as cron string. see https://crontab.guru for help.
* @param schedule expressed as cron string.
* @param handler
* @see https://docs.netlify.com/functions/<schedule>
* @tutorial https://announcement-blogpost
* @see https://ntl.fyi/sched-func
*/
declare const schedule: (cron: string, handler: Handler) => Handler;
export { schedule };

@@ -15,8 +15,7 @@ "use strict";

*
* @param schedule expressed as cron string. see https://crontab.guru for help.
* @param schedule expressed as cron string.
* @param handler
* @see https://docs.netlify.com/functions/<schedule>
* @tutorial https://announcement-blogpost
* @see https://ntl.fyi/sched-func
*/
var schedule = function (cron, handler) { return handler; };
exports.schedule = schedule;

4

package.json

@@ -5,3 +5,3 @@ {

"types": "./dist/main.d.ts",
"version": "0.11.1",
"version": "1.0.0",
"description": "JavaScript utilities for Netlify Functions",

@@ -57,3 +57,3 @@ "files": [

"@commitlint/config-conventional": "^13.0.0",
"@netlify/eslint-config-node": "^4.1.6",
"@netlify/eslint-config-node": "^5.1.4",
"ava": "^2.4.0",

@@ -60,0 +60,0 @@ "husky": "^7.0.4",

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