New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mofron

Package Overview
Dependencies
Maintainers
1
Versions
243
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mofron - npm Package Compare versions

Comparing version 0.5.1 to 0.5.2

2

package.json
{
"name": "mofron",
"version": "0.5.1",
"version": "0.5.2",
"description": "front-end framework for javascript",

@@ -5,0 +5,0 @@ "main": "./dist/mofron.js",

@@ -6,3 +6,4 @@

try {
this.m_name = null;
this.base_name = null;
this.m_name = null;
} catch (e) {

@@ -32,2 +33,26 @@ console.error(e.stack);

}
setBaseName (nm) {
try {
if ('string' !== typeof nm) {
throw new Error('invalid parameter');
}
if (null !== this.base_name) {
throw new Error('already set base name');
}
this.base_name = nm;
} catch (e) {
console.error(e.stack);
throw e;
}
}
getBaseName () {
try {
this.base_name;
} catch (e) {
console.error(e.stack);
throw e;
}
}
}

@@ -28,3 +28,2 @@ /**

/* initialize member */
this.m_name = null;
this.m_family = {};

@@ -47,24 +46,2 @@ this.size = 15;

/**
* name
*
* @return (string) own name
*/
name (nm) {
try {
if (undefined === nm) {
/* getter */
return this.m_name;
}
/* setter */
if ('string' !== typeof nm) {
throw new Error('invalid parameter');
}
this.m_name = nm;
} catch (e) {
console.error(e.stack);
throw e;
}
}
/**
* set @font-face

@@ -211,3 +188,8 @@ *

};
hc.addConts(mofron.func.getStyleConts(this.thm_sel ,style));
hc.addConts(
mofron.func.getStyleConts(
'.' + this.thm_sel ,
style
)
);
hc.pushTag();

@@ -214,0 +196,0 @@ this.thm_flg = true;

@@ -74,3 +74,3 @@ /**

('object' !== (typeof _fnt)) ||
('Font' !== _fnt.getName()) ) {
('Font' !== _fnt.name()) ) {
throw new Error('invalid parameter');

@@ -80,3 +80,3 @@ }

_fnt.pushTheme();
this.set(_fnt.getName(), _fnt, _idx);
this.set(_fnt.name(), _fnt, _idx);

@@ -146,3 +146,7 @@ } catch (e) {

}
this.set(_comp.getName(), _comp, _idx);
var comp_nm = _comp.getBaseName();
if ((null === comp_nm) || '' === comp_nm) {
throw new Error('invalid component name');
}
this.set(comp_nm, _comp, _idx);
} catch (e) {

@@ -149,0 +153,0 @@ console.error(e.stack);

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc