Code Monkey home page Code Monkey logo

npm-packages's People

Contributors

github-actions[bot] avatar renovate[bot] avatar sounisi5011 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

npm-packages's Issues

Decrypt file in React Native

Hello,

I am looking for a way to decrypt files encrypted on server with this module on mobile app using React Native. Do you know how to do that?
This package does not work with React Native so I need to find another package for the mobile part.

Thanks for your help

[`@sounisi5011/ts-utils-is-property-accessible`] can not import from CommonJS TypeScript files

If the type field in package.json is "module", TypeScript will throw the following error:

foo.cts:1:34 - error TS1479: The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("@sounisi5011/ts-utils-is-property-accessible")' call instead.

1 import { isPropAccessible } from '@sounisi5011/ts-utils-is-property-accessible';
                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I think the type field should be "commonjs".

Simplify tsconfig.base.json using @tsconfig/node12

Currently, we target Node.js 12+ for compilation by writing such a configuration in tsconfig.base.json.

// Node.js 12 and above almost supports features up to ES2019
// see https://node.green/#ES2019
// see https://www.staging-typescript.org/tsconfig#target
"target": "ES2019",

I found a package that can inherit this configuration: @tsconfig/node12
I think this is worth installing in this project.

[`@sounisi5011/encrypted-archive`] Disallow weak Argon2 options

Hashes generated with the weak Argon2 option are vulnerable to attack.
For this reason, node-argon2 changed the minimum values of timeCost and memoryCost.

see ranisalt/node-argon2#303

@sounisi5011/encrypted-archive should also prohibit weak options for new encryption.
Note: This limit should not be introduced for decryption. If the new limit is requested during decryption, decryption of the old archive will fail and backward compatibility will be lost.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • chore(deps): replace dependency npm-run-all with npm-run-all2 5.0.0
  • chore(deps): update dependency @swc/jest to v0.2.36
  • chore(deps): update dependency @types/argon2-browser to v1.18.4
  • chore(deps): update dependency @types/capitalize to v2.0.2
  • chore(deps): update dependency @types/cross-spawn to v6.0.6
  • chore(deps): update dependency @types/google-protobuf to v3.15.12
  • chore(deps): update dependency @types/node to v14.18.63
  • chore(deps): update dependency @types/node to v16.18.86
  • chore(deps): update dependency @types/parse-json to v4.0.2
  • chore(deps): update dependency @types/readline-transform to v1.0.4
  • chore(deps): update dependency @types/signal-exit to v3.0.4
  • chore(deps): update dependency @types/validate-npm-package-name to v4.0.2
  • chore(deps): update dependency @types/varint to v6.0.3
  • chore(deps): update dependency @types/write-file-atomic to v4.0.3
  • chore(deps): update dependency grpc_tools_node_protoc_ts to v5.3.3
  • chore(deps): update dependency spawk to v1.8.1
  • chore(deps): update dependency typescript to v4.9.5
  • fix(deps): update dependency @actions/core to v1.10.1
  • fix(deps): update dependency graceful-fs to v4.2.11 (graceful-fs, @types/graceful-fs)
  • fix(deps): update dependency path-starts-with to v2.0.1
  • chore(deps): update dependency @rollup/plugin-typescript to v11.1.6
  • chore(deps): update dependency @vercel/ncc to v0.38.1
  • chore(deps): update dependency bytefield-svg to v1.8.0
  • chore(deps): update dependency execa to v7.2.0
  • chore(deps): update dependency semver to v7.6.0 (semver, @types/semver)
  • chore(deps): update dependency tsd to v0.30.7
  • chore(deps): update dependency turbo to v1.12.4
  • chore(deps): update dependency vitest to v0.34.6
  • chore(deps): update pnpm to v6.35.1
  • fix(deps): update dependency workspace-tools to v0.36.4
  • fix(deps): update dependency zod to v3.22.4
  • fix(deps): update dependency zod-validation-error to v1.5.0
  • chore(deps): update actions/cache action to v4
  • chore(deps): update actions/checkout action to v4
  • chore(deps): update actions/setup-node action to v4
  • chore(deps): update code formatter packages (major) (husky, lint-staged, prettier)
  • chore(deps): update dependency @tsconfig/node12 to v12
  • chore(deps): update dependency concurrently to v8
  • chore(deps): update dependency filenamify to v6
  • chore(deps): update dependency jest-serializer-ansi-escapes to v3
  • chore(deps): update dependency minify to v11
  • chore(deps): update dependency type-fest to v4
  • chore(deps): update dependency typescript to v5
  • chore(deps): update dependency vitest to v1
  • chore(deps): update fantasticfiasco/action-update-license-year action to v3
  • chore(deps): update github artifact actions to v4 (major) (actions/download-artifact, actions/upload-artifact)
  • chore(deps): update google-github-actions/release-please-action action to v4
  • chore(deps): update madhead/semver-utils action to v4
  • chore(deps): update node.js to v20
  • chore(deps): update pnpm to v8
  • fix(deps): update dependency @actions/github to v6
  • fix(deps): update dependency @octokit/endpoint to v10
  • fix(deps): update dependency execa to v8
  • fix(deps): update dependency globby to v14
  • fix(deps): update dependency hosted-git-info to v7
  • fix(deps): update dependency parse-json to v8
  • fix(deps): update dependency signal-exit to v4
  • fix(deps): update dependency zod-validation-error to v3
  • chore(deps): lock file maintenance
  • 🔐 Create all rate-limited PRs at once 🔐

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/check-pr-title.yaml
  • aslafy-z/conventional-pr-title-action v3
.github/workflows/ci.yaml
  • actions/checkout v3
  • actions/setup-node v3
  • actions/cache v3
  • actions/upload-artifact v3
  • actions/upload-artifact v3
  • actions/checkout v3
  • actions/download-artifact v3
  • actions/download-artifact v3
  • actions/setup-node v3
  • actions/cache v3
  • actions/checkout v3
  • actions/download-artifact v3
  • actions/download-artifact v3
  • actions/setup-node v3
  • actions/checkout v3
  • actions/download-artifact v3
  • actions/download-artifact v3
  • actions/setup-node v3
  • actions/checkout v3
  • actions/checkout v3
  • actions/download-artifact v3
  • actions/download-artifact v3
  • actions/setup-node v3
  • madhead/semver-utils v3
  • actions/cache v3
.github/workflows/pr-auto-approve.yaml
  • hmarr/auto-approve-action v3
.github/workflows/release.yaml
  • actions/checkout v3
  • google-github-actions/release-please-action v2
  • actions/checkout v3
  • actions/setup-node v3
  • actions/cache v3
  • actions/checkout v3
  • actions/setup-node v3
  • actions/cache v3
.github/workflows/update-license-year.yaml
  • actions/checkout v3
  • FantasticFiasco/action-update-license-year v2
npm
actions/get-nodejs-versions-array/package.json
  • @actions/core 1.10.0
  • graceful-fs 4.2.10
  • parse-json 6.0.2
  • semver 7.3.8
  • zod 3.21.0
  • zod-validation-error 1.0.1
  • @types/graceful-fs 4.1.6
  • @types/node 16.18.14
  • @types/parse-json 4.0.0
  • @types/semver 7.3.13
  • @vercel/ncc 0.36.1
  • execa 7.0.0
  • filenamify 5.1.1
  • minify 9.2.0
  • shx 0.3.4
  • typescript 4.9.5
  • vitest 0.29.2
  • node 16
