New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@lage-run/hasher

Package Overview
Dependencies
Maintainers
2
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lage-run/hasher - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

17

CHANGELOG.json

@@ -5,3 +5,18 @@ {

{
"date": "Fri, 26 May 2023 01:08:52 GMT",
"date": "Wed, 21 Jun 2023 19:05:46 GMT",
"tag": "@lage-run/hasher_v1.0.2",
"version": "1.0.2",
"comments": {
"patch": [
{
"author": "brunoru@microsoft.com",
"package": "@lage-run/hasher",
"commit": "3efba30544ff1844986f469e01b47316d700ceeb",
"comment": "Added logging in TargetHasher, now logs hash of glob-hashed files for global input hash comparison"
}
]
}
},
{
"date": "Fri, 26 May 2023 01:09:04 GMT",
"tag": "@lage-run/hasher_v1.0.1",

@@ -8,0 +23,0 @@ "version": "1.0.1",

# Change Log - @lage-run/hasher
This log was last generated on Fri, 26 May 2023 01:08:52 GMT and should not be manually modified.
This log was last generated on Wed, 21 Jun 2023 19:05:46 GMT and should not be manually modified.
<!-- Start content -->
## 1.0.2
Wed, 21 Jun 2023 19:05:46 GMT
### Patches
- Added logging in TargetHasher, now logs hash of glob-hashed files for global input hash comparison (brunoru@microsoft.com)
## 1.0.1
Fri, 26 May 2023 01:08:52 GMT
Fri, 26 May 2023 01:09:04 GMT

@@ -11,0 +19,0 @@ ### Patches

@@ -5,2 +5,3 @@ import type { Target } from "@lage-run/target-graph";

import { FileHasher } from "./FileHasher.js";
import type { Logger } from "@lage-run/logger";
import { PackageTree } from "./PackageTree.js";

@@ -12,2 +13,3 @@ export interface TargetHasherOptions {

cliArgs?: string[];
logger?: Logger;
}

@@ -33,2 +35,3 @@ export interface TargetManifest {

private options;
logger: Logger | undefined;
fileHasher: FileHasher;

@@ -35,0 +38,0 @@ packageTree: PackageTree | undefined;

@@ -133,2 +133,6 @@ "use strict";

await this.initializedPromise;
if (this.logger !== undefined) {
const globalInputsHash = (0, _hashStrings.hashStrings)(Object.values(this.globalInputsHash ?? {}));
this.logger.verbose(`Global inputs hash: ${globalInputsHash}`);
}
}

@@ -198,2 +202,3 @@ async hash(target) {

_define_property(this, "options", void 0);
_define_property(this, "logger", void 0);
_define_property(this, "fileHasher", void 0);

@@ -215,3 +220,4 @@ _define_property(this, "packageTree", void 0);

};
const { root } = options;
const { root , logger } = options;
this.logger = logger;
this.fileHasher = new _FileHasher.FileHasher({

@@ -218,0 +224,0 @@ root

3

package.json
{
"name": "@lage-run/hasher",
"version": "1.0.1",
"version": "1.0.2",
"description": "Hasher for Lage Targets",

@@ -19,2 +19,3 @@ "repository": {

"@lage-run/target-graph": "^0.8.6",
"@lage-run/logger": "^1.3.0",
"execa": "5.1.1",

@@ -21,0 +22,0 @@ "workspace-tools": "0.30.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