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

nuxt-lodash

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

nuxt-lodash - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

9

package.json
{
"name": "nuxt-lodash",
"version": "1.1.0",
"version": "1.2.0",
"description": "Lodash auto-import for Nuxt.js",

@@ -20,9 +20,2 @@ "keywords": [

},
"exports": {
".": "./module.mjs",
"./functions": {
"import": "./functions.mjs",
"types": "./functions.d.ts"
}
},
"type": "module",

@@ -29,0 +22,0 @@ "main": "./module.mjs",

7

README.md

@@ -11,3 +11,3 @@ <h1>Nuxt 3 - lodash</h1>

<h4>Lodash auto-import module for Nuxt3, supports custom prefix and list of exludes<h4>
<h4><a href="https://lodash.com/">Lodash</a> auto-import module for <a href="https://nuxtjs.org/">Nuxt3</a>, supports custom prefix, list of exludes and list of aliases<h4>

@@ -32,2 +32,6 @@ ## 📦 Install

exclude: ["map"],
alias: [
["camelCase", "stringToCamelCase"], // will result it useStringToCamelCase
["kebabCase", "stringToKebabCase"], // will result it useStringToKebabCase
],
},

@@ -45,2 +49,3 @@ ],

| `exclude` | `[]` | list of functions to exlude from auto-imports |
| `alias` | `[]` | list of aliases to rename specific functions |

@@ -47,0 +52,0 @@ ## 💻 Example

declare type NuxtLodashOptions = {
/**
* Prefix to be added before every lodash function.
* false to disable prefix
*/
prefix?: false | string;
/**
* Array of lodash funcions to be exluded from auto-imports
*/
exludes?: string[];
};
declare module "nuxt3" {
interface NuxtConfig {
lodash?: NuxtLodashOptions;
}
/**
* Prefix to be added before every lodash function.
* false to disable prefix
*/
prefix?: false | string;
/**
* Array of lodash funcions to be exluded from auto-imports
*/
exclude?: string[];
/**
* Iterable of string pairs to alias each function
*/
alias?: Iterable<[string, string]>;
};
declare module "nuxt3" {
interface NuxtConfig {
lodash?: NuxtLodashOptions;
}
declare module "@nuxt/types" {
interface NuxtConfig {
lodash?: NuxtLodashOptions;
}
}
declare module "@nuxt/types" {
interface NuxtConfig {
lodash?: NuxtLodashOptions;
}
declare module "@nuxt/kit" {
interface NuxtConfig {
lodash?: NuxtLodashOptions;
}
}
declare module "@nuxt/kit" {
interface NuxtConfig {
lodash?: NuxtLodashOptions;
}
export { NuxtLodashOptions };
}
export { NuxtLodashOptions };

Sorry, the diff of this file is not supported yet

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