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

@aws-amplify/plugin-types

Package Overview
Dependencies
Maintainers
0
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-amplify/plugin-types - npm Package Compare versions

Comparing version 0.0.0-test-20241204204357 to 0.0.0-test-20241206232144

25

lib/package_manager_controller.d.ts

@@ -1,8 +0,17 @@

/**
* TODO: use the latest execa.
* Issue: https://github.com/aws-amplify/amplify-backend/issues/962
* execa v8 doesn't support commonjs, so we need to use the types from v5
* https://github.com/sindresorhus/execa/issues/489#issuecomment-1109983390
*/
import { type ExecaChildProcess, type Options } from 'execa';
/// <reference types="node" />
import { Readable } from 'node:stream';
export type ExecaOptions = {
stdin?: 'inherit';
stdout?: 'pipe';
stderr?: 'pipe';
extendEnv?: boolean;
env?: Record<string, string>;
};
export type ExecaChildProcessResult = {
exitCode?: number | undefined;
};
export type ExecaChildProcess = {
stdout: Readable | null;
stderr: Readable | null;
} & Promise<ExecaChildProcessResult>;
export type PackageManagerController = {

@@ -12,3 +21,3 @@ initializeProject: () => Promise<void>;

installDependencies: (packageNames: string[], type: 'dev' | 'prod') => Promise<void>;
runWithPackageManager: (args: string[] | undefined, dir: string, options?: Options<'utf8'>) => ExecaChildProcess;
runWithPackageManager: (args: string[] | undefined, dir: string, options?: ExecaOptions) => ExecaChildProcess;
getCommand: (args: string[]) => string;

@@ -15,0 +24,0 @@ allowsSignalPropagation: () => boolean;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFja2FnZV9tYW5hZ2VyX2NvbnRyb2xsZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvcGFja2FnZV9tYW5hZ2VyX2NvbnRyb2xsZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJ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bHQ+O1xuXG5leHBvcnQgdHlwZSBQYWNrYWdlTWFuYWdlckNvbnRyb2xsZXIgPSB7XG4gIGluaXRpYWxpemVQcm9qZWN0OiAoKSA9PiBQcm9taXNlPHZvaWQ+O1xuICBpbml0aWFsaXplVHNDb25maWc6ICh0YXJnZXREaXI6IHN0cmluZykgPT4gUHJvbWlzZTx2b2lkPjtcbiAgaW5zdGFsbERlcGVuZGVuY2llczogKFxuICAgIHBhY2thZ2VOYW1lczogc3RyaW5nW10sXG4gICAgdHlwZTogJ2RldicgfCAncHJvZCdcbiAgKSA9PiBQcm9taXNlPHZvaWQ+O1xuICBydW5XaXRoUGFja2FnZU1hbmFnZXI6IChcbiAgICBhcmdzOiBzdHJpbmdbXSB8IHVuZGVmaW5lZCxcbiAgICBkaXI6IHN0cmluZyxcbiAgICBvcHRpb25zPzogRXhlY2FPcHRpb25zXG4gICkgPT4gRXhlY2FDaGlsZFByb2Nlc3M7XG4gIGdldENvbW1hbmQ6IChhcmdzOiBzdHJpbmdbXSkgPT4gc3RyaW5nO1xuICBhbGxvd3NTaWduYWxQcm9wYWdhdGlvbjogKCkgPT4gYm9vbGVhbjtcbn07XG4iXX0=
{
"name": "@aws-amplify/plugin-types",
"version": "0.0.0-test-20241204204357",
"version": "0.0.0-test-20241206232144",
"types": "lib/index.d.ts",

@@ -20,6 +20,3 @@ "type": "commonjs",

"#package.json": "./package.json"
},
"devDependencies": {
"execa": "^5.1.1"
}
}
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