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

@stackbit/utils

Package Overview
Dependencies
Maintainers
11
Versions
328
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stackbit/utils - npm Package Compare versions

Comparing version 0.7.13-staging.1 to 0.7.13-staging.2

7

__tests__/test-utils/content-source-mock.ts
import * as StackbitTypes from '@stackbit/types';
import * as stackbitUtils from '@stackbit/types';
import type { InitOptions, Logger } from '@stackbit/types';
import type { GitFileStatus, InitOptions, Logger } from '@stackbit/types';

@@ -153,3 +153,6 @@ function typedMock<T extends ((...args: any) => any) | undefined>(func: T) {

addPushListener: typedMock<StackbitTypes.GitServiceInterface['addPushListener']>(() => undefined),
removePushListener: typedMock<StackbitTypes.GitServiceInterface['removePushListener']>(() => undefined)
removePushListener: typedMock<StackbitTypes.GitServiceInterface['removePushListener']>(() => undefined),
diffFilesWithFetchHead: jest.fn(async () => []),
pullFilesFromFetchHead: jest.fn(async (files: GitFileStatus[]) => {}),
createShadowRepo: jest.fn(async () => {})
};

@@ -156,0 +159,0 @@ }

{
"name": "@stackbit/utils",
"version": "0.7.13-staging.1",
"version": "0.7.13-staging.2",
"description": "Stackbit utilities",

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

"@notionhq/client": "^2.2.15",
"@stackbit/types": "2.1.11-staging.1",
"@stackbit/types": "2.1.11-staging.2",
"axios": "^1.7.7",

@@ -46,3 +46,3 @@ "eventsource": "^2.0.2",

},
"gitHead": "106a2a379d498aaa4b80bf6c4a9acf34a71e40dd"
"gitHead": "13489a2b18a0b2bd07ce3625c6c417a4389dca51"
}
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