New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@a-la/import

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@a-la/import - npm Package Compare versions

Comparing version 1.6.0 to 1.6.1

7

build/lib/rule.js

@@ -39,3 +39,8 @@ const {

const [, quotes, src] = /(["'`])(.+?)\1/.exec(realSrc)
const source = getSource(src, this.config)
// a special case because regexes are replaced before literals
const s = src.replace(this.markers.regexes.regExp, (m, i) => {
const val = this.markers.regexes.map[i]
return val
})
const source = getSource(s, this.config)
const replacedDefault = getDef(defSeg, defName, quotes, source)

@@ -42,0 +47,0 @@ const replacedNamed = getNamed(namedSeg, fromSeg, quotes, source, defName)

## 1 September 2018
### 1.6.1
- [fix] Make sure that paths are replaced when importing with template literals.
- [deps] Update `@a-la/context`.
### 1.6.0

@@ -4,0 +9,0 @@

4

package.json
{
"name": "@a-la/import",
"version": "1.6.0",
"version": "1.6.1",
"description": "À La Regex to transpile the import statement into a require call.",

@@ -58,3 +58,3 @@ "main": "build",

"devDependencies": {
"@a-la/context": "1.2.0",
"@a-la/context": "1.2.3",
"alamode": "1.3.0",

@@ -61,0 +61,0 @@ "catchment": "3.0.1",

Sorry, the diff of this file is not supported yet

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