Security News
The Dark Side of Open Source
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
@tizentv/webide-common-tizentv
Advanced tools
Readme
@tizentv/webIDE-common-tizentv
package is a common lib project for VScode/Atom extension and Wits, providing build, install, launch web project and certificate manager.
Please note that, In order to use this pacakge, @tizentv/webIDE-common-tizentv
is required.
constructor(name, location, id);
init();
buildWidget(profilePath, excludeFiles);
launchOnSimulator(simulatorLocation);
launchOnEmulator(chromeExecPath, isDebug);
launchOnTV(tvIP, chromeExecPath, isDebug);
openProject(projectPath);
constructor(resourcePath) ;
async init();
/*
authorInfo {
keyFileName: '',
authorName: '',
authorPassword: '',
countryInfo: '',
stateInfo: '',
cityInfo: '',
organizationInfo: '',
departmentInfo: '',
emailInfo: ''
}
*/
createCert(authorInfo);
getTizenDeveloperCA();
/*
* privilegeLevel: 'public'/'partner'
*/
getTizenDistributorProfile(privilegeLevel);
usage:
/*
* TizenCertManager downloads certificate file from tizen.org, if using proxy to connect internet, please configure 'http-proxy' and 'https-proxy' in npm config list.
* eg. npm config set http-proxy http://192.168.0.1:8080
* npm config set https-proxy http://192.168.0.1:8080
*/
let tizenCertMgr = new TizenCertManager('D:\resource');
await tizenCertMgr.init();
tizenCertMgr.createCert(authorInfo);
constructor(resourcePath);
async init();
/*
authorInfo {
name : '',
password : '',
country : '',
state : '',
city : '',
organization : '',
department : ''
*/
createAuthorCert(profileName, authorInfo, accessInfo);
/*
distrbutorInfo {
distributorPassword : '',
privilegeLevel : '',
duidList : ['', '', ...]
*/
createDistributorCert(profileName, distrbutorInfo, accessInfo);
usage:
/*
* SamsungCertManager downloads certificate file from tizen.org, if using proxy to connect internet, please configure 'http-proxy' and 'https-proxy' in npm config list.
* eg. npm config set http-proxy http://192.168.0.1:8080
* npm config set https-proxy http://192.168.0.1:8080
*/
let samsungCertMgr = new SamsungCertManager('D:\resource');
await samsungCertMgr.init();
samsungCertMgr.createAuthorCert(authorInfo);
samsungCertMgr.createDistributorCert(profileName, distrbutorInfo, accessInfo);
constructor(resourcePath);
/*
authorProfile{
authorCA: '',
authorCertPath: '',
authorPassword: ''
}
distributorProfile{
distributorCA: '',
distributorCertPath: '',
distributorPassword: ''
}
*/
registerProfile(profileName, authorProfile, distributorProfile);
setActivateProfile(profileName);
removeProfile(profileName);
modifyProfile(profileName, itemType, certpath, password);
isProfileExist(profileName);
listProfile();
getProfileKeys(profileName);
getProfileItems(profileName);
usage:
let profileMgr = new ProfileManager(common.resourcePath);
tizenAuthorProfile = {
authorCA: tizenCertMgr.getTizenDeveloperCA(),
authorCertPath: authorCertPath,
authorPassword: authorPassword
};
tizenDistributorProfile = tizenCertMgr.getTizenDistributorProfile('public');
profileMgr.registerProfile('name', tizenAuthorProfile, tizenDistributorProfile);
FAQs
Common APIs for web IDEs extension development to support Tizen SDK features.
The npm package @tizentv/webide-common-tizentv receives a total of 10,986 weekly downloads. As such, @tizentv/webide-common-tizentv popularity was classified as popular.
We found that @tizentv/webide-common-tizentv demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
Research
Security News
The Socket Research team found this npm package includes code for collecting sensitive developer information, including your operating system username, Git username, and Git email.
Security News
OpenJS is warning of social engineering takeovers targeting open source projects after receiving a credible attempt on the foundation.