@dr.pogodin/babel-plugin-transform-assets
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -9,2 +9,3 @@ "use strict"; | ||
var _path = require("path"); | ||
var _enhancedResolve = _interopRequireDefault(require("enhanced-resolve")); | ||
var _loaderUtils = require("loader-utils"); | ||
@@ -57,5 +58,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
const from = resolveModulePath(file.opts.filename); | ||
const resourcePath = (0, _path.resolve)(from, filePath); | ||
const resourcePath = _enhancedResolve.default.sync(from, filePath); | ||
const p = (0, _loaderUtils.interpolateName)({ | ||
resourcePath: (0, _path.resolve)(from, filePath) | ||
resourcePath | ||
}, currentConfig.name, { | ||
@@ -62,0 +63,0 @@ context: from, |
# The MIT License (MIT) | ||
Copyright © 2020–2022 Dr. Sergey Pogodin <doc@pogodin.studio> (https://dr.pogodin.studio) \ | ||
Copyright © 2020–2023 Dr. Sergey Pogodin <doc@pogodin.studio> (https://dr.pogodin.studio) \ | ||
Copyright © 2015–2016 Jake Murzy | ||
@@ -5,0 +5,0 @@ |
{ | ||
"name": "@dr.pogodin/babel-plugin-transform-assets", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "Transforms importing of asset files at compile time using Babel", | ||
@@ -37,7 +37,8 @@ "main": "build/index.js", | ||
"dependencies": { | ||
"loader-utils": "^3.2.0" | ||
"enhanced-resolve": "^5.12.0", | ||
"loader-utils": "^3.2.1" | ||
}, | ||
"devDependencies": { | ||
"@babel/cli": "^7.19.3", | ||
"@babel/core": "^7.20.2", | ||
"@babel/cli": "^7.20.7", | ||
"@babel/core": "^7.20.12", | ||
"@babel/preset-env": "^7.20.2", | ||
@@ -47,10 +48,14 @@ "@babel/register": "^7.18.9", | ||
"chai": "^4.3.7", | ||
"eslint": "^8.27.0", | ||
"eslint": "^8.32.0", | ||
"eslint-config-airbnb-base": "^15.0.0", | ||
"eslint-plugin-import": "^2.26.0", | ||
"eslint-plugin-import": "^2.27.4", | ||
"fs-monkey": "^1.0.3", | ||
"gulp-babel": "^8.0.0-beta.2", | ||
"mocha": "^10.1.0", | ||
"rimraf": "^3.0.2", | ||
"memfs": "^3.4.13", | ||
"mocha": "^10.2.0", | ||
"mocha-each": "^2.0.1", | ||
"rimraf": "^4.0.7", | ||
"unionfs": "^4.4.0", | ||
"vinyl": "^3.0.0" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7472
71
2
17
+ Addedenhanced-resolve@^5.12.0
+ Addedenhanced-resolve@5.18.0(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedtapable@2.2.1(transitive)
Updatedloader-utils@^3.2.1