Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nangohq/nango-yaml

Package Overview
Dependencies
Maintainers
0
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nangohq/nango-yaml - npm Package Compare versions

Comparing version 0.42.8 to 0.42.9

2

dist/helpers.js

@@ -70,3 +70,3 @@ import path from 'node:path';

}
if (ms(interval) < ms('5m')) {
if (ms(interval) < ms('30s')) {
return new Error('sync_interval_too_short');

@@ -73,0 +73,0 @@ }

import { expect, describe, it } from 'vitest';
import { getInterval, isJsOrTsType } from './helpers.js';
describe('Nango Config Interval tests', () => {
it('throws error when interval is less than 5 minutes', () => {
const interval = getInterval('every 4m', new Date());
it('throws error when interval is less than 30 seconds', () => {
const interval = getInterval('every 20s', new Date());
expect(interval).toStrictEqual(new Error('sync_interval_too_short'));

@@ -7,0 +7,0 @@ });

{
"name": "@nangohq/nango-yaml",
"version": "0.42.8",
"version": "0.42.9",
"type": "module",

@@ -20,3 +20,3 @@ "main": "./dist/index.js",

"devDependencies": {
"@nangohq/types": "^0.42.8",
"@nangohq/types": "^0.42.9",
"vitest": "1.6.0"

@@ -23,0 +23,0 @@ },

Sorry, the diff of this file is not supported yet

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