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

@dr.pogodin/babel-plugin-transform-assets

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

@dr.pogodin/babel-plugin-transform-assets - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

5

build/index.js

@@ -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,

2

LICENSE.md
# The MIT License (MIT)
Copyright &copy; 2020&ndash;2022 Dr. Sergey Pogodin <doc@pogodin.studio> (https://dr.pogodin.studio) \
Copyright &copy; 2020&ndash;2023 Dr. Sergey Pogodin <doc@pogodin.studio> (https://dr.pogodin.studio) \
Copyright &copy; 2015&ndash;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"
}
}
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