Skip to content

Commit 766abbc

Browse files
authored
Fix the license of ras.js (#2336)
* fix:license of ASR * add import JSEncrypt
1 parent 4830ad8 commit 766abbc

File tree

7 files changed

+133
-3928
lines changed

7 files changed

+133
-3928
lines changed

LICENSE-binary-ui

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,4 +241,5 @@ See licenses-binary-ui/ for text of these licenses.
241241
(The MIT License) worker-loader@2.0.0 (https://github.com/webpack-contrib/worker-loader)
242242
(The MIT License) @form-create/iview@2.5.13 (https://github.com/xaboy/form-create)
243243
(The MIT License) object-to-formdata@4.2.2 (https://github.com/therealparmesh/object-to-formdata)
244+
(The MIT License) jsencrypt@3.2.1 (https://github.com/travist/jsencrypt)
244245
(The Apache-2.0 License) material-design-icons@^3.0.1 (https://github.com/google/material-design-icons)
Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
File: /src/LICENSE.txt
2+
The MIT License (MIT)
3+
Copyright (c) 2015 Form.io
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of
6+
this software and associated documentation files (the "Software"), to deal in the
7+
Software without restriction, including without limitation the rights to use,
8+
copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the
9+
Software, and to permit persons to whom the Software is furnished to do so,
10+
subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
16+
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
17+
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
18+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
20+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21+
22+
File: /lib/jsrsasign/LICENSE.txt
23+
24+
25+
CONTAINS CODE FROM YUI LIBRARY SEE LICENSE @ http://yuilibrary.com/license/
26+
27+
The 'jsrsasign'(RSA-Sign JavaScript Library) License
28+
29+
Copyright (c) 2010-2013 Kenji Urushima
30+
31+
Permission is hereby granted, free of charge, to any person obtaining a copy
32+
of this software and associated documentation files (the "Software"), to deal
33+
in the Software without restriction, including without limitation the rights
34+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
35+
copies of the Software, and to permit persons to whom the Software is
36+
furnished to do so, subject to the following conditions:
37+
38+
The above copyright notice and this permission notice shall be included in
39+
all copies or substantial portions of the Software.
40+
41+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
42+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
43+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
44+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
45+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
46+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
47+
THE SOFTWARE.
48+
File: /lib/jsbn/LICENSE.txt
49+
50+
51+
Licensing
52+
---------
53+
54+
This software is covered under the following copyright:
55+
56+
/*
57+
* Copyright (c) 2003-2005 Tom Wu
58+
* All Rights Reserved.
59+
*
60+
* Permission is hereby granted, free of charge, to any person obtaining
61+
* a copy of this software and associated documentation files (the
62+
* "Software"), to deal in the Software without restriction, including
63+
* without limitation the rights to use, copy, modify, merge, publish,
64+
* distribute, sublicense, and/or sell copies of the Software, and to
65+
* permit persons to whom the Software is furnished to do so, subject to
66+
* the following conditions:
67+
*
68+
* The above copyright notice and this permission notice shall be
69+
* included in all copies or substantial portions of the Software.
70+
*
71+
* THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
72+
* EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
73+
* WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
74+
*
75+
* IN NO EVENT SHALL TOM WU BE LIABLE FOR ANY SPECIAL, INCIDENTAL,
76+
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER
77+
* RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF
78+
* THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT
79+
* OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
80+
*
81+
* In addition, the following condition applies:
82+
*
83+
* All redistributions must retain an intact copy of this copyright notice
84+
* and disclaimer.
85+
*/
86+
87+
Address all questions regarding this license to:
88+
89+
Tom Wu
90+
tjw@cs.Stanford.EDU
91+
File: /lib/asn1js/LICENSE.txt
92+
93+
94+
ASN.1 JavaScript decoder
95+
Copyright (c) 2008-2013 Lapo Luchini <lapo@lapo.it>
96+
97+
Permission to use, copy, modify, and/or distribute this software for any
98+
purpose with or without fee is hereby granted, provided that the above
99+
copyright notice and this permission notice appear in all copies.
100+
101+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
102+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
103+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
104+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
105+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
106+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
107+
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

web/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"eslint-plugin-vue": "6.2.2",
3333
"highlight.js": "9.18.3",
3434
"iview": "3.5.4",
35+
"jsencrypt": "^3.2.1",
3536
"lodash": "4.17.20",
3637
"md5": "2.3.0",
3738
"mitt": "1.2.0",

web/src/common/util/dom.js

Lines changed: 0 additions & 124 deletions
This file was deleted.

web/src/common/util/index.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,19 @@
55
* The ASF licenses this file to You under the Apache License, Version 2.0
66
* (the "License"); you may not use this file except in compliance with
77
* the License. You may obtain a copy of the License at
8-
*
8+
*
99
* http://www.apache.org/licenses/LICENSE-2.0
10-
*
10+
*
1111
* Unless required by applicable law or agreed to in writing, software
1212
* distributed under the License is distributed on an "AS IS" BASIS,
1313
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
17+
1818

1919
import qs from 'qs';
2020
import md5 from 'md5';
21-
import * as domUtil from './dom';
2221
import * as objectUtil from './object';
2322
import * as typeUtil from './type';
2423
import * as convertUtil from './convert';
@@ -95,6 +94,6 @@ let util = {
9594
return key;
9695
}
9796
};
98-
objectUtil.merge(util, domUtil, objectUtil, typeUtil, convertUtil, currentModules);
97+
objectUtil.merge(util,objectUtil, typeUtil, convertUtil, currentModules);
9998

10099
export default util;

0 commit comments

Comments
 (0)