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

udoc

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

udoc - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

1

index.js

@@ -12,2 +12,3 @@ ( function () {

view: require( "./views/ueditor" ),
highlight: false,
viewOptions: {

@@ -14,0 +15,0 @@ assetsPath: '/doc/views/ueditor/'

2

lib/doc.js

@@ -56,3 +56,3 @@ ( function () {

this.view.build( jsonData, function ( data ) {
this.view.build( options.highlight, jsonData, function ( data ) {

@@ -59,0 +59,0 @@ fs.writeFileSync( BASE_PATH + options.output, data );

{
"name": "udoc",
"version": "0.0.3",
"version": "0.0.4",
"description": "The Javascript API Doc",
"main": "index.js",
"main": "./lib/doc.js",
"dependencies": {

@@ -7,0 +7,0 @@ "lodash": "~0.9.2",

@@ -30,3 +30,2 @@ ( function () {

var transResult = [],

@@ -286,10 +285,16 @@ count = 0,

build: function ( data, callback ) {
build: function ( isHighlight, data, callback ) {
View.transform( data, function () {
if ( isHighlight ) {
View.transform( data, function () {
callback( View.render( data ) );
} );
} else {
callback( View.render( data ) );
}
} );
},

@@ -296,0 +301,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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