actions/monorepo-workspace-submodules-finder/package.json
  • @actions/core 1.10.0
  • @actions/exec 1.1.1
  • @actions/github 5.1.1
  • @octokit/endpoint 7.0.3
  • find-git-root 1.0.4
  • path-starts-with 2.0.0
  • validate-npm-package-name 5.0.0
  • workspace-tools 0.29.1
  • @swc/core 1.3.25
  • @swc/jest 0.2.24
  • @types/jest 29.2.5
  • @types/node 16.18.11
  • @types/validate-npm-package-name 4.0.0
  • @vercel/ncc 0.36.0
  • cross-env 7.0.3
  • jest 29.3.1
  • jest-mock-process 2.0.0
  • nock 13.2.9
  • spawk 1.8.0
  • turbo 1.8.2
  • typescript 4.9.4
  • node 16
package.json
  • @tsconfig/node12 1.0.11
  • @typescript-eslint/eslint-plugin 5.48.1
  • @typescript-eslint/parser 5.48.1
  • commitizen 4.2.6
  • cz-conventional-changelog 3.3.0
  • dprint 0.34.1
  • eslint 8.31.0
  • eslint-config-prettier 8.6.0
  • eslint-config-standard 17.0.0
  • eslint-config-standard-with-typescript 26.0.0
  • eslint-import-resolver-enhanced-resolve 1.0.5
  • eslint-plugin-eslint-comments 3.2.0
  • eslint-plugin-import 2.26.0
  • eslint-plugin-jest 27.2.1
  • eslint-plugin-n 15.6.0
  • eslint-plugin-node 11.1.0
  • eslint-plugin-promise 6.1.1
  • eslint-plugin-vitest 0.0.54
  • husky 8.0.3
  • lint-staged 13.1.0
  • npm-run-all 4.1.5
  • prettier 2.8.2
  • prettier-package-json 2.8.0
  • sort-package-json 2.1.0
  • turbo 1.8.2
  • typescript 4.9.4
  • ultra-runner 3.10.5
  • node ^12.17.x || 14.x || 15.x || 16.x || 17.x || >=18.x
  • pnpm 6.x
  • pnpm 6.32.25
packages/check-pid-file/package.json
  • find-process ^1.4.4
  • signal-exit ^3.0.3
  • write-file-atomic ^5.0.0
  • @swc/core 1.3.25
  • @swc/jest 0.2.24
  • @types/jest 29.2.5
  • @types/node 14.18.36
  • @types/readline-transform 1.0.1
  • @types/signal-exit 3.0.1
  • @types/write-file-atomic 4.0.0
  • jest 29.3.1
  • readline-transform 1.0.0
  • turbo 1.8.2
  • typescript 4.9.4
  • node ^14.13.1 || 16.x || >=18.x
packages/cli-utils/top-level-await-cli/package.json
  • @swc/core 1.3.25
  • @swc/jest 0.2.24
  • @types/node 12.20.55
  • turbo 1.8.2
  • typescript 4.9.4
  • node ^12.17.x || 14.x || 15.x || 16.x || 17.x || >=18.x
packages/cli/run-if-supported/package.json
  • command-join ^3.0.0
  • cross-spawn ^7.0.3
  • npm-install-checks ^6.0.0
  • ow ^1.0.0
  • parse-json ^6.0.0
  • pkg-up ^4.0.0
  • @swc/core 1.3.25
  • @swc/jest 0.2.24
  • @types/cross-spawn 6.0.2
  • @types/jest 29.2.5
  • @types/node 14.18.36
  • @types/parse-json 4.0.0
  • cross-env 7.0.3
  • execa 6.1.0
  • is-plain-obj 4.1.0
  • jest 29.3.1
  • turbo 1.8.2
  • type-fest 3.5.1
  • typescript 4.9.4
  • node >=14.13.1
