-
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
Remove database type handling
- Loading branch information
1 parent
449cd07
commit 4358286
Showing
66 changed files
with
635 additions
and
4,096 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
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
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
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. | ||
|
||
|
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
4 changes: 4 additions & 0 deletions
4
projects/packages/protect-models/changelog/update-protect-threats-data
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: major | ||
Type: changed | ||
|
||
Changed the formatting of threat data. |
Oops, something went wrong.