Change requires to import
This commit is contained in:
+3
-6
@@ -1,8 +1,6 @@
|
|||||||
const core = require('@actions/core');
|
import * as core from '@actions/core';
|
||||||
const github = require('@actions/github');
|
import * as yaml from 'yaml';
|
||||||
const glob = require('glob');
|
import * as glob from 'glob';
|
||||||
const yaml = require('yaml');
|
|
||||||
|
|
||||||
import * as fs from 'fs';
|
import * as fs from 'fs';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
@@ -13,7 +11,6 @@ import {
|
|||||||
Manifest,
|
Manifest,
|
||||||
submitSnapshot
|
submitSnapshot
|
||||||
} from '@github/dependency-submission-toolkit'
|
} from '@github/dependency-submission-toolkit'
|
||||||
import { YAMLMap } from 'yaml';
|
|
||||||
|
|
||||||
export default class CondaParser {
|
export default class CondaParser {
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
import { Manifest } from '@github/dependency-submission-toolkit';
|
import { Manifest } from '@github/dependency-submission-toolkit';
|
||||||
export default class CondaParser {
|
export default class CondaParser {
|
||||||
static searchFiles(filePath?: string, filePattern?: string): any;
|
static searchFiles(filePath?: string, filePattern?: string): string[];
|
||||||
static getManifestsFromEnvironmentFiles(files: string[]): any[];
|
static getManifestsFromEnvironmentFiles(files: string[]): any[];
|
||||||
static getManifestFromYaml(yaml: any, filePath: string): Manifest;
|
static getManifestFromYaml(yaml: any, filePath: string): Manifest;
|
||||||
static getPurlFromDependency(dependency: string, ecosystem: string): string;
|
static getPurlFromDependency(dependency: string, ecosystem: string): string;
|
||||||
|
|||||||
+3
-4
@@ -23820,10 +23820,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|||||||
return result;
|
return result;
|
||||||
};
|
};
|
||||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||||
const core = __nccwpck_require__(2186);
|
const core = __importStar(__nccwpck_require__(2186));
|
||||||
const github = __nccwpck_require__(5438);
|
const yaml = __importStar(__nccwpck_require__(4083));
|
||||||
const glob = __nccwpck_require__(1957);
|
const glob = __importStar(__nccwpck_require__(1957));
|
||||||
const yaml = __nccwpck_require__(4083);
|
|
||||||
const fs = __importStar(__nccwpck_require__(7147));
|
const fs = __importStar(__nccwpck_require__(7147));
|
||||||
const dependency_submission_toolkit_1 = __nccwpck_require__(9810);
|
const dependency_submission_toolkit_1 = __nccwpck_require__(9810);
|
||||||
class CondaParser {
|
class CondaParser {
|
||||||
|
|||||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user