@aws-lambda-powertools/jmespath 2.8.0 → 2.10.0

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.
package/README.md CHANGED
@@ -200,6 +200,7 @@ The following companies, among others, use Powertools:
200
200
  - [Caylent](https://caylent.com/)
201
201
  - [Certible](https://www.certible.com/)
202
202
  - [Elva](https://elva-group.com)
203
+ - [Flyweight](https://flyweight.io/)
203
204
  - [globaldatanet](https://globaldatanet.com/)
204
205
  - [Hashnode](https://hashnode.com/)
205
206
  - [LocalStack](https://localstack.cloud/)
@@ -32,5 +32,5 @@ declare class PowertoolsFunctions extends Functions {
32
32
  funcPowertoolsBase64Gzip(value: string): string;
33
33
  funcPowertoolsJson(value: string): JSONValue;
34
34
  }
35
- export { PowertoolsFunctions };
35
+ export { PowertoolsFunctions, Functions };
36
36
  //# sourceMappingURL=PowertoolsFunctions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PowertoolsFunctions.d.ts","sourceRoot":"","sources":["../../src/PowertoolsFunctions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAEtE,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAI3C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,cAAM,mBAAoB,SAAQ,SAAS;IAIlC,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAO3C,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAU/C,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS;CAGpD;AAED,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
1
+ {"version":3,"file":"PowertoolsFunctions.d.ts","sourceRoot":"","sources":["../../src/PowertoolsFunctions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAEtE,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAI3C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,cAAM,mBAAoB,SAAQ,SAAS;IAIlC,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAO3C,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAU/C,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS;CAGpD;AAED,OAAO,EAAE,mBAAmB,EAAE,SAAS,EAAE,CAAC"}
@@ -6,10 +6,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
6
6
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
7
  };
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.PowertoolsFunctions = void 0;
9
+ exports.Functions = exports.PowertoolsFunctions = void 0;
10
10
  const node_zlib_1 = require("node:zlib");
11
11
  const base64_1 = require("@aws-lambda-powertools/commons/utils/base64");
12
12
  const Functions_js_1 = require("./Functions.js");
13
+ Object.defineProperty(exports, "Functions", { enumerable: true, get: function () { return Functions_js_1.Functions; } });
13
14
  const decoder = new TextDecoder('utf-8');
14
15
  /**
15
16
  * Custom functions for the Powertools for AWS Lambda JMESPath module.
@@ -32,5 +32,5 @@ declare class PowertoolsFunctions extends Functions {
32
32
  funcPowertoolsBase64Gzip(value: string): string;
33
33
  funcPowertoolsJson(value: string): JSONValue;
34
34
  }
35
- export { PowertoolsFunctions };
35
+ export { PowertoolsFunctions, Functions };
36
36
  //# sourceMappingURL=PowertoolsFunctions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PowertoolsFunctions.d.ts","sourceRoot":"","sources":["../../src/PowertoolsFunctions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAEtE,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAI3C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,cAAM,mBAAoB,SAAQ,SAAS;IAIlC,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAO3C,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAU/C,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS;CAGpD;AAED,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
1
+ {"version":3,"file":"PowertoolsFunctions.d.ts","sourceRoot":"","sources":["../../src/PowertoolsFunctions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAEtE,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAI3C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,cAAM,mBAAoB,SAAQ,SAAS;IAIlC,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAO3C,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAU/C,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS;CAGpD;AAED,OAAO,EAAE,mBAAmB,EAAE,SAAS,EAAE,CAAC"}
@@ -63,4 +63,4 @@ __decorate([
63
63
  argumentsSpecs: [['string']],
64
64
  })
65
65
  ], PowertoolsFunctions.prototype, "funcPowertoolsJson", null);
66
- export { PowertoolsFunctions };
66
+ export { PowertoolsFunctions, Functions };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-lambda-powertools/jmespath",
3
- "version": "2.8.0",
3
+ "version": "2.10.0",
4
4
  "description": "A type safe and modern jmespath module to parse and extract data from JSON documents using JMESPath",
5
5
  "author": {
6
6
  "name": "Amazon Web Services",
@@ -25,7 +25,7 @@
25
25
  "nodejs"
26
26
  ],
27
27
  "dependencies": {
28
- "@aws-lambda-powertools/commons": "^2.8.0"
28
+ "@aws-lambda-powertools/commons": "^2.10.0"
29
29
  },
30
30
  "main": "./lib/cjs/index.js",
31
31
  "types": "./lib/cjs/index.d.ts",