Updated the files.
This commit is contained in:
parent
1553e6b971
commit
753967d4f5
23418 changed files with 3784666 additions and 0 deletions
24
my-app/node_modules/webpack/lib/runtime/NonceRuntimeModule.js
generated
vendored
Executable file
24
my-app/node_modules/webpack/lib/runtime/NonceRuntimeModule.js
generated
vendored
Executable file
|
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
MIT License http://www.opensource.org/licenses/mit-license.php
|
||||
Author Ivan Kopeykin @vankop
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
|
||||
const RuntimeGlobals = require("../RuntimeGlobals");
|
||||
const RuntimeModule = require("../RuntimeModule");
|
||||
|
||||
class NonceRuntimeModule extends RuntimeModule {
|
||||
constructor() {
|
||||
super("nonce", RuntimeModule.STAGE_ATTACH);
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns {string | null} runtime code
|
||||
*/
|
||||
generate() {
|
||||
return `${RuntimeGlobals.scriptNonce} = undefined;`;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = NonceRuntimeModule;
|
||||
Loading…
Add table
Add a link
Reference in a new issue