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