mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-13 07:26:26 +00:00
chore: rename fixture package file and lock files so they do not trigger osv scanner (#24625)
This commit is contained in:
parent
4a7ece14c1
commit
e4e3b9bbc8
11 changed files with 8 additions and 48461 deletions
|
@ -1,8 +1,8 @@
|
|||
import { Fixtures } from '../../../../test/fixtures';
|
||||
import { extractPackageFile } from '.';
|
||||
|
||||
const gomod1 = Fixtures.get('1/go.mod');
|
||||
const gomod2 = Fixtures.get('2/go.mod');
|
||||
const gomod1 = Fixtures.get('1/go-mod');
|
||||
const gomod2 = Fixtures.get('2/go-mod');
|
||||
|
||||
describe('modules/manager/gomod/extract', () => {
|
||||
describe('extractPackageFile()', () => {
|
||||
|
|
|
@ -2,9 +2,9 @@ import { Fixtures } from '../../../../test/fixtures';
|
|||
import type { UpdateType } from '../../../config/types';
|
||||
import { updateDependency } from '.';
|
||||
|
||||
const gomod1 = Fixtures.get('1/go.mod');
|
||||
const gomod2 = Fixtures.get('2/go.mod');
|
||||
const gomod3 = Fixtures.get('3/go.mod');
|
||||
const gomod1 = Fixtures.get('1/go-mod');
|
||||
const gomod2 = Fixtures.get('2/go-mod');
|
||||
const gomod3 = Fixtures.get('3/go-mod');
|
||||
|
||||
describe('modules/manager/gomod/update', () => {
|
||||
describe('updateDependency', () => {
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,43 +0,0 @@
|
|||
{
|
||||
"name": "vue-cli-storybook",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"serve": "vue-cli-service serve",
|
||||
"build": "vue-cli-service build",
|
||||
"lint": "vue-cli-service lint",
|
||||
"storybook": "start-storybook -p 6006",
|
||||
"build-storybook": "build-storybook"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.13.0",
|
||||
"npm": ">=7.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"core-js": "3.6.5",
|
||||
"vue": "2.6.11"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.16.0",
|
||||
"@storybook/addon-essentials": "6.3.8",
|
||||
"@storybook/vue": "6.3.8",
|
||||
"@typescript-eslint/eslint-plugin": "4.18.0",
|
||||
"@typescript-eslint/parser": "4.18.0",
|
||||
"@vue/cli-plugin-babel": "~4.5.0",
|
||||
"@vue/cli-plugin-eslint": "~4.5.0",
|
||||
"@vue/cli-plugin-typescript": "~4.5.0",
|
||||
"@vue/cli-service": "~4.5.0",
|
||||
"@vue/eslint-config-prettier": "6.0.0",
|
||||
"@vue/eslint-config-typescript": "7.0.0",
|
||||
"babel-loader": "8.2.3",
|
||||
"css-loader": "5.2.7",
|
||||
"eslint": "6.7.2",
|
||||
"eslint-plugin-prettier": "3.3.1",
|
||||
"eslint-plugin-vue": "6.2.2",
|
||||
"prettier": "2.2.1",
|
||||
"typescript": "~4.1.5",
|
||||
"vue-loader": "15.9.8",
|
||||
"vue-template-compiler": "2.6.11",
|
||||
"webpack": "4.46.0"
|
||||
}
|
||||
}
|
|
@ -5,7 +5,7 @@ import { clone } from '../../../../../util/clone';
|
|||
import type { UpdateLockedConfig } from '../../../types';
|
||||
|
||||
const packageFileContent = Fixtures.get('package.json', './package-lock');
|
||||
const lockFileContent = Fixtures.get('package-lock.json', './package-lock');
|
||||
const lockFileContent = Fixtures.get('package-lock-v1.json', './package-lock');
|
||||
const lockFileV2Content = Fixtures.get(
|
||||
'package-lock-v2.json',
|
||||
'./package-lock'
|
||||
|
|
|
@ -4,7 +4,7 @@ import { findDepConstraints } from './dep-constraints';
|
|||
jest.mock('../../../../../../util/fs');
|
||||
|
||||
const packageJson = Fixtures.getJson('package.json');
|
||||
const packageLockJson = Fixtures.getJson('package-lock.json');
|
||||
const packageLockJson = Fixtures.getJson('package-lock-v1.json');
|
||||
|
||||
describe('modules/manager/npm/update/locked-dependency/package-lock/dep-constraints', () => {
|
||||
describe('findDepConstraints()', () => {
|
||||
|
|
|
@ -3,7 +3,7 @@ import { getLockedDependencies } from './get-locked';
|
|||
|
||||
jest.mock('../../../../../../util/fs');
|
||||
|
||||
const packageLockJson = Fixtures.getJson('package-lock.json');
|
||||
const packageLockJson = Fixtures.getJson('package-lock-v1.json');
|
||||
const bundledPackageLockJson = Fixtures.getJson('bundled.package-lock.json');
|
||||
|
||||
describe('modules/manager/npm/update/locked-dependency/package-lock/get-locked', () => {
|
||||
|
|
Loading…
Reference in a new issue