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

strapi-plugin-update-static-content

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

strapi-plugin-update-static-content - npm Package Compare versions

Comparing version 2.0.3 to 2.0.5

2

admin/src/hooks/useFetch.ts

@@ -21,3 +21,3 @@ import { useFetchClient } from '@strapi/helper-plugin';

try {
const response = await get(url, { method: 'GET', signal });
const response = await get(url, { signal });
setData(response.data);

@@ -24,0 +24,0 @@ } catch (err: any) {

{
"name": "strapi-plugin-update-static-content",
"version": "2.0.3",
"version": "2.0.5",
"description": "An strapi plugin to rebuild and deploy your SSG website via Github Actions.",

@@ -13,3 +13,4 @@ "strapi": {

"build": "tsc -p tsconfig.server.json",
"develop": "tsc -p tsconfig.server.json -w"
"develop": "tsc -p tsconfig.server.json -w",
"prepare": "npm run build"
},

@@ -47,7 +48,7 @@ "homepage": "https://github.com/everythinginjs/strapi-plugin-update-static-content#update-static-content---strapi-v4",

"devDependencies": {
"@strapi/typescript-utils": "4.6.0",
"@types/react": "17.0.53",
"@types/react-dom": "18.2.22",
"@babel/eslint-parser": "7.21.3",
"@babel/preset-react": "7.18.6",
"@strapi/typescript-utils": "4.6.0",
"@types/react": "18.2.66",
"@types/react-dom": "18.2.22",
"@types/react-router-dom": "5.3.3",

@@ -71,3 +72,4 @@ "@types/styled-components": "5.1.26",

"react-router-dom": "5.2.0",
"styled-components": "5.2.1"
"styled-components": "5.2.1",
"@strapi/strapi": "4.20.5"
},

@@ -74,0 +76,0 @@ "keywords": [

@@ -0,3 +1,3 @@

import type { Strapi } from '@strapi/strapi';
import pluginName from '../admin/src/pluginId';
import type { Strapi } from '@strapi/strapi';

@@ -4,0 +4,0 @@ export default async ({ strapi }: { strapi: Strapi }) => {

{
"extends": "@strapi/typescript-utils/tsconfigs/admin",
"compilerOptions": {
"target": "ESNext",
"strict": true,
"outDir": "dist",
"rootDir": "."
"strict": true
},
"include": ["admin", "custom.d.ts"],
"exclude": [
"node_modules/",
"dist/",
// Do not include server files in the server compilation

@@ -14,0 +16,0 @@ "server/",

@@ -9,5 +9,18 @@ {

"include": ["server", "server/**/*.json"],
"include": [
// Include the root directory
"server",
// Force the JSON files in the src folder to be included
"server/**/*.json"
],
"exclude": ["node_modules/", "dist/", "admin/", "**/*.test.ts"]
"exclude": [
"node_modules/",
"dist/",
// Do not include admin files in the server compilation
"admin/",
// Do not include test files
"**/*.test.ts"
]
}

Sorry, the diff of this file is not supported yet

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