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

avet-utils

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

avet-utils - npm Package Compare versions

Comparing version 1.0.0-26 to 1.0.0-27

7

lib/build.js

@@ -11,4 +11,4 @@ 'use strict';

module.exports = {
IS_BUNDLED_PAGE: /^bundles[/\\]page.*\.js$/,
MATCH_ROUTE_NAME: /^bundles[/\\]page[/\\](.*)\.js$/,
IS_BUNDLED_PAGE: /^bundles[/\\]page.*\.(js|jsx)$/,
MATCH_ROUTE_NAME: /^bundles[/\\]page[/\\](.*)\.(js|jsx)$/,

@@ -24,3 +24,4 @@ getAvailableChunks: function getAvailableChunks(distDir) {

if (/\.js$/.test(filename)) {
chunksMap[filename] = true;
var chunkName = filename.replace(/-.*/, '');
chunksMap[chunkName] = filename;
}

@@ -27,0 +28,0 @@ });

@@ -264,9 +264,10 @@ 'use strict';

if (i.slice(-3) === '.js') return [i];
if (i.slice(-4) === '.jsx') return [i];
if (i.slice(-5) === '.json') return [i];
if (i[i.length - 1] === sep) {
return [i + 'index.js', i + 'index.json'];
return [i + 'index.js', i + 'index.jsx', i + 'index.json'];
}
return [i + '.js', join(i, 'index.js'), i + '.json', join('i', 'index.json')];
return [i + '.js', join(i, 'index.js'), i + '.jsx', join(i, 'index.jsx'), i + '.json', join(i, 'index.json')];
}

@@ -273,0 +274,0 @@

{
"name": "avet-utils",
"description": "Avet utils for all avet projects",
"version": "1.0.0-26",
"version": "1.0.0-27",
"scripts": {

@@ -6,0 +6,0 @@ "dev": "taskr dev",

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