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

r2-utils-js

Package Overview
Dependencies
Maintainers
4
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

r2-utils-js - npm Package Compare versions

Comparing version 1.0.27 to 1.0.28

19

CHANGELOG.md
# Next
Git diff:
* https://github.com/readium/r2-utils-js/compare/v1.0.27...develop
* https://github.com/readium/r2-utils-js/compare/v1.0.28...develop

@@ -9,2 +9,19 @@ Changes:

# 1.0.28
> Build environment: NodeJS `16.13.0`, NPM `8.1.4`
Changes:
* Fix: regression bug when replacing filehound with plain NodeJS "fs" API to scan directory contents (ZIP directory emulated from filesystem)
Git revision info:
* https://unpkg.com/r2-utils-js@1.0.28/dist/gitrev.json
* https://github.com/edrlab/r2-utils-js-dist/blob/v1.0.28/dist/gitrev.json
Git commit history:
* https://github.com/readium/r2-utils-js/commits/v1.0.28
Git diff:
* https://github.com/readium/r2-utils-js/compare/v1.0.27...v1.0.28
# 1.0.27

@@ -11,0 +28,0 @@

4

dist/es5/src/_utils/perf-zip-cli.js

@@ -363,3 +363,5 @@ "use strict";

files = fs.readdirSync(filePath, { withFileTypes: true }).
filter(function (f) { return f.isFile() && /\.(epub3?)|(zip)|(cbz)$/.test(f.name); }).map(function (f) { return path.join(filePath, f.name); });
filter(function (f) { return f.isFile() &&
/(\.epub3?)|(\.zip)|(\.cbz)$/.test(f.name); }).
map(function (f) { return path.join(filePath, f.name); });
_i = 0, files_1 = files;

@@ -366,0 +368,0 @@ _a.label = 1;

@@ -541,3 +541,5 @@ "use strict";

files = fs.readdirSync(filePath, { withFileTypes: true }).
filter(function (f) { return f.isFile() && /\.(epub3?)|(zip)|(cbz)$/.test(f.name); }).map(function (f) { return path.join(filePath, f.name); });
filter(function (f) { return f.isFile() &&
/(\.epub3?)|(\.zip)|(\.cbz)$/.test(f.name); }).
map(function (f) { return path.join(filePath, f.name); });
_i = 0, files_1 = files;

@@ -544,0 +546,0 @@ _a.label = 1;

@@ -47,4 +47,3 @@ "use strict";

