1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-05 09:10:53 +01:00
Commit Graph

136 Commits

Author SHA1 Message Date
Oscar Hinton
b4555039d8
Add eslint (#496) 2022-03-03 12:24:41 -05:00
Daniel James Smith
caf6a1173b
Add importing of 1passwords 1pux files (#440)
* Pull in jslib

* Install jszip

* Add method in utils to unzip and extract 1pux file

* Add importing/extracting of 1pux files to import command

* Update jslib

* Update package-lock.json
2022-03-03 15:32:49 +01:00
Kyle Spearrin
ed33d77b7e
Serve command fixes (#492)
* change to koa to support async/await

* get rid of session header

* error is unlocked for certain commands

* fix lint error

* use "object" routes

* revert change to vs code  launch
2022-02-25 17:35:27 -05:00
Thomas Rittson
eb5be3c72f
Exclude jslib from prettier hook (#486) 2022-02-17 10:37:25 +10:00
github-actions[bot]
a262da0452
Bump version to 1.21.1 (#484)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-02-14 12:26:34 -06:00
github-actions[bot]
e8181e415b
Bump version to 1.21.0 (#473)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-02-10 12:29:40 -07:00
Matt Gibson
ee664059d2
Fix/lock lowdb file (#470)
* Lock data.json while running

* Await floating promises

* Increase retry frequency and attempt count for lock file

* tweak lock retry times
2022-02-10 10:24:41 -06:00
Matt Gibson
21e8db9636
Create testing framework for CLI (#453)
* Create testing framework for CLI

- Need to add tsconfig for specs to convert module format and add spec
dir to output
- Use jasmine-ts to test

expected dev cycle would be to have two watchers, one for jslib
and one for CLI tests. We could add jslib tests to this jasmine config,
but it feels wrong to test a submodule

* Run prettier

* Add tests to build pipeline

* Include required package

* Add placeholder test

* Run prettier

* Add nodemon and fix watch
2022-01-21 10:28:36 -06:00
Kyle Spearrin
922cd1dc54
serve command (#451) 2022-01-19 10:45:14 -05:00
Daniel James Smith
f26bfb5859
Add ts files to prettier (#433)
* Add ts files to prettier

* Add all filestypes to prettier and ignore via .prettierignore

* Add --ignore-unknown to prettier
2022-01-07 19:14:02 +01:00
Matt Gibson
7bc485b08d
Update webpack (#430)
* Update webpack

* also install dev dependencies in CI

* Add rimraf

* fix added whitespace

* Clarify node warnings and NPM compatibility
2021-12-29 12:05:33 -06:00
Oscar Hinton
ec53a16c00
Add Prettier configuration (#425) 2021-12-20 17:44:12 +01:00
Daniel James Smith
18073696d0
Bump node to v16 (#422)
* Pull in jslib

* Bump engines required to node 16 and npm 8

* Bump @types/node to 16

* Modify build.yml to build with node 16 and npm 8

* Update requirements in README.md

* Update 'setup-node' action version

* Update 'pkg' to 5.5.1

* Removed installation of npm8
npm8 is included in node v16

* Pull jslib

* Change engines to only warn on node < 16

Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
2021-12-13 17:18:20 +01:00
github-actions[bot]
3e4aa8e476
Bumped version to 1.20.0 (#421)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-12-08 09:48:33 -05:00
Oscar Hinton
d0e4abf297
Run npm lint in CI (#416) 2021-12-03 20:34:59 +00:00
Joseph Flinn
9d12d49072
Version Bump 1.19.1 (#400) 2021-10-27 15:47:42 -07:00
Joseph Flinn
3e05935262
Version Bump 1.19.0 (#397) 2021-10-27 08:42:04 -07:00
Joseph Flinn
07851bea53
Version bump to 1.18.1 (#376) 2021-09-22 08:39:04 -07:00
Matt Gibson
e3c05b7bbd
1.18.0 (#363) 2021-08-17 14:04:48 -05:00
Oscar Hinton
4ec06bbd1e
Add support for helpers in environment service (#353) 2021-07-23 22:46:32 +02:00
Joseph Flinn
f0c1f1b16b
Fix the Windows Node Exe details (#350)
* fixing the resource hacker hash checking issue

* updating package command

* updating the release workflow to match the build workflow. Removing the unneeded env var

* fixing some formatting
2021-07-14 11:41:05 -07:00
Oscar Hinton
4656b6e383
[Version] Bump to 1.17.1 (#345) 2021-07-01 15:52:03 +02:00
Oscar Hinton
347ebb5b36
Remove jslib as dependency, and re-add the old dependencies (#344) 2021-07-01 14:17:34 +02:00
Vincent Salucci
e1b4481f32
[Version] Bump to 1.17.0 (#336) 2021-06-28 12:42:18 -05:00
Oscar Hinton
477066118e
Add jslib as a "real" dependency (#321)
* Split jslib

* Bump jslib

* Bump jslib, replace alias with tsconfig-paths-webpack-plugin
2021-06-07 19:25:55 +02:00
Oscar Hinton
942eb5cfa5
Bump NPM to v7 (#311)
* Bump NPM to v7

* Add NPM v7 to readme
2021-05-26 22:34:39 +02:00
Oscar Hinton
1b22c91f35
Bump node to 14 (#296)
* Bump node to 14

* Change engine node to ~14. Fix linting
2021-05-14 14:30:26 +02:00
Oscar Hinton
9c55d78ffc
Update dependencies (#292)
* Update dependencies

* Remove types which are no longer needed

* Bump jslib

* Revert pkg to 4.5.1 since 5.0.0 does not compile on linux.

* Bump pkg-fetch in build pipeline
2021-04-23 21:04:11 +02:00
Vincent Salucci
679ad19561
[Version] Bump to 1.16.0 (#294) 2021-04-22 12:02:30 -05:00
Kyle Spearrin
5ed32739df revert pkg update 2021-04-12 12:54:16 -04:00
Kyle Spearrin
8131d01c7a npm audit fix 2021-04-12 11:43:53 -04:00
Kyle Spearrin
10114c02aa update some libs 2021-04-12 11:42:35 -04:00
Snyk bot
10abf12ad6
fix: upgrade node-forge from 0.7.6 to 0.10.0 (#279)
Snyk has created this PR to upgrade node-forge from 0.7.6 to 0.10.0.

See this package in npm:
https://www.npmjs.com/package/node-forge

See this project in Snyk:
https://app.snyk.io/org/kspearrin/project/415cdf2b-8075-4802-96cc-3dede3285373?utm_source=github&utm_medium=upgrade-pr
2021-04-12 11:37:30 -04:00
Snyk bot
0fc2472fa6
fix: upgrade big-integer from 1.6.36 to 1.6.48 (#278)
Snyk has created this PR to upgrade big-integer from 1.6.36 to 1.6.48.

See this package in npm:
https://www.npmjs.com/package/big-integer

See this project in Snyk:
https://app.snyk.io/org/kspearrin/project/415cdf2b-8075-4802-96cc-3dede3285373?utm_source=github&utm_medium=upgrade-pr
2021-04-12 11:36:49 -04:00
Kyle Spearrin
594d5a77f9
Update package.json
resolves #256
2021-03-30 10:04:01 -04:00
Matt Gibson
0d5a966734
Hotfix version bump (#259) 2021-03-17 08:48:04 -05:00
Thomas Rittson
b80c93012b
Minor release version bump to 1.15.0 (#249)
* Minor release version bump to 1.15.0

* version bump in package-lock

Co-authored-by: Chad Scharf <3904944+cscharf@users.noreply.github.com>
2021-03-10 12:11:59 -05:00
Matt Gibson
57f7cf607a
Add send to cli (#222)
* Add list all sends and filter by search term

* Add get send templates

* Add AccessUrl to send responses

* Add Send to Get command

* Add missing command options to login

These options are already coded to work in the command, but commander
did not know about the options.

* Upgrade Commander to 7.0.0

This is needed to enable the subcommand chaining required by Send.

This commit also adds get send and send receive functionality. get send
will be moved to send get along with send list and any other send commands.

* Use api url for send access url

* Move send commands to send subcommands

* Use webvault access url everywhere

Production instances all have api url located at `baseUrl/api`.
Receive command will parse the webvault url and alter it to an api url.

* Move create and receive commands to send directory

* Separate program concerns

program holds authentication/general program concerns
vault.program holds commands related to the vault
send.program holds commands related to Bitwarden Send

* Fix up imports and lint items

* Add edit command

* Use browser-hrtime

* Add send examples to help text

* Clean up receive help text

* correct help text

* Add delete command

* Code review Cleanup

* Scheme on send receive help text

* PR review items

Move buffer to array buffer to jslib
delete with server
some formatting fixes

* Add remove password command

This is the simplest way to enable removing passwords without
resorting to weird type parsing of piped in Send JSONs in edit

* Default hidden to false like web

* Do not allow password updates that aren't strings or are empty

* Delete appveyor.yml.flagged-for-delete

* Correctly order imports and include tslint rule

* fix npm globbing problem

https://stackoverflow.com/a/34594501
globs work differently in package.json. Encasing the globs in
single quotes expands them in shell rather than in npm

* Remove double slash in path

* Trigger github rebuild
2021-02-03 11:44:33 -06:00
Marcos Soutullo Rodriguez
6579c862f4 Bump https-proxy-agent dep. to 5.0.0 2021-02-01 15:19:21 +10:00
addison
5abd8f7d15 changed hrtime library 2021-01-25 13:36:44 -05:00
Chad Scharf
2ad7e1bdd2 version bump 1.14.0 2021-01-19 15:11:46 -05:00
Matt Gibson
0330641a14
Response option outputs only json on stdout (#197)
* Use logService for console logging

* jslib signature updates

* Use most specific import path

* Include new jslib dependency

* Update jslib

Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan>
2020-12-14 11:29:17 -06:00
Kyle Spearrin
16d53b7f6f bump version 2020-12-02 15:38:25 -05:00
Addison Beck
b7ded80ff0 updated version 2020-11-13 16:47:29 -05:00
Kyle Spearrin
cf9263164c bump version 2020-11-13 15:46:32 -05:00
Chad Scharf
35b2ae848e Revert https-proxy-agent version 2020-11-13 14:54:33 -05:00
Chad Scharf
023a7af65c
Merge pull request #183 from kitos9112/master
Bump https-proxy-agent dep. to 5.0.0 - This PR hopes to fix #181
2020-11-13 14:09:39 -05:00
Marcos Soutullo Rodriguez
e6e5f805e9
Roll back package.json patch version 2020-11-13 18:35:36 +00:00
Addison Beck
51c5aed765
bumped version (#185) 2020-11-13 13:32:18 -05:00
Marcos Soutullo Rodriguez
4b65000c2f
Bump https-proxy-agent dep. to 5.0.0 2020-11-12 23:46:55 +00:00