Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bsb-js

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bsb-js - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

package.json
{
"name": "bsb-js",
"version": "1.1.0",
"version": "1.1.1",
"description": "JS library wrapping BuckleScript build",

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

@@ -29,3 +29,3 @@ // @flow

moduleType /*: BsModuleFormat | 'js' */,
src /*: string */
src /*: string */,
) {

@@ -39,5 +39,6 @@ const replacer = moduleType === 'es6' ? es6ReplaceRegex : commonJsReplaceRegex

if (typeof err === 'string') {
return (err.match(
err.includes('-bs-super-errors') ? getSuperErrorRegex : getErrorRegex
) || []
return (
err.match(getSuperErrorRegex) ||
err.match(getErrorRegex) ||
[]
).map(e => new Error(e))

@@ -59,3 +60,3 @@ } else if (err instanceof Error) {

processBsbError,
processBsbWarnings
processBsbWarnings,
}
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