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

@janiscommerce/api

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@janiscommerce/api - npm Package Compare versions

Comparing version 6.6.1 to 7.0.0

7

CHANGELOG.md

@@ -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

5

lib/helpers/log.js
'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();
}
};

13

package.json
{
"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"
}
}
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