
Security News
RubyGems Adds Cooldown Feature to Bundler for Newly Published Gems
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.
Goggledy is a TypeScript library that lets you easily interact with Brave Search Goggles.
It can be used to parse Goggle code into a JavaScript representation, or to generate goggle code from a Goggle object.
This opens the door for applications that want to interact with Goggles in a more programmatic way. E.g. interactive editors, code generators, etc.
Parsing a goggle into a structured JavaScript representation holding all
the information about the Goggle with Goggle.parse():
import { Goggle } from 'goggledy'
const goggle = Goggle.parse(
`! name: Some name
! description: Some description`,
)
console.log(goggle.metaData.name) // Some name
Generating Goggles from JavaScript representation with Goggle.toString():
import * as goggledy from 'goggledy'
const goggle = new goggledy.Goggle(
// Goggle lines, e.g. instructions, comments, etc.
[
new goggledy.GoggleEmpty(),
new goggledy.GoggleComment('Some comment'),
new goggledy.GoggleInstruction('pattern', {
site: 'example.org',
discard: true,
}),
],
// Goggle meta data
{
name: 'Some name',
description: 'Some description',
// This is a shorthand for:
// `goggledy.GoggleMeta('name', 'Some name')`
// under the lines array above.
},
)
console.log(goggle.toString())
// ! name: Some name
// ...
See how to construct a Goggle in Goggledy and what values it returns with its
toString()
method, and when it is passed to JSON.stringify().
| Goggle | Goggledy | JSON |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FAQs
Library to parse and generate Goggles.
The npm package goggledy receives a total of 1 weekly downloads. As such, goggledy popularity was classified as not popular.
We found that goggledy 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 and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.