Skip to content

Commit 1136cce

Browse files
committed
10.3.0 release
1 parent 4f106d2 commit 1136cce

File tree

101 files changed

+2043
-3243
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+2043
-3243
lines changed

ChangeLog.txt

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,25 @@
11

22
ChangeLog for jsrsasign
33

4-
* Changes from 10.2.0 to next release
4+
remove all YUI dependency
5+
* Changes from 10.2.0 to 10.3.0
6+
- remove YUI library dependency
7+
- LICENSE.txt
8+
- remove YUI license
9+
- src/base64x.js
10+
- add extendClass function to replace YUI class extend
11+
- src/*.js
12+
- replace YAHOO.lang.extend to extendClass all
13+
- src/keyutil.js
14+
- change to raise exception in KEYUTIL class with Error class
515
- src/asn1x509.js
616
- API document update for Extesions and CRLReason class
717
- npm_util/package.json
818
- fix dependencies (#482)
19+
- test/qunit-do-*.html
20+
- updated to follow above
21+
- test/qunit-do-base64x-class.html added
22+
- test for extendClass function
923

1024
CVE-2021-30246 RSAKey.verify issue fix
1125
* Changes from 10.1.13 to 10.2.0 (2021-04-14)

LICENSE.txt

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -86,44 +86,6 @@ https://code.google.com/p/crypto-js/wiki/License
8686
FILES: ext/cryptojs-*.js
8787
----
8888

89-
YUI Library
90-
91-
Software License Agreement (BSD License)
92-
93-
Copyright c 2013 Yahoo! Inc. All rights reserved.
94-
95-
Redistribution and use of this software in source and binary forms,
96-
with or without modification, are permitted provided that the
97-
following conditions are met:
98-
99-
- Redistributions of source code must retain the above copyright
100-
notice, this list of conditions and the following disclaimer.
101-
102-
- Redistributions in binary form must reproduce the above copyright
103-
notice, this list of conditions and the following disclaimer in the
104-
documentation and/or other materials provided with the distribution.
105-
106-
- Neither the name of Yahoo! Inc. nor the names of YUI's contributors
107-
may be used to endorse or promote products derived from this
108-
software without specific prior written permission of Yahoo! Inc.
109-
110-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
111-
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
112-
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
113-
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
114-
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
115-
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
116-
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
117-
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
118-
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
119-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
120-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
121-
122-
http://yuilibrary.com/license/
123-
LICENSE: BSD License
124-
FILES: ext/yui*.js
125-
----
126-
12789
Bitcoin JS
12890

12991
Copyright (c) 2011 Stefan Thomas

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ HIGHLIGHTS
3535
- no dependency to other library
3636
- no dependency to [W3C Web Cryptography API](https://www.w3.org/TR/WebCryptoAPI/) nor [OpenSSL](https://www.openssl.org/)
3737
- no dependency on newer ECMAScirpt function. So old browsers also supported.
38-
- very popular crypto library with [0.6M+ npm downloads/month](https://npm-stat.com/charts.html?package=jsrsasign&from=2016-05-01&to=2021-05-18)
38+
- very popular crypto library with [0.6M+ npm downloads/month](https://npm-stat.com/charts.html?package=jsrsasign&from=2016-05-01&to=2021-05-31)
3939

4040
INSTALL
4141
-------

api/files.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,7 @@ <h2><a href="symbols/src/keyutil-1.0.js.html">keyutil-1.0.js</a></h2>
808808

809809

810810
<dt class="heading">Version:</dt>
811-
<dd>jsrsasign 10.1.6 keyutil 1.2.3 (2021-Feb-08)</dd>
811+
<dd>jsrsasign 10.2.1 keyutil 1.2.4 (2021-May-22)</dd>
812812

813813

814814

api/symbols/global__.html

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -674,6 +674,17 @@ <h1 class="classTitle">
674674
</td>
675675
</tr>
676676

677+
<tr>
678+
<td class="attributes">&nbsp;</td>
679+
<td class="nameDescription">
680+
<div class="fixedFont"><b><a href="../symbols/global__.html#extendClass">extendClass</a></b>(subClass, superClass)
681+
</div>
682+
<div class="description">set class inheritance<br/>
683+
This function extends a class and set an inheritance
684+
for member variables and methods.</div>
685+
</td>
686+
</tr>
687+
677688
<tr>
678689
<td class="attributes">&nbsp;</td>
679690
<td class="nameDescription">
@@ -1877,6 +1888,72 @@ <h1 class="classTitle">
18771888

18781889

18791890

1891+
<hr />
1892+
1893+
<a name="extendClass"> </a>
1894+
<div class="fixedFont">
1895+
1896+
1897+
<b>extendClass</b>(subClass, superClass)
1898+
1899+
</div>
1900+
<div class="description">
1901+
set class inheritance<br/>
1902+
This function extends a class and set an inheritance
1903+
for member variables and methods.
1904+
1905+
<br />
1906+
<i>Defined in: </i> <a href="../symbols/src/base64x-1.1.js.html">base64x-1.1.js</a>.
1907+
1908+
1909+
</div>
1910+
1911+
1912+
1913+
<pre class="code">var Animal = function() {
1914+
this.hello = function(){console.log("Hello")};
1915+
this.name="Ani";
1916+
};
1917+
var Dog = function() {
1918+
Dog.superclass.constructor.call(this);
1919+
this.vow = function(){console.log("Vow wow")};
1920+
this.tail=true;
1921+
};
1922+
extendClass(Dog, Animal);</pre>
1923+
1924+
1925+
1926+
1927+
<dl class="detailList">
1928+
<dt class="heading">Parameters:</dt>
1929+
1930+
<dt>
1931+
<span class="light fixedFont">{Function}</span> <b>subClass</b>
1932+
1933+
</dt>
1934+
<dd>sub class to set inheritance</dd>
1935+
1936+
<dt>
1937+
<span class="light fixedFont">{Function}</span> <b>superClass</b>
1938+
1939+
</dt>
1940+
<dd>super class to inherit</dd>
1941+
1942+
</dl>
1943+
1944+
1945+
1946+
<dl class="detailList">
1947+
<dt class="heading">Since:</dt>
1948+
<dd>jsrsasign 10.3.0 base64x 1.1.21</dd>
1949+
</dl>
1950+
</dl>
1951+
1952+
1953+
1954+
1955+
1956+
18801957
<hr />
18811958

18821959
<a name="hextoArrayBuffer"> </a>

0 commit comments

Comments
 (0)