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

histdbimport

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

histdbimport - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

5

dist/insert-all.js

@@ -49,3 +49,5 @@ #!/usr/bin/env node

WHERE commands.argv = @command AND places.host = @host AND places.dir = @dir`);
console.time("took");
db.exec("BEGIN");
let count = 0;
for await (const entryStr of readEntries()) {

@@ -65,5 +67,8 @@ const result = /^: (?<started>\d+):(?<duration>\d+);(?<command>[\s\S]*)$/.exec(entryStr);

historyInsert.run(fullEntry);
count++;
}
db.exec("COMMIT");
console.timeEnd("took");
console.log(`inserted ${count} history entries`);
}
readHistory();

2

package.json
{
"name": "histdbimport",
"version": "1.0.3",
"version": "1.0.4",
"scripts": {

@@ -5,0 +5,0 @@ "insert-all": "ts-node insert-all.ts"

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