chemicaltools-web
Advanced tools
Comparing version 3.1.215 to 3.1.216
@@ -7,3 +7,3 @@ { | ||
"routes": [ | ||
{ "src": "/.*", "headers": { "Link": "<https://cdn.jsdelivr.net>; rel=preconnect" }, "continue": true }, | ||
{ "src": "/.*", "headers": { "Link": "<https://unpkg.com>; rel=preconnect" }, "continue": true }, | ||
{ "handle": "filesystem" }, | ||
@@ -10,0 +10,0 @@ { "src": "/.*", "status": 404, "dest": "404.html" } |
{ | ||
"name": "chemicaltools-web", | ||
"version": "3.1.215", | ||
"version": "3.1.216", | ||
"description": "Chemical Tools PWA version for Chemistry students.", | ||
@@ -40,4 +40,4 @@ "author": "Jinzhe Zeng", | ||
"vue": "2.6.14", | ||
"vue-i18n": "8.27.0", | ||
"vue-router": "3.5.3", | ||
"vue-i18n": "8.27.1", | ||
"vue-router": "3.5.4", | ||
"vue2-storage": "6.1.3", | ||
@@ -49,6 +49,6 @@ "vuetify": "2.6.3" | ||
"@semantic-release/git": "10.0.1", | ||
"@vue/cli-plugin-babel": "4.5.15", | ||
"@vue/cli-plugin-eslint": "4.5.15", | ||
"@vue/cli-plugin-pwa": "4.5.15", | ||
"@vue/cli-service": "4.5.15", | ||
"@vue/cli-plugin-babel": "4.5.17", | ||
"@vue/cli-plugin-eslint": "4.5.17", | ||
"@vue/cli-plugin-pwa": "4.5.17", | ||
"@vue/cli-service": "4.5.17", | ||
"@vue/eslint-config-standard": "6.1.0", | ||
@@ -65,9 +65,9 @@ "babel-eslint": "10.1.0", | ||
"ifdef-loader": "2.3.2", | ||
"sass": "1.49.0", | ||
"sass": "1.49.9", | ||
"sass-loader": "10.2.1", | ||
"semantic-release": "18.0.1", | ||
"semantic-release": "19.0.2", | ||
"stylus": "0.56.0", | ||
"stylus-loader": "6.2.0", | ||
"vue-cli-plugin-i18n": "2.3.1", | ||
"vue-cli-plugin-vuetify": "2.4.5", | ||
"vue-cli-plugin-vuetify": "2.4.8", | ||
"vue-template-compiler": "2.6.14", | ||
@@ -74,0 +74,0 @@ "vuetify-loader": "1.7.3", |
@@ -11,3 +11,3 @@ { | ||
{ | ||
"src": "https://cdn.jsdelivr.net/gh/njzjz/chemicaltools-web@gh-pages/img/icons/apple-touch-icon-76x76.png", | ||
"src": "/img/icons/apple-touch-icon-76x76.png", | ||
"sizes": "76x76", | ||
@@ -17,3 +17,3 @@ "type": "image/png" | ||
{ | ||
"src": "https://cdn.jsdelivr.net/gh/njzjz/chemicaltools-web@gh-pages/img/icons/apple-touch-icon-120x120.png", | ||
"src": "/img/icons/apple-touch-icon-120x120.png", | ||
"sizes": "120x120", | ||
@@ -23,3 +23,3 @@ "type": "image/png" | ||
{ | ||
"src": "https://cdn.jsdelivr.net/gh/njzjz/chemicaltools-web@gh-pages/img/icons/apple-touch-icon-152x152.png", | ||
"src": "/img/icons/apple-touch-icon-152x152.png", | ||
"sizes": "152x152", | ||
@@ -29,3 +29,3 @@ "type": "image/png" | ||
{ | ||
"src": "https://cdn.jsdelivr.net/gh/njzjz/chemicaltools-web@gh-pages/img/icons/apple-touch-icon-180x180.png", | ||
"src": "/img/icons/apple-touch-icon-180x180.png", | ||
"sizes": "180x180", | ||
@@ -35,3 +35,3 @@ "type": "image/png" | ||
{ | ||
"src": "https://cdn.jsdelivr.net/gh/njzjz/chemicaltools-web@gh-pages/img/icons/android-touch-icon.png", | ||
"src": "/img/icons/android-touch-icon.png", | ||
"sizes": "58x58", | ||
@@ -38,0 +38,0 @@ "type": "image/png" |
/* eslint-disable */ | ||
importScripts('https://cdn.jsdelivr.net/npm/workbox-cdn/workbox/workbox-sw.js') | ||
importScripts('https://unpkg.com/workbox-cdn/workbox/workbox-sw.js') | ||
@@ -14,2 +14,2 @@ const { NetworkFirst, StaleWhileRevalidate, CacheFirst } = workbox.strategies | ||
registerRoute(/\.(?:png|gif|jpg|jpeg|svg)$/, new CacheFirst({ cacheName: 'images', plugins: [new ExpirationPlugin({ maxEntries: 60, maxAgeSeconds: 2592000 })] }), 'GET') | ||
registerRoute(/^https:\/\/cdn\.jsdelivr\.net/, new StaleWhileRevalidate({ cacheName: 'jsdelivr', plugins: [] }), 'GET') | ||
registerRoute(/^https:\/\/unpkg\.com/, new StaleWhileRevalidate({ cacheName: 'unpkg', plugins: [] }), 'GET') |
const WebpackCdnPlugin = require('webpack-cdn-plugin') | ||
module.exports = { | ||
publicPath: process.env.CDN_COMMIT ? `//cdn.jsdelivr.net/gh/chemicaltools/chemicaltools-web@${process.env.CDN_COMMIT}/` : './', | ||
publicPath: './', | ||
pluginOptions: { | ||
@@ -39,3 +39,3 @@ cordovaPath: 'src-cordova', | ||
], | ||
prodUrl: '//cdn.jsdelivr.net/npm/:name@:version/:path' | ||
prodUrl: '//unpkg.com/:name@:version/:path' | ||
// publicPath: './node_modules' | ||
@@ -42,0 +42,0 @@ })] |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
242979
2108
10
+ Addedvue-i18n@8.27.1(transitive)
+ Addedvue-router@3.5.4(transitive)
- Removedvue-i18n@8.27.0(transitive)
- Removedvue-router@3.5.3(transitive)
Updatedvue-i18n@8.27.1
Updatedvue-router@3.5.4