公共组件、公共样式集合
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

31 KiB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

v2.4.12 - 2025-07-01

Commits

  • [eslint] switch to eslint 7acadfb
  • [meta] add auto-changelog b46e711
  • [eslint] fix package.json indentation df9d521
  • [Tests] migrate from travis to GHA c43c64a
  • [Fix] support multi-byte wide typed arrays f2a258e
  • [meta] reorder package.json d8d77c0
  • [meta] add npmignore 35aec35
  • [Tests] avoid console logs 73e33ae
  • [Tests] fix tests run in batch 2629130
  • [Tests] drop node requirement to 0.10 00c7f23
  • [Dev Deps] update buffer, hash-test-vectors, standard, tape, typedarray 92b5de5
  • [Tests] drop node requirement to v3 9b5eca8
  • [meta] set engines to >= 4 807084c
  • Only apps should have lockfiles c72789c
  • [Deps] update inherits, safe-buffer 5428cfc
  • [Dev Deps] update @ljharb/eslint-config 2dbe0aa
  • update README to reflect LICENSE 8938256
  • [Dev Deps] add missing peer dep d528896
  • [Dev Deps] remove unused buffer dep 94ca724

v2.4.11 - 2018-03-20

Merged

  • Project is bound by MIT AND BSD-3-Clause licenses. #55

v2.4.10 - 2018-01-22

Merged

  • Modified greater than uint32 bits data test #53
  • convert lowBits to unsigned in hash.js #51

Commits

  • Simplify bigData allocation 107141a
  • Modified large file test 9d037bd

v2.4.9 - 2017-09-25

Merged

  • Buffer: use alloc/allocUnsafe/from instead new #50
  • Change "new shajs.SHA256()" to lowercase to make it actually work. #48
  • drop Node <4 #46
  • hash: _update never returns anything #45
  • README: remove typed array comments, re-format support algorithms #40
  • Fix digesting of large data (more than MAX_UINT32 bits) #43
  • use buffer module #41

Commits

  • tests: compare hex, not byte-by-byte (easier debugging) 5d5a8d8
  • hash: remove repeated remainder calculation 158bc83
  • tests: use safe-buffer constructors 1ac913b
  • hash: increase readability of block-by-block hashing e9ff865
  • use safe-buffer 22adba6
  • Add test for large data e963695
  • tests: formatting 678c338
  • Fix digesting of large data aee24f1
  • hash: update never returns anything d308cb0
  • hash: rm unnecessary _s state 388d45e
  • npmignore: ignore test/ 03702a8
  • package: bump standard 8551e53

v2.4.8 - 2016-11-11

Commits

v2.4.7 - 2016-11-10

Commits

v2.4.6 - 2016-11-10

Merged

  • use hash-base #36
  • travis: add node 6 #38
  • 2.4.5 #35

Commits

v2.4.5 - 2016-02-26

Merged

  • Improve performace #34
  • Add node v4 and v5 to travis config #33

Commits

v2.4.4 - 2015-09-19

Merged

  • inline Sigma functions #32

v2.4.3 - 2015-09-15

Merged

  • Remove testling #31

