amplify-cli-core
Advanced tools
Comparing version 1.21.2 to 1.21.3-alpha.35
@@ -64,36 +64,36 @@ "use strict"; | ||
const CF_SCHEMA = new yaml.Schema([ | ||
new yaml.Type('!Ref', { | ||
new yaml.Type('!Base64', { | ||
kind: 'scalar', | ||
construct: function (data) { | ||
return { Ref: data }; | ||
return { 'Fn::Base64': data }; | ||
}, | ||
}), | ||
new yaml.Type('!Condition', { | ||
kind: 'sequence', | ||
new yaml.Type('!Base64', { | ||
kind: 'mapping', | ||
construct: function (data) { | ||
return { Condition: data }; | ||
return { 'Fn::Base64': data }; | ||
}, | ||
}), | ||
new yaml.Type('!Equals', { | ||
new yaml.Type('!Cidr', { | ||
kind: 'sequence', | ||
construct: function (data) { | ||
return { 'Fn::Equals': data }; | ||
return { 'Fn::Cidr': data }; | ||
}, | ||
}), | ||
new yaml.Type('!Not', { | ||
kind: 'sequence', | ||
new yaml.Type('!Cidr', { | ||
kind: 'mapping', | ||
construct: function (data) { | ||
return { 'Fn::Not': data }; | ||
return { 'Fn::Cidr': data }; | ||
}, | ||
}), | ||
new yaml.Type('!Sub', { | ||
kind: 'scalar', | ||
new yaml.Type('!And', { | ||
kind: 'sequence', | ||
construct: function (data) { | ||
return { 'Fn::Sub': data }; | ||
return { 'Fn::And': data }; | ||
}, | ||
}), | ||
new yaml.Type('!Sub', { | ||
new yaml.Type('!Equals', { | ||
kind: 'sequence', | ||
construct: function (data) { | ||
return { 'Fn::Sub': data }; | ||
return { 'Fn::Equals': data }; | ||
}, | ||
@@ -107,14 +107,20 @@ }), | ||
}), | ||
new yaml.Type('!Join', { | ||
new yaml.Type('!Not', { | ||
kind: 'sequence', | ||
construct: function (data) { | ||
return { 'Fn::Join': data }; | ||
return { 'Fn::Not': data }; | ||
}, | ||
}), | ||
new yaml.Type('!Select', { | ||
new yaml.Type('!Or', { | ||
kind: 'sequence', | ||
construct: function (data) { | ||
return { 'Fn::Select': data }; | ||
return { 'Fn::Or': data }; | ||
}, | ||
}), | ||
new yaml.Type('!Condition', { | ||
kind: 'scalar', | ||
construct: function (data) { | ||
return { Condition: data }; | ||
}, | ||
}), | ||
new yaml.Type('!FindInMap', { | ||
@@ -160,44 +166,62 @@ kind: 'sequence', | ||
}), | ||
new yaml.Type('!Base64', { | ||
new yaml.Type('!GetAZs', { | ||
kind: 'mapping', | ||
construct: function (data) { | ||
return { 'Fn::Base64': data }; | ||
return { 'Fn::GetAZs': data }; | ||
}, | ||
}), | ||
new yaml.Type('!Split', { | ||
kind: 'sequence', | ||
new yaml.Type('!ImportValue', { | ||
kind: 'scalar', | ||
construct: function (data) { | ||
return { 'Fn::Split': data }; | ||
return { 'Fn::ImportValue': data }; | ||
}, | ||
}), | ||
new yaml.Type('!Cidr', { | ||
kind: 'sequence', | ||
new yaml.Type('!ImportValue', { | ||
kind: 'mapping', | ||
construct: function (data) { | ||
return { 'Fn::Cidr': data }; | ||
return { 'Fn::ImportValue': data }; | ||
}, | ||
}), | ||
new yaml.Type('!ImportValue', { | ||
new yaml.Type('!Join', { | ||
kind: 'sequence', | ||
construct: function (data) { | ||
return { 'Fn::ImportValue': data }; | ||
return { 'Fn::Join': data }; | ||
}, | ||
}), | ||
new yaml.Type('!Transform', { | ||
new yaml.Type('!Select', { | ||
kind: 'sequence', | ||
construct: function (data) { | ||
return { 'Fn::Transform': data }; | ||
return { 'Fn::Select': data }; | ||
}, | ||
}), | ||
new yaml.Type('!And', { | ||
new yaml.Type('!Split', { | ||
kind: 'sequence', | ||
construct: function (data) { | ||
return { 'Fn::And': data }; | ||
return { 'Fn::Split': data }; | ||
}, | ||
}), | ||
new yaml.Type('!Or', { | ||
new yaml.Type('!Sub', { | ||
kind: 'scalar', | ||
construct: function (data) { | ||
return { 'Fn::Sub': data }; | ||
}, | ||
}), | ||
new yaml.Type('!Sub', { | ||
kind: 'sequence', | ||
construct: function (data) { | ||
return { 'Fn::Or': data }; | ||
return { 'Fn::Sub': data }; | ||
}, | ||
}), | ||
new yaml.Type('!Transform', { | ||
kind: 'mapping', | ||
construct: function (data) { | ||
return { 'Fn::Transform': data }; | ||
}, | ||
}), | ||
new yaml.Type('!Ref', { | ||
kind: 'scalar', | ||
construct: function (data) { | ||
return { Ref: data }; | ||
}, | ||
}), | ||
]); | ||
@@ -204,0 +228,0 @@ function isJsonFileContent(fileContent) { |
@@ -316,2 +316,8 @@ "use strict"; | ||
}, | ||
{ | ||
name: 'breakCircularDependency', | ||
type: 'boolean', | ||
defaultValueForExistingProjects: false, | ||
defaultValueForNewProjects: true, | ||
}, | ||
]); | ||
@@ -349,2 +355,8 @@ this.registerFlag('codegen', [ | ||
}, | ||
{ | ||
name: 'addTimestampFields', | ||
type: 'boolean', | ||
defaultValueForExistingProjects: false, | ||
defaultValueForNewProjects: true, | ||
}, | ||
]); | ||
@@ -351,0 +363,0 @@ this.registerFlag('appSync', [ |
{ | ||
"name": "amplify-cli-core", | ||
"version": "1.21.2", | ||
"version": "1.21.3-alpha.35+78854ebd4", | ||
"description": "Amplify CLI Core", | ||
@@ -28,3 +28,3 @@ "repository": { | ||
"ajv": "^6.12.3", | ||
"amplify-cli-logger": "1.1.0", | ||
"amplify-cli-logger": "1.1.1-alpha.463+78854ebd4", | ||
"ci-info": "^2.0.0", | ||
@@ -47,3 +47,3 @@ "cloudform-types": "^4.2.0", | ||
"@types/uuid": "^8.0.0", | ||
"amplify-function-plugin-interface": "1.7.2", | ||
"amplify-function-plugin-interface": "1.7.3-alpha.270+78854ebd4", | ||
"rimraf": "^3.0.0" | ||
@@ -66,3 +66,3 @@ }, | ||
}, | ||
"gitHead": "01b95691d71864ba5c30b8e0a07726119702bf5c" | ||
"gitHead": "78854ebd4a3d41d34d68736d6556045302101265" | ||
} |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
212277
2344
2
1
- Removed@colors/colors@1.6.0(transitive)
- Removed@dabh/diagnostics@2.0.3(transitive)
- Removed@types/triple-beam@1.3.5(transitive)
- Removedamplify-cli-logger@1.1.0(transitive)
- Removedasync@3.2.6(transitive)
- Removedcolor@3.2.1(transitive)
- Removedcolor-convert@1.9.3(transitive)
- Removedcolor-name@1.1.3(transitive)
- Removedcolor-string@1.9.1(transitive)
- Removedcolorspace@1.1.4(transitive)
- Removedenabled@2.0.0(transitive)
- Removedfecha@4.2.3(transitive)
- Removedfile-stream-rotator@0.6.1(transitive)
- Removedfn.name@1.1.0(transitive)
- Removedinherits@2.0.4(transitive)
- Removedis-arrayish@0.3.2(transitive)
- Removedis-stream@2.0.1(transitive)
- Removedkuler@2.0.0(transitive)
- Removedlogform@2.7.0(transitive)
- Removedmoment@2.30.1(transitive)
- Removedms@2.1.3(transitive)
- Removedobject-hash@2.2.0(transitive)
- Removedone-time@1.0.0(transitive)
- Removedreadable-stream@3.6.2(transitive)
- Removedsafe-buffer@5.2.1(transitive)
- Removedsafe-stable-stringify@2.5.0(transitive)
- Removedsimple-swizzle@0.2.2(transitive)
- Removedstack-trace@0.0.10(transitive)
- Removedstring_decoder@1.3.0(transitive)
- Removedtext-hex@1.0.0(transitive)
- Removedtriple-beam@1.4.1(transitive)
- Removedutil-deprecate@1.0.2(transitive)
- Removedwinston@3.17.0(transitive)
- Removedwinston-daily-rotate-file@4.7.1(transitive)
- Removedwinston-transport@4.9.0(transitive)