@aws/cloudformation-validate 1.0.0-beta → 1.1.0-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -385,7 +385,7 @@ export interface ValidateConfig {
385
385
  parameterOverrides?: Record<string, string> | undefined;
386
386
  pseudoParameterOverrides?: PseudoParameterOverrides | undefined;
387
387
  strict?: boolean | undefined;
388
- includeEngineRules?: boolean | undefined;
388
+ disableBuiltinRules?: boolean | undefined;
389
389
  }
390
390
 
391
391
  export interface ViolationContext {
package/bindings_wasm.js CHANGED
@@ -380,7 +380,7 @@ exports.version = version;
380
380
  function __wbg_get_imports() {
381
381
  const import0 = {
382
382
  __proto__: null,
383
- __wbg_Error_9dc85fe1bc224456: function (arg0, arg1) {
383
+ __wbg_Error_fdd633d4bb5dd76a: function (arg0, arg1) {
384
384
  const ret = Error(getStringFromWasm0(arg0, arg1));
385
385
  return ret;
386
386
  },
@@ -398,50 +398,50 @@ function __wbg_get_imports() {
398
398
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
399
399
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
400
400
  },
401
- __wbg___wbindgen_boolean_get_b131b2f36d6b2f55: function (arg0) {
401
+ __wbg___wbindgen_boolean_get_edaed31a367ce1bd: function (arg0) {
402
402
  const v = arg0;
403
403
  const ret = typeof v === 'boolean' ? v : undefined;
404
404
  return isLikeNone(ret) ? 0xffffff : ret ? 1 : 0;
405
405
  },
406
- __wbg___wbindgen_debug_string_56c147eb1a51f0c4: function (arg0, arg1) {
406
+ __wbg___wbindgen_debug_string_8a447059637473e2: function (arg0, arg1) {
407
407
  const ret = debugString(arg1);
408
408
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
409
409
  const len1 = WASM_VECTOR_LEN;
410
410
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
411
411
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
412
412
  },
413
- __wbg___wbindgen_in_ce8569b2fc6f5088: function (arg0, arg1) {
413
+ __wbg___wbindgen_in_4990f46af709e33c: function (arg0, arg1) {
414
414
  const ret = arg0 in arg1;
415
415
  return ret;
416
416
  },
417
- __wbg___wbindgen_is_function_147961669f068cd4: function (arg0) {
417
+ __wbg___wbindgen_is_function_acc5528be2b923f2: function (arg0) {
418
418
  const ret = typeof arg0 === 'function';
419
419
  return ret;
420
420
  },
421
- __wbg___wbindgen_is_object_3a2c414391dbf751: function (arg0) {
421
+ __wbg___wbindgen_is_object_0beba4a1980d3eea: function (arg0) {
422
422
  const val = arg0;
423
423
  const ret = typeof val === 'object' && val !== null;
424
424
  return ret;
425
425
  },
426
- __wbg___wbindgen_is_string_6541b0f6ecd4e8e5: function (arg0) {
426
+ __wbg___wbindgen_is_string_1fca8072260dd261: function (arg0) {
427
427
  const ret = typeof arg0 === 'string';
428
428
  return ret;
429
429
  },
430
- __wbg___wbindgen_is_undefined_4410e3c20a99fa97: function (arg0) {
430
+ __wbg___wbindgen_is_undefined_721f8decd50c87a3: function (arg0) {
431
431
  const ret = arg0 === undefined;
432
432
  return ret;
433
433
  },
434
- __wbg___wbindgen_jsval_loose_eq_e07e3b1f5db6da6c: function (arg0, arg1) {
434
+ __wbg___wbindgen_jsval_loose_eq_4b9aba9e5b3c4582: function (arg0, arg1) {
435
435
  const ret = arg0 == arg1;
436
436
  return ret;
437
437
  },
438
- __wbg___wbindgen_number_get_588ed6b97f0d7e14: function (arg0, arg1) {
438
+ __wbg___wbindgen_number_get_1cc01dd708740256: function (arg0, arg1) {
439
439
  const obj = arg1;
440
440
  const ret = typeof obj === 'number' ? obj : undefined;
441
441
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
442
442
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
443
443
  },
444
- __wbg___wbindgen_string_get_fa2687d531ed17a5: function (arg0, arg1) {
444
+ __wbg___wbindgen_string_get_71bb4348194e31f0: function (arg0, arg1) {
445
445
  const obj = arg1;
446
446
  const ret = typeof obj === 'string' ? obj : undefined;
447
447
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -449,20 +449,20 @@ function __wbg_get_imports() {
449
449
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
450
450
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
451
451
  },
452
- __wbg___wbindgen_throw_bbadd78c1bac3a77: function (arg0, arg1) {
452
+ __wbg___wbindgen_throw_ea4887a5f8f9a9db: function (arg0, arg1) {
453
453
  throw new Error(getStringFromWasm0(arg0, arg1));
454
454
  },
455
- __wbg_call_91f00ddc43e01490: function () {
455
+ __wbg_call_8e98ed2f3c86c4b5: function () {
456
456
  return handleError(function (arg0, arg1) {
457
457
  const ret = arg0.call(arg1);
458
458
  return ret;
459
459
  }, arguments);
460
460
  },
461
- __wbg_done_6a8439e544ec6206: function (arg0) {
461
+ __wbg_done_b62d4a7d2286852a: function (arg0) {
462
462
  const ret = arg0.done;
463
463
  return ret;
464
464
  },
465
- __wbg_entries_5a6a7e7e0df09fe5: function (arg0) {
465
+ __wbg_entries_c261c3fa1f281256: function (arg0) {
466
466
  const ret = Object.entries(arg0);
467
467
  return ret;
468
468
  },
@@ -482,17 +482,17 @@ function __wbg_get_imports() {
482
482
  globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
483
483
  }, arguments);
484
484
  },
485
- __wbg_get_44e98e27bda25b5b: function () {
485
+ __wbg_get_197a3fe98f169e38: function (arg0, arg1) {
486
+ const ret = arg0[arg1 >>> 0];
487
+ return ret;
488
+ },
489
+ __wbg_get_9a29be2cb383ed9a: function () {
486
490
  return handleError(function (arg0, arg1) {
487
491
  const ret = Reflect.get(arg0, arg1);
488
492
  return ret;
489
493
  }, arguments);
490
494
  },
491
- __wbg_get_4b90d6d8c5deb5d5: function (arg0, arg1) {
492
- const ret = arg0[arg1 >>> 0];
493
- return ret;
494
- },
495
- __wbg_get_unchecked_46e778e3cec74b5e: function (arg0, arg1) {
495
+ __wbg_get_unchecked_54a4374c38e08460: function (arg0, arg1) {
496
496
  const ret = arg0[arg1 >>> 0];
497
497
  return ret;
498
498
  },
@@ -500,7 +500,7 @@ function __wbg_get_imports() {
500
500
  const ret = arg0[arg1];
501
501
  return ret;
502
502
  },
503
- __wbg_instanceof_ArrayBuffer_a581da923203f29f: function (arg0) {
503
+ __wbg_instanceof_ArrayBuffer_2a7bb09fee70c2da: function (arg0) {
504
504
  let result;
505
505
  try {
506
506
  result = arg0 instanceof ArrayBuffer;
@@ -510,7 +510,7 @@ function __wbg_get_imports() {
510
510
  const ret = result;
511
511
  return ret;
512
512
  },
513
- __wbg_instanceof_Uint8Array_b6fe1ac89eba107e: function (arg0) {
513
+ __wbg_instanceof_Uint8Array_f080092dc70f5d58: function (arg0) {
514
514
  let result;
515
515
  try {
516
516
  result = arg0 instanceof Uint8Array;
@@ -520,53 +520,53 @@ function __wbg_get_imports() {
520
520
  const ret = result;
521
521
  return ret;
522
522
  },
523
- __wbg_isArray_139f48e3c057ede8: function (arg0) {
523
+ __wbg_isArray_145a34fd0a38d37b: function (arg0) {
524
524
  const ret = Array.isArray(arg0);
525
525
  return ret;
526
526
  },
527
- __wbg_isSafeInteger_c22ccb4af2201fe9: function (arg0) {
527
+ __wbg_isSafeInteger_a3389a198582f5f6: function (arg0) {
528
528
  const ret = Number.isSafeInteger(arg0);
529
529
  return ret;
530
530
  },
531
- __wbg_iterator_9b36cebf3be7b7cd: function () {
531
+ __wbg_iterator_cc47ba25a2be735a: function () {
532
532
  const ret = Symbol.iterator;
533
533
  return ret;
534
534
  },
535
- __wbg_length_68a9d5278d084f4f: function (arg0) {
535
+ __wbg_length_589238bdcf171f0e: function (arg0) {
536
536
  const ret = arg0.length;
537
537
  return ret;
538
538
  },
539
- __wbg_length_fb04d16d7bdf6d4c: function (arg0) {
539
+ __wbg_length_c6054974c0a6cdb9: function (arg0) {
540
540
  const ret = arg0.length;
541
541
  return ret;
542
542
  },
543
- __wbg_new_0b303268aa395a38: function () {
544
- const ret = new Array();
543
+ __wbg_new_227d7c05414eb861: function () {
544
+ const ret = new Error();
545
545
  return ret;
546
546
  },
547
- __wbg_new_20b778a4c5c691c3: function () {
547
+ __wbg_new_2e117a478906f062: function () {
548
548
  const ret = new Object();
549
549
  return ret;
550
550
  },
551
- __wbg_new_227d7c05414eb861: function () {
552
- const ret = new Error();
551
+ __wbg_new_3444eb7412549f0b: function () {
552
+ const ret = new Map();
553
553
  return ret;
554
554
  },
555
- __wbg_new_883c0db065f06efd: function () {
556
- const ret = new Map();
555
+ __wbg_new_36e147a8ced3c6e0: function () {
556
+ const ret = new Array();
557
557
  return ret;
558
558
  },
559
- __wbg_new_b06772b280cc6e52: function (arg0) {
559
+ __wbg_new_81880fb5002cb255: function (arg0) {
560
560
  const ret = new Uint8Array(arg0);
561
561
  return ret;
562
562
  },
563
- __wbg_next_8cb028b6ba50743f: function () {
563
+ __wbg_next_0c4066e251d2eff9: function () {
564
564
  return handleError(function (arg0) {
565
565
  const ret = arg0.next();
566
566
  return ret;
567
567
  }, arguments);
568
568
  },
569
- __wbg_next_cfd0b146c9538df8: function (arg0) {
569
+ __wbg_next_402fa10b59ab20c3: function (arg0) {
570
570
  const ret = arg0.next;
571
571
  return ret;
572
572
  },
@@ -578,17 +578,17 @@ function __wbg_get_imports() {
578
578
  const ret = arg0.performance;
579
579
  return ret;
580
580
  },
581
- __wbg_prototypesetcall_956c7493c68e29b4: function (arg0, arg1, arg2) {
581
+ __wbg_prototypesetcall_d721637c7ca66eb8: function (arg0, arg1, arg2) {
582
582
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
583
583
  },
584
- __wbg_set_5f806304fb633ab3: function (arg0, arg1, arg2) {
585
- const ret = arg0.set(arg1, arg2);
586
- return ret;
587
- },
588
584
  __wbg_set_6be42768c690e380: function (arg0, arg1, arg2) {
589
585
  arg0[arg1] = arg2;
590
586
  },
591
- __wbg_set_da33c120a6584674: function (arg0, arg1, arg2) {
587
+ __wbg_set_9a1d61e17de7054c: function (arg0, arg1, arg2) {
588
+ const ret = arg0.set(arg1, arg2);
589
+ return ret;
590
+ },
591
+ __wbg_set_dc601f4a69da0bc2: function (arg0, arg1, arg2) {
592
592
  arg0[arg1 >>> 0] = arg2;
593
593
  },
594
594
  __wbg_stack_3b0d974bbf31e44f: function (arg0, arg1) {
@@ -598,23 +598,23 @@ function __wbg_get_imports() {
598
598
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
599
599
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
600
600
  },
601
- __wbg_static_accessor_GLOBAL_60a4124bab7dcc9a: function () {
602
- const ret = typeof global === 'undefined' ? null : global;
601
+ __wbg_static_accessor_GLOBAL_THIS_2fee5048bcca5938: function () {
602
+ const ret = typeof globalThis === 'undefined' ? null : globalThis;
603
603
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
604
604
  },
605
- __wbg_static_accessor_GLOBAL_THIS_95ca6460658b5d13: function () {
606
- const ret = typeof globalThis === 'undefined' ? null : globalThis;
605
+ __wbg_static_accessor_GLOBAL_ce44e66a4935da8c: function () {
606
+ const ret = typeof global === 'undefined' ? null : global;
607
607
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
608
608
  },
609
- __wbg_static_accessor_SELF_4c95f759a91e9aae: function () {
609
+ __wbg_static_accessor_SELF_44f6e0cb5e67cdad: function () {
610
610
  const ret = typeof self === 'undefined' ? null : self;
611
611
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
612
612
  },
613
- __wbg_static_accessor_WINDOW_44b435597f9e9ee7: function () {
613
+ __wbg_static_accessor_WINDOW_168f178805d978fe: function () {
614
614
  const ret = typeof window === 'undefined' ? null : window;
615
615
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
616
616
  },
617
- __wbg_value_3d3defe09fb1ffca: function (arg0) {
617
+ __wbg_value_49f783bb59765962: function (arg0) {
618
618
  const ret = arg0.value;
619
619
  return ret;
620
620
  },
Binary file
package/package.json CHANGED
@@ -1,25 +1,36 @@
1
1
  {
2
- "name": "@aws/cloudformation-validate",
3
- "version": "1.0.0-beta",
4
- "description": "AWS CloudFormation Validate",
5
- "author": {
6
- "name": "Amazon Web Services",
7
- "url": "https://aws.amazon.com"
8
- },
9
- "license": "Apache-2.0",
10
- "engines": {
11
- "node": "^22.15.0",
12
- "npm": ">=10.5.0"
13
- },
14
- "repository": {
15
- "type": "git",
16
- "url": "https://github.com/aws-cloudformation/cloudformation-validate"
17
- },
18
- "homepage": "https://github.com/aws-cloudformation/cloudformation-validate#readme",
19
- "publishConfig": {
20
- "access": "public",
21
- "provenance": true
22
- },
23
- "main": "index.js",
24
- "types": "index.d.ts"
2
+ "name": "@aws/cloudformation-validate",
3
+ "version": "1.1.0-beta",
4
+ "description": "AWS CloudFormation Validate",
5
+ "keywords": [
6
+ "aws",
7
+ "amazon",
8
+ "aws-cloudformation",
9
+ "cloudformation",
10
+ "iac",
11
+ "infrastructure-as-code",
12
+ "lint",
13
+ "template",
14
+ "validate"
15
+ ],
16
+ "author": {
17
+ "name": "Amazon Web Services",
18
+ "url": "https://aws.amazon.com"
19
+ },
20
+ "license": "Apache-2.0",
21
+ "engines": {
22
+ "node": "^22.15.0",
23
+ "npm": ">=10.5.0"
24
+ },
25
+ "repository": {
26
+ "type": "git",
27
+ "url": "https://github.com/aws-cloudformation/cloudformation-validate"
28
+ },
29
+ "homepage": "https://github.com/aws-cloudformation/cloudformation-validate#readme",
30
+ "publishConfig": {
31
+ "access": "public",
32
+ "provenance": true
33
+ },
34
+ "main": "index.js",
35
+ "types": "index.d.ts"
25
36
  }