sounisi5011 / npm-packages Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
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
I found a tool that I'm interested in, called lage.
I found a great tool called actionlint
.
GitHub Actions のワークフローをチェックする actionlint をつくった - はやくプログラムになりたい
I think this should be installed in this project!
Using Intl.ListFormat
we can exclude the word-join
package from our dependencies.
import wordJoin from 'word-join';
const listData = ['foo', 'bar', 'baz'];
wordJoin(listData, { conjunction: 'or', oxford: true }) === new Intl.ListFormat('en-US', { type: 'disjunction' }).format(listData)
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"
.
Currently, we target Node.js 12+ for compilation by writing such a configuration in tsconfig.base.json
.
npm-packages/tsconfig.base.json
Lines 7 to 10 in cfc9a3f
I found a package that can inherit this configuration: @tsconfig/node12
I think this is worth installing in this project.
Hashes generated with the weak Argon2 option are vulnerable to attack.
For this reason, node-argon2 changed the minimum values of timeCost and memoryCost.
@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.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
graceful-fs
, @types/graceful-fs
)semver
, @types/semver
)husky
, lint-staged
, prettier
)actions/download-artifact
, actions/upload-artifact
)These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
dprint
, lint-staged
, prettier
, sort-package-json
)@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
, eslint
, eslint-config-prettier
, eslint-config-standard
, eslint-plugin-import
, eslint-plugin-jest
, eslint-plugin-n
, eslint-plugin-vitest
)@types/jest
, jest
)@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
, eslint-config-prettier
, eslint-config-standard-with-typescript
, eslint-plugin-n
).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
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
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:
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).
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.