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

amplify-cli-core

Package Overview
Dependencies
Maintainers
1
Versions
486
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amplify-cli-core - npm Package Compare versions

Comparing version 1.4.1-alpha.14 to 1.4.1-alpha.22

21

lib/index.d.ts

@@ -26,3 +26,24 @@ import { ServiceSelection } from './serviceSelection';

runtime: $TSAny;
pluginPlatform: IPluginPlatform;
};
export declare type IPluginPlatform = {
pluginDirectories: string[];
pluginPrefixes: string[];
userAddedLocations: string[];
lastScanTime: Date;
maxScanIntervalInSeconds: Number;
plugins: IPluginCollection;
excluded: IPluginCollection;
};
export declare type IPluginCollection = {
[pluginType: string]: IPluginInfo[];
};
export declare type IPluginInfo = {
packageName: string;
packageVersion: string;
packageLocation: string;
manifest: $IPluginManifest;
};
export declare type GetPackageAssetPaths = () => Promise<string[]>;
export declare type $IPluginManifest = $TSAny;
export declare type $TSMeta = any;

@@ -29,0 +50,0 @@ export declare type $TSTeamProviderInfo = any;

2

lib/state-manager/pathManager.d.ts

@@ -27,2 +27,4 @@ export declare const PathConstants: {

constructor();
getAmplifyPackageLibDirPath: (packageName: string) => string;
getAmplifyLibRoot: () => string;
getHomeDotAmplifyDirPath: () => string;

@@ -29,0 +31,0 @@ getAmplifyDirPath: (projectPath?: string | undefined) => string;

@@ -51,2 +51,10 @@ "use strict";

constructor() {
this.getAmplifyPackageLibDirPath = (packageName) => {
const result = path.join(this.getAmplifyLibRoot(), packageName);
if (!process.env.AMPLIFY_SUPPRESS_NO_PKG_LIB && !fs.pathExistsSync(result)) {
throw new Error(`Package lib at ${result} does not exist. Try running 'amplify post-install' to copy files to the correct location.`);
}
return result;
};
this.getAmplifyLibRoot = () => path.join(this.getHomeDotAmplifyDirPath(), 'lib');
this.getHomeDotAmplifyDirPath = () => this.homeDotAmplifyDirPath;

@@ -53,0 +61,0 @@ this.getAmplifyDirPath = (projectPath) => this.constructPath(projectPath, [exports.PathConstants.AmplifyDirName]);

4

package.json
{
"name": "amplify-cli-core",
"version": "1.4.1-alpha.14+a8118f28e",
"version": "1.4.1-alpha.22+77132a208",
"description": "Amplify CLI Core",

@@ -58,3 +58,3 @@ "repository": {

},
"gitHead": "a8118f28e440c9febd58269bd6e08425dd81f00c"
"gitHead": "77132a20878c1abcd62f2d58c6f92c6df23400fd"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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