@ezcater/babel-plugin-recipe
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -1,4 +0,4 @@ | ||
/* eslint-disable @typescript-eslint/camelcase */ | ||
/* eslint-disable camelcase */ | ||
const {relative} = require('path'); | ||
const {createRequireFromPath} = require('module'); | ||
const {createRequire} = require('module'); | ||
const logger = require('../logging'); | ||
@@ -42,3 +42,3 @@ | ||
const source = relative(process.cwd(), filename); | ||
const req = createRequireFromPath(filename); | ||
const req = createRequire(filename); | ||
const api_version = req('@ezcater/recipe/package.json').version; | ||
@@ -45,0 +45,0 @@ const log = state.opts.trace ? logger.trace : logger.info; |
{ | ||
"name": "@ezcater/babel-plugin-recipe", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Static analysis tools for ezCater's Recipe design system ", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
5103
2