Fixed

  • Adds npm badge (resolves #28) #28

Commits

v2.4.2 - 2015-06-05

Merged

  • Use standard #26

Commits

v2.4.1 - 2015-05-19

Merged

  • Update README.md #22

v2.4.0 - 2015-04-05

Commits

  • sha0: add implementation ca6950d
  • document legacyness of sha1 and sha0 4563da6
  • README: not just SHA1 anymore 2a67456

v2.3.6 - 2015-01-14

Commits

  • transfer to crypto-browserify org 40f1aa9

v2.3.5 - 2015-01-14

Commits

v2.3.4 - 2015-01-13

Commits

  • sha1: use a closure over separate loops 26a75ec

v2.3.3 - 2015-01-13

Commits

  • sha1: unroll conditionals f830142
  • sha1: use a closure over seperate loops bf46619
  • sha1: inline _ft, _kt functions 3b32ff2

v2.3.2 - 2015-01-12

Commits

  • improve sha* code structuring consistency d35623d
  • sha*: avoid unnecessary var declaration separation d985016
  • sha1: format sha1_kt similar to sha1_ft for clarity c18e7eb
  • adds .gitignore for node_modules 9dc2814

v2.3.1 - 2015-01-12

Commits

  • Use inherits module instead of util aef9b82

v2.3.0 - 2014-11-18

Commits

v2.2.7 - 2014-11-06

Commits

  • use hash-test-vectors module 526e246

v2.2.6 - 2014-09-18

Commits

  • don't use global module 8734884
  • safely check for IntArray32 existance e2376fd

v2.2.5 - 2014-09-16

Commits

  • move buffer and typedarray into devdeps 68797f9

v2.2.4 - 2014-09-16

Commits

v2.2.3 - 2014-09-16

Commits

v2.2.2 - 2014-09-16

Merged

  • Copyright to contributors #10

Commits

  • LICENSE: update to include all contributors ac05b4d

v2.2.1 - 2014-09-16

Commits

  • document implemented hashes d123901

v2.2.0 - 2014-09-16

Commits

  • sha512: add implementation 3e19416
  • fixtures: remove unused md4 data 13e43c5
  • get tests working correctly 01e393f
  • remove utils.js 418d59d
  • fixtures: cleanup of vectors generation 40f50cc
  • sha: jshint cleanup a04fae0
  • hash: adhere to NIST paper properly fb2e39f
  • hash: increase verbosity b431a1a
  • hash: use update() argument instead 0703b9d
  • sha: remove unused POOL 0299989
  • README: add newline before testling badge a184d68
  • LICENSE: update to include all contributors edf48c3
  • index: remove unused export b4de630

v2.1.8 - 2014-08-31

Merged

  • check if DataView exist before using instanceof check #6

v2.1.7 - 2014-07-24

Commits

  • check for streaming updates 4fc22d2
  • also test with 3 partial updates 37981e0
  • Fix streaming updates (limit writing so it doesn't go over block size) 50b8ddb

v2.1.6 - 2014-07-19

Merged

  • Fixes disparity between 'SHA1' working on node but failing in browser #3

v2.1.5 - 2014-06-07

Commits

v2.1.4 - 2014-06-07

Commits

  • add tests from NIST 422aa1f
  • code to prepare nist-vectors.json e799a6f
  • inject Buffer dep, so can test with different implementations 3d89958
  • initial c1cabff
  • expose createHash, like node's crypto 41a1c53
  • update stuff, still one problem with finalizing some lengths... d91aabb
  • inject Buffer dep into hash 21df559
  • refactor tests fa6f893
  • this is quite a bit faster 84379b3
  • implement sha256! 70a6101
  • tidy dce6d28
  • move of string stuff, use dataview 55c7003
  • update to buffer incrementally 8cbcade
  • refactor, to use buffers in tests 8e7119b
  • this is a little faster, but not much... 55dfc90
  • refactor util functions out 283f192
  • more encodings e5071ca
  • more tests 655a7be
  • deal with endianness 1331b1f
  • remove custom encoding stuff - just use buffer b464d5b
  • add more encodings to write 19ce345
  • separate basic stuff into Hash function fe59f0c
  • experiment using node buffers 27f6767
  • Several Memory Related Performance Improvements 9b9badc
  • tidy 51c40fa
  • use toggle to compare with forge, but inlining makes this the same perf, although removing safe_add improved perf a lot 15f80b9
  • remove unused utils a331a15
  • tests for Hash 417c298
  • for some reason, this is MUCH faster! 91649a6
  • leaking globals 7e94cf7
  • delete fakebuffer.js e42d66c
  • use bigendian f633b94
  • fix digest fdee30b
  • tidy 6f03926
  • test incremental update d11e6f6
  • fake buffer, based on DataView 71a31b6
  • command to hash a large file 618f16d
  • { on end of line 8c1a1a7
  • hammer in a piton, incase I fall off this cliff 0a211b2
  • basic tests for encoding dece220
  • tests for hex encoding f860f65
  • fix fakebuffer c421953
  • remove encoding utils b0a9d4b
  • tidy 72b825b
  • tests for fakebuffer 391fc9f
  • avoid unnecessary overwrite, 5% improvement d061547
  • use dataview 04b9dee
  • update vector test to cover sha256 aa0d4fa
  • readme 6a9992a
  • toHex supports strings and buffers 9e17355
  • remove redundant tests 9c701f4
  • testling 3515f2f
  • support hex encoding b1488b5
  • remove logging ce7d53a
  • the working buffer can use system default endianness 3da2747
  • use dataview bdba2ec
  • support binary encoding 7b0cae7
  • refactor tests, for createHash f424197
  • Int32 is a little faster than Uint32 c61542e
  • simplify bit manipulations 7e2fc4c
  • tidy e34e8b5
  • load browserify.js to force native-buffer-browserify fd5e58a
  • tidyup 12e401b
  • this tiny change make it 11% faster on 174mb file! f58c321
  • support multiple encodings 36506c6
  • tidy 2c664aa
  • update hash tests - for some reason, t.deepEqual doesn't work well on buffers? 8e8e854
  • rename to Sha1 6620d1a
  • tidy 2313658
  • use bops for encoding/decoding 48d1eb9
  • handle large updates all at once, to pass NIST tests f2adc77
  • use bops 5167411
  • use fakebuffer instead of buffer a6398fe
  • remove final, and force to Uint8Array c42eb76
  • todo 52ef73e
  • remove debugging stuff afeb954
  • use bops@0.1.1 ccb7eaf
  • convert to string abe5373
  • work around tape/ff b95d57c
  • remove bops 4d9fb4d
  • this made no difference 0a0ee38
  • drop support for legacy versions e7c530f
  • a few more test cases 48ce51b
  • use buffer methods 6a572d2
  • getter for buffer length 56c1e35
  • more debuging f1c9d10
  • HAHA IT WORKS ee95185
  • test coverage for binary encoding 96e417c
  • set debug mode to show time elapsed 36d4639
  • interpret utf-8 as utf8 53bd808
  • use browserify edge case to get browser version of core module in node 657c0a9
  • native-buffer-browserify -> buffer c6a2777
  • do not run test/test.js in the browser, it depends on node.js d1d4ac8
  • compute correct length for binary string c616d74
  • tidy d176073
  • this is twice as fast! turns out creating DataViews is quite slow! /cc @feross 3ba9a1f
  • use _blockLength property fdf1030
  • allow subclass to give hash by _hash method d47673b
  • use my toHex 76ffe66
  • didin't work 254a4e8
  • always run all tests 18f39f8
  • remove hexpp e7f3030
  • make installable as a command f6842dd
  • 0.11 is not working... a6aacc6