Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
@confuzzle/writepuz
Advanced tools
This package is for writing .puz
format files. For a full reader, writer, and parser, see @confuzzle/puz-crossword
.
This package provides a single function writepuz(puz)
, which takes a puz
object (described below) and returns a Uint8Array of its corresponding .puz
representation.
const puz = {
title: "...",
author: "...",
copyright: "...",
note: "...",
width: 15,
height: 15,
clues: ["clue 1", "clue 2", ...],
solution: "ABC...",
state: "A--..."
}
All fields have meanings as described by the .puz file format. The state
field is optional.
const fs = require('fs');
const readpuz = require('@confuzzle/readpuz').readpuz;
const writepuz = require('@confuzzle/writepuz').writepuz;
const puz = readpuz(fs.readFileSync("test.puz"));
puz.title = "A new title";
const puzbytes = writepuz(puz);
const puz2 = readpuz(puzbytes);
console.log(puz2.title);
FAQs
Minimal .puz format writer
The npm package @confuzzle/writepuz receives a total of 14 weekly downloads. As such, @confuzzle/writepuz popularity was classified as not popular.
We found that @confuzzle/writepuz demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.