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

@eik/common

Package Overview
Dependencies
Maintainers
4
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eik/common - npm Package Compare versions

Comparing version 1.4.1 to 1.4.2

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [1.4.2](https://github.com/eik-lib/common/compare/v1.4.1...v1.4.2) (2021-01-21)
### Bug Fixes
* remove singletons in packageURL and localAssets ([6e49df0](https://github.com/eik-lib/common/commit/6e49df03afd5294bf8535c95c050a8d28e94f491))
## [1.4.1](https://github.com/eik-lib/common/compare/v1.4.0...v1.4.1) (2021-01-19)

@@ -2,0 +9,0 @@

4

lib/helpers/local-assets.js

@@ -8,4 +8,2 @@ /* eslint-disable no-await-in-loop */

let eik;
/**

@@ -24,3 +22,3 @@ * Sets up asset routes for local development. Mounted paths match those on Eik server and values are read from projects eik.json file.

// ensure eik.json only loaded 1x
if (!eik) eik = configStore.findInDirectory(rootEikDirectory);
const eik = configStore.findInDirectory(rootEikDirectory);

@@ -27,0 +25,0 @@ (await eik.pathsAndFiles()).forEach(([pathname, filePath]) => {

const { join } = require('path');
const configStore = require('./config-store');
let eik;
async function packageURL(key, { configRootDir = process.cwd() } = {}) {
if (!eik) eik = configStore.findInDirectory(configRootDir);
const eik = configStore.findInDirectory(configRootDir);
const mappingList = (await eik.pathsAndFiles()).filter(

@@ -9,0 +7,0 @@ ([, , originalDest]) => originalDest === key,

{
"name": "@eik/common",
"version": "1.4.1",
"version": "1.4.2",
"description": "Common utilities for Eik modules",

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

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