@netlify/functions
Advanced tools
Comparing version 0.11.1 to 1.0.0
@@ -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; |
@@ -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", |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
27976
494