@janiscommerce/api
Advanced tools
Comparing version 6.6.1 to 7.0.0
@@ -9,2 +9,9 @@ # Changelog | ||
## [7.0.0] - 2023-04-18 | ||
### Changed | ||
- Update package [@janiscommerce/log](https://www.npmjs.com/package/@janiscommerce/log) that use AWS SDK V3 | ||
### Removed | ||
- Replace package `uuid` with `crypto` | ||
## [6.6.1] - 2022-12-20 | ||
@@ -11,0 +18,0 @@ ### Removed |
'use strict'; | ||
const crypto = require('crypto'); | ||
const Log = require('@janiscommerce/log'); | ||
const { v4: uuid } = require('uuid'); | ||
const { omitRecursive, isObject } = require('./../utils'); | ||
@@ -82,5 +81,5 @@ | ||
static generateId() { | ||
return uuid(); | ||
return crypto.randomUUID(); | ||
} | ||
}; |
{ | ||
"name": "@janiscommerce/api", | ||
"version": "6.6.1", | ||
"version": "7.0.0", | ||
"description": "A package for managing API from any origin", | ||
@@ -34,7 +34,7 @@ "main": "lib/index.js", | ||
"eslint-plugin-import": "^2.25.3", | ||
"husky": "^7.0.4", | ||
"mocha": "^9.2.2", | ||
"husky": "^8.0.3", | ||
"mocha": "^10.2.0", | ||
"mock-require": "^3.0.3", | ||
"nyc": "^15.1.0", | ||
"sinon": "^13.0.2", | ||
"sinon": "^15.0.3", | ||
"typescript": "^4.4.4" | ||
@@ -44,8 +44,7 @@ }, | ||
"@janiscommerce/api-session": "^3.3.1", | ||
"@janiscommerce/log": "^3.6.0", | ||
"@janiscommerce/log": "^4.0.0", | ||
"@janiscommerce/superstruct": "^1.2.1", | ||
"lodash.clonedeep": "^4.5.0", | ||
"lodash.omit": "4.5.0", | ||
"uuid": "^8.3.2" | ||
"lodash.omit": "4.5.0" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41379
5
+ Added@aws-crypto/sha256-browser@5.2.0(transitive)
+ Added@aws-crypto/sha256-js@5.2.0(transitive)
+ Added@aws-crypto/supports-web-crypto@5.2.0(transitive)
+ Added@aws-crypto/util@5.2.0(transitive)
+ Added@aws-sdk/client-firehose@3.699.0(transitive)
+ Added@aws-sdk/client-sso@3.696.0(transitive)
+ Added@aws-sdk/client-sso-oidc@3.699.0(transitive)
+ Added@aws-sdk/client-sts@3.699.0(transitive)
+ Added@aws-sdk/core@3.696.0(transitive)
+ Added@aws-sdk/credential-provider-env@3.696.0(transitive)
+ Added@aws-sdk/credential-provider-http@3.696.0(transitive)
+ Added@aws-sdk/credential-provider-ini@3.699.0(transitive)
+ Added@aws-sdk/credential-provider-node@3.699.0(transitive)
+ Added@aws-sdk/credential-provider-process@3.696.0(transitive)
+ Added@aws-sdk/credential-provider-sso@3.699.0(transitive)
+ Added@aws-sdk/credential-provider-web-identity@3.696.0(transitive)
+ Added@aws-sdk/middleware-host-header@3.696.0(transitive)
+ Added@aws-sdk/middleware-logger@3.696.0(transitive)
+ Added@aws-sdk/middleware-recursion-detection@3.696.0(transitive)
+ Added@aws-sdk/middleware-user-agent@3.696.0(transitive)
+ Added@aws-sdk/region-config-resolver@3.696.0(transitive)
+ Added@aws-sdk/token-providers@3.699.0(transitive)
+ Added@aws-sdk/types@3.696.0(transitive)
+ Added@aws-sdk/util-endpoints@3.696.0(transitive)
+ Added@aws-sdk/util-locate-window@3.693.0(transitive)
+ Added@aws-sdk/util-user-agent-browser@3.696.0(transitive)
+ Added@aws-sdk/util-user-agent-node@3.696.0(transitive)
+ Added@janiscommerce/log@4.0.0(transitive)
+ Added@smithy/abort-controller@3.1.8(transitive)
+ Added@smithy/config-resolver@3.0.12(transitive)
+ Added@smithy/core@2.5.4(transitive)
+ Added@smithy/credential-provider-imds@3.2.7(transitive)
+ Added@smithy/fetch-http-handler@4.1.1(transitive)
+ Added@smithy/hash-node@3.0.10(transitive)
+ Added@smithy/invalid-dependency@3.0.10(transitive)
+ Added@smithy/is-array-buffer@2.2.03.0.0(transitive)
+ Added@smithy/middleware-content-length@3.0.12(transitive)
+ Added@smithy/middleware-endpoint@3.2.4(transitive)
+ Added@smithy/middleware-retry@3.0.28(transitive)
+ Added@smithy/middleware-serde@3.0.10(transitive)
+ Added@smithy/middleware-stack@3.0.10(transitive)
+ Added@smithy/node-config-provider@3.1.11(transitive)
+ Added@smithy/node-http-handler@3.3.1(transitive)
+ Added@smithy/property-provider@3.1.10(transitive)
+ Added@smithy/protocol-http@4.1.7(transitive)
+ Added@smithy/querystring-builder@3.0.10(transitive)
+ Added@smithy/querystring-parser@3.0.10(transitive)
+ Added@smithy/service-error-classification@3.0.10(transitive)
+ Added@smithy/shared-ini-file-loader@3.1.11(transitive)
+ Added@smithy/signature-v4@4.2.3(transitive)
+ Added@smithy/smithy-client@3.4.5(transitive)
+ Added@smithy/types@3.7.1(transitive)
+ Added@smithy/url-parser@3.0.10(transitive)
+ Added@smithy/util-base64@3.0.0(transitive)
+ Added@smithy/util-body-length-browser@3.0.0(transitive)
+ Added@smithy/util-body-length-node@3.0.0(transitive)
+ Added@smithy/util-buffer-from@2.2.03.0.0(transitive)
+ Added@smithy/util-config-provider@3.0.0(transitive)
+ Added@smithy/util-defaults-mode-browser@3.0.28(transitive)
+ Added@smithy/util-defaults-mode-node@3.0.28(transitive)
+ Added@smithy/util-endpoints@2.1.6(transitive)
+ Added@smithy/util-hex-encoding@3.0.0(transitive)
+ Added@smithy/util-middleware@3.0.10(transitive)
+ Added@smithy/util-retry@3.0.10(transitive)
+ Added@smithy/util-stream@3.3.1(transitive)
+ Added@smithy/util-uri-escape@3.0.0(transitive)
+ Added@smithy/util-utf8@2.3.03.0.0(transitive)
+ Addedbowser@2.11.0(transitive)
+ Addedfast-xml-parser@4.4.1(transitive)
+ Addedstrnum@1.0.5(transitive)
+ Addedtslib@2.8.1(transitive)
+ Addeduuid@9.0.1(transitive)
- Removeduuid@^8.3.2
- Removed@janiscommerce/log@3.7.1(transitive)
- Removedavailable-typed-arrays@1.0.7(transitive)
- Removedaws-sdk@2.1692.0(transitive)
- Removedbase64-js@1.5.1(transitive)
- Removedbuffer@4.9.2(transitive)
- Removedcall-bind@1.0.7(transitive)
- Removeddefine-data-property@1.1.4(transitive)
- Removedes-define-property@1.0.0(transitive)
- Removedes-errors@1.3.0(transitive)
- Removedevents@1.1.1(transitive)
- Removedfor-each@0.3.3(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedget-intrinsic@1.2.4(transitive)
- Removedgopd@1.0.1(transitive)
- Removedhas-property-descriptors@1.0.2(transitive)
- Removedhas-proto@1.0.3(transitive)
- Removedhas-symbols@1.0.3(transitive)
- Removedhas-tostringtag@1.0.2(transitive)
- Removedhasown@2.0.2(transitive)
- Removedieee754@1.1.13(transitive)
- Removedinherits@2.0.4(transitive)
- Removedis-arguments@1.1.1(transitive)
- Removedis-callable@1.2.7(transitive)
- Removedis-generator-function@1.0.10(transitive)
- Removedis-typed-array@1.1.13(transitive)
- Removedisarray@1.0.0(transitive)
- Removedjmespath@0.16.0(transitive)
- Removedpossible-typed-array-names@1.0.0(transitive)
- Removedpunycode@1.3.2(transitive)
- Removedquerystring@0.2.0(transitive)
- Removedsax@1.2.1(transitive)
- Removedset-function-length@1.2.2(transitive)
- Removedurl@0.10.3(transitive)
- Removedutil@0.12.5(transitive)
- Removeduuid@8.0.08.3.2(transitive)
- Removedwhich-typed-array@1.1.16(transitive)
- Removedxml2js@0.6.2(transitive)
- Removedxmlbuilder@11.0.1(transitive)
Updated@janiscommerce/log@^4.0.0