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

crude-build

Package Overview
Dependencies
Maintainers
0
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crude-build - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

4

crude-build.js

@@ -155,5 +155,5 @@

// Extract externs in format "import Quaternion from quaternion;"
// Extract externs in format "import Quaternion from 'quaternion';"
const externs = [];
sourceCode = sourceCode.replace(/\s*import\s*([a-z0-9.-]+)\s*from\s*([a-z0-9.-]+)\s*;?/ig, function (_, name, inc) {
sourceCode = sourceCode.replace(/\s*import\s*([a-z0-9.-]+)\s*from\s*["']([a-z0-9.-]+)["']\s*;?/ig, function (_, name, inc) {
externs.push({ name, inc });

@@ -160,0 +160,0 @@ return '';

{
"name": "crude-build",
"title": "Crude Build",
"version": "0.1.0",
"version": "0.1.1",
"homepage": "https://github.com/rawify/CrudeBuild.js",

@@ -6,0 +6,0 @@ "bugs": "https://github.com/rawify/CrudeBuild.js/issues",

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