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

remix-sitemap

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remix-sitemap - npm Package Compare versions

Comparing version 1.3.1 to 1.3.2

dist/utils/__tests__/truthy.test.d.ts

19

dist/bin/moduleBuilder.js

@@ -34,2 +34,17 @@ "use strict";

const dir = path_1.default.resolve(process.cwd());
const cleanAssetsPlugin = {
name: 'clean-assets',
setup(build) {
build.onResolve({
filter: /\.(png|jpg|jpeg|gif|svg|webp|ico|woff|woff2|ttf|otf|eot|mp4|webm|wav|mp3|m4a|aac|oga|pdf)$/
}, args => ({
path: args.path,
namespace: 'clean-assets'
}));
build.onLoad({ filter: /.*/, namespace: 'clean-assets' }, () => ({
contents: '',
loader: 'js'
}));
}
};
const cleanStylesPlugin = {

@@ -42,3 +57,3 @@ name: 'clean-styles',

}));
build.onLoad({ filter: /.*/, namespace: 'clean-styles' }, args => ({
build.onLoad({ filter: /.*/, namespace: 'clean-styles' }, () => ({
contents: '',

@@ -50,3 +65,3 @@ loader: 'js'

async function createModuleBuilder() {
const plugins = [cleanStylesPlugin];
const plugins = [cleanStylesPlugin, cleanAssetsPlugin];
const tsconfig = path_1.default.resolve(dir, 'tsconfig.json');

@@ -53,0 +68,0 @@ const isTsProject = fs_1.default.existsSync(tsconfig);

10

package.json
{
"name": "remix-sitemap",
"version": "1.3.1",
"version": "1.3.2",
"private": false,

@@ -11,2 +11,5 @@ "bin": {

"build": "tsc --build",
"test": "vitest",
"test:ui": "vitest --ui",
"coverage": "vitest run --coverage",
"prepublishOnly": "npm run build",

@@ -28,3 +31,6 @@ "dev": "tsc -w"

"@types/xml": "^1.0.8",
"typescript": "^4.9.5"
"@vitest/coverage-c8": "^0.29.8",
"@vitest/ui": "^0.29.8",
"typescript": "^4.9.5",
"vitest": "^0.29.8"
},

@@ -31,0 +37,0 @@ "peerDependencies": {

@@ -12,2 +12,5 @@ <h1>Remix Sitemap</h1>

</a>
<a href="https://github.com/fedeya/remix-sitemap/actions/workflows/ci.yml">
<img alt="CI" src="https://github.com/fedeya/remix-sitemap/actions/workflows/ci.yml/badge.svg">
</a>
</p>

@@ -14,0 +17,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