Skip to content

Commit efe1ada

Browse files
authored
Merge pull request #5 from react-native-oh-library/dev
codecheck扫描
2 parents 20c6635 + d07b3e0 commit efe1ada

File tree

13 files changed

+456
-27
lines changed

13 files changed

+456
-27
lines changed

harmony/netinfo.har

6.7 KB
Binary file not shown.

harmony/netinfo/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2015-present, Facebook, Inc.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, 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
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

harmony/netinfo/NOTICE

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
OPEN SOURCE SOFTWARE NOTICE
2+
3+
Please note we provide an open source software notice for the third party open source software along with this software and/or this software component (in the following just “this SOFTWARE”). The open source software licenses are granted by the respective right holders.
4+
5+
Warranty Disclaimer
6+
THE OPEN SOURCE SOFTWARE IN THIS PRODUCT IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS.
7+
8+
Copyright Notice and License Texts
9+
10+
----------------------------------------------------------------------
11+
Software: react-native-netinfo V11.1.0
12+
13+
MIT License
14+
15+
Copyright (c) 2015-present, Facebook, Inc.
16+
17+
Permission is hereby granted, free of charge, to any person obtaining a copy
18+
of this software and associated documentation files (the "Software"), to deal
19+
in the Software without restriction, including without limitation the rights
20+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
21+
copies of the Software, and to permit persons to whom the Software is
22+
furnished to do so, subject to the following conditions:
23+
24+
The above copyright notice and this permission notice shall be included in all
25+
copies or substantial portions of the Software.
26+
27+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
28+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
29+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
30+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
31+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
32+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
33+
SOFTWARE.

harmony/netinfo/OAT.xml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<configuration>
3+
<oatconfig>
4+
<licensefile>LICENSE</licensefile>
5+
<filefilterlist>
6+
<filefilter name="copyrightPolicyFilter" desc="Filters for compatibility,license header policies">
7+
<filteritem type="filename" name="hvigorfile.ts" desc="hvigor构建脚本,DevEco Studio自动生成,不需要添加版权头"/>
8+
<filteritem type="filename" name="*.json5" desc="hvigor工程配置文件,DevEco Studio自动生成,不需要添加版权头"/>
9+
<filteritem type="filename" name="*.proto" desc="资源文件,不需要添加版权头"/>
10+
<filteritem type="filename" name="*.json" desc="资源文件,不需要添加版权头"/>
11+
<filteritem type="filepath" name="hvigorw" desc="工程模板,不修改版权头,以防有修改版权风险"/>
12+
<filteritem type="filepath" name="hvigorw.bat" desc="工程模板,不修改版权头,以防有修改版权风险"/>
13+
<filteritem type="filepath" name="hvigor/hvigor-wrapper.js" desc="工程模板,不修改版权头,以防有修改版权风险"/>
14+
<filteritem type="filename" name="LICENSE" desc="工程文件,不修改版权头"/>
15+
</filefilter>
16+
<filefilter name="defaultPolicyFilter" desc="Filters for compatibility,license header policies">
17+
<filteritem type="filename" name="hvigorfile.ts" desc="hvigor构建脚本,DevEco Studio自动生成,不需要添加许可证头"/>
18+
<filteritem type="filename" name="*.json5" desc="hvigor工程配置文件,DevEco Studio自动生成,不需要添加许可证头"/>
19+
<filteritem type="filename" name="LICENSE" desc="原三方库证书文件无需更改,因此添加过滤"/>
20+
<filteritem type="filename" name="*.proto" desc="资源文件,不需要添加许可证头"/>
21+
<filteritem type="filename" name="*.json" desc="资源文件,不需要添加许可证头"/>
22+
<filteritem type="filepath" name="hvigorw" desc="工程模板,不修改版权头,以防有修改版权风险"/>
23+
<filteritem type="filepath" name="hvigorw.bat" desc="工程模板,不修改版权头,以防有修改版权风险"/>
24+
<filteritem type="filepath" name="hvigor/hvigor-wrapper.js" desc="工程模板,不修改版权头,以防有修改版权风险"/>
25+
</filefilter>
26+
<filefilter name="binaryFileTypePolicyFilter" desc="Filters for resources files policies">
27+
<filteritem type="filename" name="icon.png" desc="应用图标"/>
28+
<filteritem type="filename" name="app_icon.png" desc="应用图标"/>
29+
<filteritem type="filename" name="warn.png" desc="页面展示图标"/>
30+
</filefilter>
31+
</filefilterlist>
32+
<policylist>
33+
<policy name="projectPolicy" desc="">
34+
<policyitem type="license" name="MIT" path="*.*" desc="license under the MIT"/>
35+
</policy>
36+
</policylist>
37+
</oatconfig>
38+
</configuration>

harmony/netinfo/README.OpenSource

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[
2+
{
3+
"Name": "react-native-netinfo",
4+
"License": "MIT License",
5+
"License File": "https://github.com/react-native-netinfo/react-native-netinfo/blob/master/LICENSE",
6+
"Version Number": "11.1.0",
7+
"Owner" : "Matt Oakes <hello@mattoakes.net>"
8+
"Upstream URL": "https://github.com/react-native-netinfo/react-native-netinfo",
9+
"Description": "React Native Network Info API for Android, iOS, macOS, Windows & Web. It allows you to get information on:Connection type,Connection quality"
10+
}
11+
]

0 commit comments

Comments
 (0)