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

demrec

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

demrec - npm Package Compare versions

Comparing version 5.3.2 to 5.3.3

src/data/440/custom/maps/particles_template.txt

2

package.json
{
"name": "demrec",
"version": "5.3.2",
"version": "5.3.3",
"description": "Demo Recorder Renderer",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -203,2 +203,4 @@ let fs = require('fs')

let povr = addParticleOverride(this.game.tmp, info.map)
this.emit('log', { event: DemRec.Events.DEMO_LAUNCH, demo: name })

@@ -250,3 +252,3 @@

util.remove([dem, vdm, this.tmp])
util.remove([dem, vdm, povr, this.tmp])

@@ -373,2 +375,9 @@ return res

function addParticleOverride (tmp, map) {
let dir = ph.join(tmp, 'custom', 'maps')
let pipe = [ph.join(dir, 'particles_template.txt'), ph.join(dir, `${map}_particles.txt`)]
fs.copyFileSync(...pipe)
return pipe[1]
}
function getDemoInfo (file) {

@@ -375,0 +384,0 @@ let buffer = fs.readFileSync(file)

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