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

@nuxtjs/svg-sprite

Package Overview
Dependencies
Maintainers
5
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuxtjs/svg-sprite - npm Package Compare versions

Comparing version 0.5.2 to 1.0.0-beta.1

dist/module.js

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

## [1.0.0-beta.1](https://github.com/nuxt-community/svg-sprite-module/compare/v0.5.2...v1.0.0-beta.1) (2021-03-16)
### Features
* typescript refactor ([#235](https://github.com/nuxt-community/svg-sprite-module/issues/235)) ([854c2a5](https://github.com/nuxt-community/svg-sprite-module/commit/854c2a54832b72f5d35218d11be856dd4a412ea1))
### [0.5.2](https://github.com/nuxt-community/svg-sprite-module/compare/v0.5.1...v0.5.2) (2020-12-02)

@@ -7,0 +14,0 @@

85

package.json
{
"name": "@nuxtjs/svg-sprite",
"version": "0.5.2",
"version": "1.0.0-beta.1",
"description": "Optimized and Easy way to use svg files in Nuxt.js",
"main": "lib/module.js",
"repository": "nuxt-community/svg-sprite-module",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/nuxt-community/svg-sprite-module.git"
"sideEffects": false,
"main": "dist/module.js",
"types": "dist/types.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "siroc build && mkdist --src src/runtime --dist dist/runtime",
"dev": "yarn nuxt playground",
"lint": "eslint --ext .ts --ext .vue .",
"prepublishOnly": "yarn build",
"release": "yarn test && standard-version && git push --follow-tags && npm publish",
"test": "yarn lint && yarn jest"
},
"homepage": "https://github.com/nuxt-community/svg-sprite-module#readme",
"bugs": {
"url": "https://github.com/nuxt-community/svg-sprite-module/issues"
"dependencies": {
"chalk": "^4.1.0",
"chokidar": "^3.5.1",
"consola": "^2.15.3",
"fs-extra": "^9.1.0",
"hookable": "^4.4.1",
"svgo": "^1.3.2"
},
"scripts": {
"dev": "nuxt dev demo",
"lint": "eslint --ext .js,.vue .",
"test": "nuxt-edge build demo --no-lock && jest",
"release": "standard-version $* && git push --follow-tags && npm publish"
},
"files": [
"lib",
"stories"
],
"devDependencies": {
"@babel/preset-env": "^7.12.7",
"@nuxtjs/eslint-config": "^5.0.0",
"@babel/preset-env": "^7.13.10",
"@babel/preset-typescript": "latest",
"@nuxt/test-utils": "^0.2.0",
"@nuxt/types": "latest",
"@nuxt/typescript-build": "latest",
"@nuxt/typescript-runtime": "latest",
"@nuxtjs/eslint-config-typescript": "^6.0.0",
"@types/jest": "latest",
"@vue/test-utils": "latest",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.6.3",
"codecov": "^3.8.1",
"cross-env": "^7.0.3",
"eslint": "^7.14.0",
"eslint-config-standard": "^16.0.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.1.0",
"eslint-plugin-vue": "^7.1.0",
"jest": "^25.5.4",
"jest-puppeteer": "^4.4.0",
"nuxt-edge": "^3.0.0-26556502.75dd90f2",
"puppeteer": "^5.5.0",
"standard-version": "^9.0.0"
"eslint": "^7.22.0",
"jest": "latest",
"mkdist": "latest",
"nuxt-edge": "^2.16.0-26930917.f08f4efc",
"playwright": "^1.9.2",
"siroc": "latest",
"standard-version": "latest",
"ts-loader": "latest",
"typescript": "latest"
},
"dependencies": {
"chalk": "^4.1.0",
"chokidar": "^3.4.3",
"consola": "^2.15.0",
"fs-extra": "^9.0.1",
"svgo": "^1.3.2",
"vue-functional-data-merge": "^3.1.0"
"publishConfig": {
"access": "public"
}
}

@@ -26,7 +26,7 @@ # SVG Sprite Module

Add `@nuxtjs/svg-sprite` to modules section of `nuxt.config.js`:
Add `@nuxtjs/svg-sprite` to buildModules section of `nuxt.config.js`:
```js
{
modules: [
buildModules: [
'@nuxtjs/svg-sprite',

@@ -75,3 +75,3 @@ ],

export default {
modules: ['@nuxtjs/svg-sprite'],
buildModules: ['@nuxtjs/svg-sprite'],
svgSprite: {

@@ -93,4 +93,4 @@ input: '~/assets/svg/'

### Storybook
If you are fan of storybook this might be interesting for you, This module provides a story to list and search available icons of your project. You can see stories under `stories` directory.
If you are using [`@nuxtjs/storybook`](https://storybook.nuxtjs.org) you can see the SvgSprites stories under `Modules` section in your storybook. By default Svg Sprites story will shows in your storybook, you disable/hide the story using [Storybook's `modules` option](https://storybook.nuxtjs.org/options#modules)
This module provides a story to list and search available icons of your project. You can see stories under `stories` directory.
If you are using [`@nuxtjs/storybook`](https://storybook.nuxtjs.org) you can see the SvgSprites stories under `Modules` section in your storybook. Sprites will show in your Storybook, unless you disable/hide the story using [Storybook's `modules` option](https://storybook.nuxtjs.org/options#modules)

@@ -97,0 +97,0 @@ ## Development

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