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

parse-static-imports

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parse-static-imports - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

4

dist/parseNamedImports.js

@@ -9,3 +9,3 @@ "use strict";

function createNamedImport(str = "") {
const asIdx = str.indexOf("as");
const asIdx = str.indexOf(" as ");

@@ -20,3 +20,3 @@ if (asIdx < 0) {

const alias = str.substring(asIdx + 2).trim();
const alias = str.substring(asIdx + 4).trim();
const name = str.substring(0, asIdx).trim();

@@ -23,0 +23,0 @@ return {

{
"name": "parse-static-imports",
"description": "Gracefully parse ECMAScript static imports 💃",
"version": "1.0.4",
"version": "1.0.5",
"author": "Cody A Price <dev.cprice@gmail.com>",

@@ -6,0 +6,0 @@ "bugs": {

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