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

@enonic/js-utils

Package Overview
Dependencies
Maintainers
4
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@enonic/js-utils - npm Package Compare versions

Comparing version 0.16.1 to 0.16.2

src/mock/globals.d.ts

23

dist/cjs/mock/index.js

@@ -235,4 +235,25 @@ var __defProp = Object.defineProperty;

var JavaBridge = class {
constructor() {
constructor({
app,
log
}) {
this._repos = {};
this.log = {
debug: (...params) => {
console.debug(...params);
},
error: (...params) => {
console.error(...params);
},
info: (...params) => {
console.info(...params);
},
warning: (...params) => {
console.warn(...params);
}
};
this.app = app;
if (log) {
this.log = log;
}
}

@@ -239,0 +260,0 @@ createRepo({

@@ -235,4 +235,25 @@ var __defProp = Object.defineProperty;

var JavaBridge = class {
constructor() {
constructor({
app,
log
}) {
this._repos = {};
this.log = {
debug: (...params) => {
console.debug(...params);
},
error: (...params) => {
console.error(...params);
},
info: (...params) => {
console.info(...params);
},
warning: (...params) => {
console.warn(...params);
}
};
this.app = app;
if (log) {
this.log = log;
}
}

@@ -239,0 +260,0 @@ createRepo({

2

package.json

@@ -57,3 +57,3 @@ {

},
"version": "0.16.1"
"version": "0.16.2"
}
import type {
App,
Log
} from './globals.d'
import type {
CreateRepoParams,

@@ -23,6 +27,22 @@ RepositoryConfig

private _repos :Repos = {};
readonly app :App;
readonly log :Log = {
debug: (...params) => { console.debug(...params) },
error: (...params) => { console.error(...params) },
info: (...params) => { console.info(...params) },
warning: (...params) => { console.warn(...params) }
};
constructor() {
//this._repos = {} as Repos;
}
constructor({
app,
log
} :{
app :App
log? :Log
}) {
this.app = app;
if (log) {
this.log = log;
}
} // constructor

@@ -29,0 +49,0 @@ createRepo({

Sorry, the diff of this file is not supported yet

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