-
Notifications
You must be signed in to change notification settings - Fork 800
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Protect: update threats data format and integrate threatsdataviews
- Loading branch information
1 parent
58f6f3e
commit d06cee5
Showing
71 changed files
with
656 additions
and
4,111 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Significance: minor | ||
Type: added | ||
|
||
Add threat types and scan utility functions |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export * from './types/index.js'; | ||
export * from './constants/index.js'; | ||
export * from './utils/index.js'; | ||
export * from './types'; | ||
export * from './constants'; | ||
export * from './utils'; |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
export * from './fixers.js'; | ||
export * from './threats.js'; | ||
export * from './fixers'; | ||
export * from './status'; | ||
export * from './threats'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
const path = require( 'path' ); | ||
const jetpackWebpackConfig = require( '@automattic/jetpack-webpack-config/webpack' ); | ||
|
||
module.exports = [ | ||
{ | ||
entry: { | ||
index: './src/index.ts', | ||
}, | ||
mode: jetpackWebpackConfig.mode, | ||
devtool: jetpackWebpackConfig.devtool, | ||
output: { | ||
...jetpackWebpackConfig.output, | ||
path: path.resolve( './build' ), | ||
}, | ||
optimization: { | ||
...jetpackWebpackConfig.optimization, | ||
}, | ||
resolve: { | ||
...jetpackWebpackConfig.resolve, | ||
}, | ||
node: false, | ||
plugins: [ ...jetpackWebpackConfig.StandardPlugins() ], | ||
module: { | ||
strictExportPresence: true, | ||
rules: [ | ||
// Transpile JavaScript | ||
jetpackWebpackConfig.TranspileRule( { | ||
exclude: /node_modules\//, | ||
} ), | ||
|
||
// Transpile @automattic/jetpack-* in node_modules too. | ||
jetpackWebpackConfig.TranspileRule( { | ||
includeNodeModules: [ '@automattic/jetpack-' ], | ||
} ), | ||
|
||
// Handle CSS. | ||
jetpackWebpackConfig.CssRule( { | ||
extensions: [ 'css', 'sass', 'scss' ], | ||
extraLoaders: [ 'sass-loader' ], | ||
} ), | ||
|
||
// Handle images. | ||
jetpackWebpackConfig.FileRule(), | ||
], | ||
}, | ||
externals: { | ||
...jetpackWebpackConfig.externals, | ||
jetpackConfig: JSON.stringify( { | ||
consumer_slug: 'my_jetpack', | ||
} ), | ||
}, | ||
}, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Significance: patch | ||
Type: changed | ||
Comment: Package compatibility updates, no functional changes. | ||
|
||
|
Oops, something went wrong.