@constl/mandataire
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -1,64 +0,3 @@ | ||
import path, { dirname } from "path"; | ||
import { fileURLToPath } from "url"; | ||
import { createRequire } from "module"; | ||
import { config } from "@constl/utils-tests"; | ||
const require = createRequire(import.meta.url); | ||
const __dirname = dirname(fileURLToPath(import.meta.url)); | ||
// https://github.com/node-webrtc/node-webrtc/issues/636#issuecomment-774171409 | ||
process.on("beforeExit", (code) => process.exit(code)); | ||
// https://github.com/ipfs/aegir/blob/master/md/migration-to-v31.md | ||
const esbuild = { | ||
// this will inject all the named exports from 'node-globals.js' as globals | ||
inject: [path.join(__dirname, "./scripts/node-globals.js")], | ||
external: [ | ||
"fs", | ||
"path", | ||
"os", | ||
"chokidar", | ||
"url", | ||
"zlib", | ||
"rimraf", | ||
"electron", | ||
"env-paths", | ||
"@libp2p/tcp", | ||
"@libp2p/mdns", | ||
], | ||
plugins: [ | ||
{ | ||
name: "node built ins", // this will make the bundler resolve node builtins to the respective browser polyfill | ||
setup(build) { | ||
build.onResolve({ filter: /^stream$/ }, () => { | ||
return { path: require.resolve("stream-browserify") }; | ||
}); | ||
build.onResolve({ filter: /^os$/ }, () => { | ||
return { path: require.resolve("os-browserify") }; | ||
}); | ||
build.onResolve({ filter: /^crypto$/ }, () => { | ||
return { path: require.resolve("crypto-browserify") }; | ||
}); | ||
build.onResolve({ filter: /^fs/ }, () => { | ||
return { path: require.resolve("browserify-fs") }; | ||
}); | ||
}, | ||
}, | ||
], | ||
}; | ||
/** @type {import('aegir').PartialOptions} */ | ||
const options = { | ||
test: { | ||
browser: { | ||
config: { | ||
buildConfig: esbuild, | ||
}, | ||
}, | ||
}, | ||
build: { | ||
config: esbuild, | ||
}, | ||
}; | ||
export default options; | ||
export default config.générerConfigÆgir(); |
@@ -1,1 +0,1 @@ | ||
export declare const version = "1.0.1"; | ||
export declare const version = "1.0.2"; |
// Generated by genversion. | ||
export const version = "1.0.1"; | ||
export const version = "1.0.2"; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@constl/mandataire", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Un mandataire très léger pour le client Constellation.", | ||
@@ -23,19 +23,19 @@ "author": "Julien Jean Malard-Adam", | ||
"devDependencies": { | ||
"@constl/ipa": "^1.0.0", | ||
"@constl/ipa": "^1.0.12", | ||
"@constl/orbit-db-types": "^2.0.0", | ||
"@constl/utils-ipa": "^1.0.0", | ||
"@constl/utils-tests": "^1.1.2", | ||
"@constl/utils-tests": "^1.2.5", | ||
"@orbitdb/core": "^2.0.1", | ||
"@types/mocha": "^10.0.6", | ||
"@types/uuid": "^9.0.8", | ||
"@typescript-eslint/eslint-plugin": "^7.0.1", | ||
"@typescript-eslint/parser": "^7.0.1", | ||
"aegir": "^42.2.4", | ||
"@typescript-eslint/eslint-plugin": "^7.8.0", | ||
"@typescript-eslint/parser": "^7.8.0", | ||
"aegir": "^42.2.11", | ||
"browserify-fs": "^1.0.0", | ||
"buffer": "^6.0.3", | ||
"crypto-browserify": "^3.12.0", | ||
"eslint": "^8.56.0", | ||
"eslint": "^8.57.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"genversion": "^3.2.0", | ||
"mocha": "^10.3.0", | ||
"mocha": "^10.4.0", | ||
"os-browserify": "^0.3.0", | ||
@@ -46,4 +46,4 @@ "prettier": "^3.2.5", | ||
"ts-patch": "^3.1.2", | ||
"typescript": "^5.3.3", | ||
"typescript-transform-paths": "^3.4.6", | ||
"typescript": "^5.4.5", | ||
"typescript-transform-paths": "^3.4.7", | ||
"url": "^0.11.3", | ||
@@ -50,0 +50,0 @@ "wherearewe": "^2.0.1" |
// Generated by genversion. | ||
export const version = "1.0.1"; | ||
export const version = "1.0.2"; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
266776
33
3262
1
1