packages/encrypted-archive/package.json
  • argon2-browser ^1.15.4
  • capitalize ^2.0.3
  • google-protobuf ^3.15.8
  • varint ^6.0.0
  • @protobuf-ts/protoc 2.8.2
  • @swc/core 1.3.25
  • @swc/jest 0.2.24
  • @types/argon2-browser 1.18.1
  • @types/capitalize 2.0.0
  • @types/google-protobuf 3.15.6
  • @types/node 12.20.55
  • @types/semver 7.3.13
  • @types/varint 6.0.1
  • bytefield-svg 1.7.0
  • combinate 1.1.11
  • concurrently 7.6.0
  • glob-exec 0.1.1
  • grpc_tools_node_protoc_ts 5.3.2
  • import-from 4.0.0
  • multicodec 3.2.1
  • semver 7.3.8
  • tsd 0.25.0
  • turbo 1.8.2
  • typescript 4.9.4
  • word-join 0.0.1
  • node ^12.17.x || 14.x || 15.x || 16.x || 17.x || >=18.x
packages/jest-matchers/binary-data/package.json
  • @swc/core 1.3.25
  • @swc/jest 0.2.24
  • @types/node 12.20.55
  • cross-env 7.0.3
  • jest-serializer-ansi-escapes 2.0.1
  • typescript 4.9.4
  • node ^12.17.x || 14.x || 15.x || 16.x || 17.x || >=18.x
packages/stream-transform-from/package.json
  • @swc/core 1.3.25
  • @swc/jest 0.2.24
  • @types/node 12.20.55
  • tsd 0.25.0
  • turbo 1.8.2
  • typescript 4.9.4
  • node ^12.17.x || 14.x || 15.x || 16.x || 17.x || >=18.x
packages/ts-type-utils/has-own-property/package.json
  • tsd 0.25.0
  • turbo 1.8.2
  • typescript 4.9.4
packages/ts-type-utils/is-readonly-array/package.json
  • tsd 0.25.0
  • turbo 1.8.2
  • typescript 4.9.4
packages/ts-utils/is-property-accessible/package.json
  • @betit/rollup-plugin-rename-extensions 0.1.0
  • @rollup/plugin-typescript 11.0.0
  • @swc/core 1.3.25
  • @swc/jest 0.2.24
  • glob-exec 0.1.1
  • tsd 0.25.0
  • turbo 1.8.2
  • typescript 4.9.4
scripts/actionlint/package.json
  • cross-spawn ^7.0.3
  • node-fetch ^3.3.0
  • node ^12.20.0 || ^14.13.1 || >=16.0.0
scripts/fix-flatbuffers-generated-ts/package.json
  • node ^12.20 || >=14.13.1
scripts/globby-exec/package.json
  • cross-spawn ^7.0.3
  • globby ^13.1.3
  • node ^12.20 || >=14.13
scripts/package.json
  • execa ^6.1.0
  • node ^14.13.1 || 15.x || 16.x || 17.x || >=18.x
scripts/update-package-list/package.json
  • hosted-git-info ^6.1.1
  • strict-uri-encode ^2.0.0
  • validate-npm-package-name ^5.0.0
  • workspace-tools ^0.29.1
  • node ^12.20 || >=14.13.1
scripts/update-readme-badge/package.json
  • workspace-tools ^0.29.1
  • node >=14.13.1

  • Check this box to trigger a request for Renovate to run again on this repository

[`@sounisi5011/encrypted-archive`] Maybe the `compress` option should be deprecated

When first released, @sounisi5011/encrypted-archive was designed for Node.js.
Therefore, the value of the compress option was also designed to be the same as the option in the Node.js zlib module.
However, for @sounisi5011/encrypted-archive to support browsers, Deno and React Native, the value of the compress option would have to be changed.

Possible solutions are either:

  1. Use Node.js compliant compress options at all runtimes for compatibility

    Adopting this plan requires a deep understanding of the behavior of the compression modules provided by each runtime.
    So far we do not even understand the internal workings of the zlib module provided by Node.js (So we wrote a test of compression for all combination).

  2. Use different compress options at each runtime.

    Users can use the compression options they are familiar with.
    However, it is currently not possible to use different type declarations at different runtimes.

  3. Remove the compress option.

    It is the easiest way. However, it is a breaking change.
    It should also continue to support decompression for backward compatibility.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.