Socket
Socket
Sign inDemoInstall

@applitools/core-base

Package Overview
Dependencies
29
Maintainers
53
Versions
98
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.11.0 to 1.11.1

16

CHANGELOG.md
# Changelog
## [1.11.1](https://github.com/Applitools-Dev/sdk/compare/js/core-base@1.11.0...js/core-base@1.11.1) (2024-04-15)
### Dependencies
* @applitools/utils bumped to 1.7.1
#### Bug Fixes
* region intersection algorithm ([#2290](https://github.com/Applitools-Dev/sdk/issues/2290)) ([aaa8d0c](https://github.com/Applitools-Dev/sdk/commit/aaa8d0cbcb0e39d23d652c2caf9d27bfaed0d2eb))
* @applitools/logger bumped to 2.0.15
* @applitools/req bumped to 1.6.6
* @applitools/image bumped to 1.1.10
## [1.11.0](https://github.com/Applitools-Dev/sdk/compare/js/core-base@1.10.1...js/core-base@1.11.0) (2024-04-10)

@@ -4,0 +20,0 @@

20

dist/utils/extract-current-commit.js

@@ -32,14 +32,16 @@ "use strict";

async function extractCommitInfo({ execOptions, logger = (0, logger_1.makeLogger)(), }) {
const result = await executeWithLog('git log -1 --format="%aI %H"', { execOptions, logger });
if (result.stderr) {
logger.log(`Error during extracting commit information from git`, result.stderr);
}
else
try {
let result;
try {
result = await executeWithLog('git log -1 --format="%aI %H"', { execOptions, logger });
if (result.stderr) {
logger.log(`Error during extracting commit information from git`, result.stderr);
}
else {
const [timestamp, sha] = result.stdout.trim().split(' ');
return { timestamp, sha };
}
catch (err) {
logger.log(`Error during parsing commit hash from git`, err, result.stdout);
}
}
catch (err) {
logger.log(`Error during parsing commit hash from git`, err, result === null || result === void 0 ? void 0 : result.stdout);
}
}

@@ -46,0 +48,0 @@ async function executeWithLog(command, { execOptions, logger = (0, logger_1.makeLogger)() } = {

{
"name": "@applitools/core-base",
"version": "1.11.0",
"version": "1.11.1",
"homepage": "https://applitools.com",

@@ -45,6 +45,6 @@ "bugs": {

"dependencies": {
"@applitools/image": "1.1.9",
"@applitools/logger": "2.0.14",
"@applitools/req": "1.6.5",
"@applitools/utils": "1.7.0",
"@applitools/image": "1.1.10",
"@applitools/logger": "2.0.15",
"@applitools/req": "1.6.6",
"@applitools/utils": "1.7.1",
"abort-controller": "3.0.0",

@@ -51,0 +51,0 @@ "throat": "6.0.2"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc