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

@aws-amplify/platform-core

Package Overview
Dependencies
Maintainers
0
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-amplify/platform-core - npm Package Compare versions

Comparing version 0.0.0-test-20240726185600 to 0.0.0-test-20240730222729

4

lib/errors/amplify_error.js

@@ -129,2 +129,4 @@ "use strict";

'Invalid values:',
'Missing dependent arguments',
'Implications failed',
].some((message) => err.message.startsWith(message)) ||

@@ -160,2 +162,2 @@ err.message.endsWith('are mutually exclusive')));

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW1wbGlmeV9lcnJvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9lcnJvcnMvYW1wbGlmeV9lcnJvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSx3QkFBbUQ7QUFFbkQ7O0dBRUc7QUFDSCxNQUFzQixZQUF3QyxTQUFRLEtBQUs7SUF1QnZEO0lBQ0E7SUFDQztJQUNEO0lBekJYLGVBQWUsQ0FBVTtJQUNoQixPQUFPLENBQVM7SUFDaEIsVUFBVSxDQUFVO0lBQ3BCLE9BQU8sQ0FBVTtJQUNqQixJQUFJLENBQVU7SUFDZCxJQUFJLENBQVU7SUFFOUI7Ozs7Ozs7Ozs7Ozs7T0FhRztJQUNILFlBQ2tCLElBQU8sRUFDUCxjQUEwQyxFQUN6QyxPQUE0QixFQUM3QixLQUFhO1FBRTdCLDZFQUE2RTtRQUM3RSw2RUFBNkU7UUFDN0UsS0FBSyxDQUFDLE9BQU8sQ0FBQyxPQUFPLEVBQUUsRUFBRSxLQUFLLEVBQUUsQ0FBQyxDQUFDO1FBUGxCLFNBQUksR0FBSixJQUFJLENBQUc7UUFDUCxtQkFBYyxHQUFkLGNBQWMsQ0FBNEI7UUFD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ciA9IG5ldyBFcnJvcihkZXNlcmlhbGl6ZWQubWVzc2FnZSk7XG4gICAgZXJyb3IubmFtZSA9IGRlc2VyaWFsaXplZC5uYW1lO1xuICAgIHJldHVybiBlcnJvcjtcbiAgfTtcblxuICBzdGF0aWMgaXNTZXJpYWxpemVkRXJyb3JUeXBlID0gKG9iajogdW5rbm93bik6IG9iaiBpcyBTZXJpYWxpemVkRXJyb3JUeXBlID0+IHtcbiAgICBpZiAoXG4gICAgICBvYmogJiZcbiAgICAgIChvYmogYXMgU2VyaWFsaXplZEVycm9yVHlwZSkubmFtZSAmJlxuICAgICAgKG9iaiBhcyBTZXJpYWxpemVkRXJyb3JUeXBlKS5tZXNzYWdlXG4gICAgKVxuICAgICAgcmV0dXJuIHRydWU7XG4gICAgcmV0dXJuIGZhbHNlO1xuICB9O1xufVxudHlwZSBTZXJpYWxpemVkRXJyb3JUeXBlID0ge1xuICBuYW1lOiBzdHJpbmc7XG4gIG1lc3NhZ2U6IHN0cmluZztcbn07XG4iXX0=
{
"name": "@aws-amplify/platform-core",
"version": "0.0.0-test-20240726185600",
"version": "0.0.0-test-20240730222729",
"type": "commonjs",

@@ -27,3 +27,3 @@ "publishConfig": {

"dependencies": {
"@aws-amplify/plugin-types": "0.0.0-test-20240726185600",
"@aws-amplify/plugin-types": "0.0.0-test-20240730222729",
"@aws-sdk/client-sts": "^3.465.0",

@@ -30,0 +30,0 @@ "is-ci": "^3.0.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