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

rete

Package Overview
Dependencies
Maintainers
1
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rete - npm Package Compare versions

Comparing version 1.4.6 to 1.4.7

2

build/rete.min.js
/*!
* rete v1.4.6
* rete v1.4.7
* (c) 2022 Vitaliy Stoliarov

@@ -4,0 +4,0 @@ * Released under the MIT license.

{
"name": "rete",
"version": "1.4.6",
"version": "1.4.7",
"description": "JavaScript framework",

@@ -42,3 +42,2 @@ "main": "build/rete.common.js",

"babel-eslint": "^10.0.1",
"chalk": "^4.1.2",
"eslint": "^5.12.1",

@@ -45,0 +44,0 @@ "jsdom": "^13.2.0",

@@ -1,8 +0,5 @@

// eslint-disable-next-line @typescript-eslint/no-var-requires, no-undef
const chalk = require('chalk')
function getRectangle(width, height) {
function getRectangle(width, height, color) {
const line = new Array(width).fill(' ').join('')
return new Array(height).fill(line).join('\n')
return new Array(height).fill(color(line)).join('\n')
}

@@ -19,9 +16,24 @@

function black(text) {
return '\x1b[30m' + text + '\x1b[0m'
}
function white(text) {
return '\x1b[37m' + text + '\x1b[0m'
}
function bgBlue(text) {
return '\x1b[44m' + text + '\x1b[0m'
}
function bgYellow(text) {
return '\x1b[43m' + text + '\x1b[0m'
}
const topText = 'Stand with Ukraine'
const bottomText = 'Please check the Rete.js\'s README for details'
const top = chalk.bgBlue(getRectangle(50, 5))
const bottom = chalk.bgYellow(getRectangle(50, 5))
const top = getRectangle(50, 5, bgBlue)
const bottom = getRectangle(50, 5, bgYellow)
console.log(`${top}\n${drawText(16, 3, chalk.white.bgBlue(topText))}${bottom}\n${drawText(2, 3, chalk.black.bgYellow(bottomText))}`)
console.log(`${top}\n${drawText(16, 3, white(bgBlue(topText)))}${bottom}\n${drawText(2, 3, black(bgYellow(bottomText)))}`)

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

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