files = fs.readdirSync(this.dirPath, { withFileTypes: true }).
filter(function (f) { return f.isFile() &&
/\.(epub3?)|(zip)|(cbz)$/.test(f.name); }).map(function (f) { return path.join(_this.dirPath, f.name); });
filter(function (f) { return f.isFile(); }).map(function (f) { return path.join(_this.dirPath, f.name); });
adjustedFiles = files.map(function (file) {

@@ -51,0 +50,0 @@ var filePathNormalized = fs.realpathSync(file);

@@ -265,3 +265,5 @@ "use strict";

const files = fs.readdirSync(filePath, { withFileTypes: true }).
filter((f) => f.isFile() && /\.(epub3?)|(zip)|(cbz)$/.test(f.name)).map((f) => path.join(filePath, f.name));
filter((f) => f.isFile() &&
/(\.epub3?)|(\.zip)|(\.cbz)$/.test(f.name)).
map((f) => path.join(filePath, f.name));
for (const file of files) {

@@ -268,0 +270,0 @@ yield processFile(file);

@@ -423,3 +423,5 @@ "use strict";

const files = fs.readdirSync(filePath, { withFileTypes: true }).
filter((f) => f.isFile() && /\.(epub3?)|(zip)|(cbz)$/.test(f.name)).map((f) => path.join(filePath, f.name));
filter((f) => f.isFile() &&
/(\.epub3?)|(\.zip)|(\.cbz)$/.test(f.name)).
map((f) => path.join(filePath, f.name));
for (const file of files) {

@@ -426,0 +428,0 @@ yield processFile(file);

@@ -38,4 +38,3 @@ "use strict";

const files = fs.readdirSync(this.dirPath, { withFileTypes: true }).
filter((f) => f.isFile() &&
/\.(epub3?)|(zip)|(cbz)$/.test(f.name)).map((f) => path.join(this.dirPath, f.name));
filter((f) => f.isFile()).map((f) => path.join(this.dirPath, f.name));
const adjustedFiles = files.map((file) => {

@@ -42,0 +41,0 @@ const filePathNormalized = fs.realpathSync(file);

@@ -265,3 +265,5 @@ "use strict";

const files = fs.readdirSync(filePath, { withFileTypes: true }).
filter((f) => f.isFile() && /\.(epub3?)|(zip)|(cbz)$/.test(f.name)).map((f) => path.join(filePath, f.name));
filter((f) => f.isFile() &&
/(\.epub3?)|(\.zip)|(\.cbz)$/.test(f.name)).
map((f) => path.join(filePath, f.name));
for (const file of files) {

@@ -268,0 +270,0 @@ yield processFile(file);

@@ -423,3 +423,5 @@ "use strict";

const files = fs.readdirSync(filePath, { withFileTypes: true }).
filter((f) => f.isFile() && /\.(epub3?)|(zip)|(cbz)$/.test(f.name)).map((f) => path.join(filePath, f.name));
filter((f) => f.isFile() &&
/(\.epub3?)|(\.zip)|(\.cbz)$/.test(f.name)).
map((f) => path.join(filePath, f.name));
for (const file of files) {

@@ -426,0 +428,0 @@ yield processFile(file);

@@ -38,4 +38,3 @@ "use strict";

const files = fs.readdirSync(this.dirPath, { withFileTypes: true }).
filter((f) => f.isFile() &&
/\.(epub3?)|(zip)|(cbz)$/.test(f.name)).map((f) => path.join(this.dirPath, f.name));
filter((f) => f.isFile()).map((f) => path.join(this.dirPath, f.name));
const adjustedFiles = files.map((file) => {

@@ -42,0 +41,0 @@ const filePathNormalized = fs.realpathSync(file);

@@ -262,3 +262,5 @@ "use strict";

const files = fs.readdirSync(filePath, { withFileTypes: true }).
filter((f) => f.isFile() && /\.(epub3?)|(zip)|(cbz)$/.test(f.name)).map((f) => path.join(filePath, f.name));
filter((f) => f.isFile() &&
/(\.epub3?)|(\.zip)|(\.cbz)$/.test(f.name)).
map((f) => path.join(filePath, f.name));
for (const file of files) {

@@ -265,0 +267,0 @@ await processFile(file);

@@ -418,3 +418,5 @@ "use strict";

const files = fs.readdirSync(filePath, { withFileTypes: true }).
filter((f) => f.isFile() && /\.(epub3?)|(zip)|(cbz)$/.test(f.name)).map((f) => path.join(filePath, f.name));
filter((f) => f.isFile() &&
/(\.epub3?)|(\.zip)|(\.cbz)$/.test(f.name)).
map((f) => path.join(filePath, f.name));
for (const file of files) {

@@ -421,0 +423,0 @@ await processFile(file);

@@ -34,4 +34,3 @@ "use strict";

const files = fs.readdirSync(this.dirPath, { withFileTypes: true }).
filter((f) => f.isFile() &&
/\.(epub3?)|(zip)|(cbz)$/.test(f.name)).map((f) => path.join(this.dirPath, f.name));
filter((f) => f.isFile()).map((f) => path.join(this.dirPath, f.name));
const adjustedFiles = files.map((file) => {

@@ -38,0 +37,0 @@ const filePathNormalized = fs.realpathSync(file);

{
"node": "14.18.1",
"npm": "6.14.15",
"short": "4e82cf2",
"long": "4e82cf289564413a1cc83b9952e10059c4c4f061",
"node": "16.13.0",
"npm": "8.1.4",
"short": "39de328",
"long": "39de328746dc898d4693d37bdc7e9d3ccc10abde",
"branch": "develop",
"date": "2021-10-20T14:50:05.000Z",
"urlHistory": "https://github.com/readium/r2-utils-js/commits/4e82cf289564413a1cc83b9952e10059c4c4f061",
"urlDiff": "https://github.com/readium/r2-utils-js/compare/4e82cf289564413a1cc83b9952e10059c4c4f061...develop"
"date": "2021-11-23T23:05:18.000Z",
"urlHistory": "https://github.com/readium/r2-utils-js/commits/39de328746dc898d4693d37bdc7e9d3ccc10abde",
"urlDiff": "https://github.com/readium/r2-utils-js/compare/39de328746dc898d4693d37bdc7e9d3ccc10abde...develop"
}
{
"name": "r2-utils-js",
"version": "1.0.27",
"version": "1.0.28",
"description": "Readium 2 'utils' for NodeJS (TypeScript)",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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