Socket
Socket
Sign inDemoInstall

@imgcook/cli-loader-images

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@imgcook/cli-loader-images - npm Package Compare versions

Comparing version 0.0.3-alpha.0 to 0.1.0-alpha.0

.DS_Store

7

index.js

@@ -72,3 +72,6 @@ const fs = require('fs');

const regex = new RegExp(`"${imgArr[idx]}"`, 'g');
fileValue = fileValue.replace(regex, `require('./images/${imgName}')`);
fileValue = fileValue.replace(
regex,
`require('./images/${imgName}')`
);
} else {

@@ -97,4 +100,4 @@ fileValue = fileValue.replace(reg, `./images/${imgName}`);

module.exports = function (item, option) {
module.exports = function(item, option) {
return loader(item, option);
};
{
"name": "@imgcook/cli-loader-images",
"version": "0.0.3-alpha.0",
"version": "0.1.0-alpha.0",
"description": "",

@@ -19,3 +19,3 @@ "main": "index.js",

"dependencies": {
"@imgcook/cli-utils": "^0.0.2-alpha.2",
"@imgcook/cli-utils": "^0.1.0-alpha.0",
"fs-extra": "^7.0.1",

@@ -36,3 +36,3 @@ "request": "^2.88.0"

},
"gitHead": "49aaa4a028afd44f3acedf8ff926cdbba44ead23"
"gitHead": "43873e662d8cb86870611c4c8427d748ebd03d49"
}
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