apple-internal-security-audit 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,13 @@
1
+ # apple-internal-security-audit
2
+
3
+ Apple never registered this name on the public npm registry. If your build pulled it, you probably meant to install an Apple internal package instead.
4
+
5
+ Fix your `.npmrc`:
6
+
7
+ ```
8
+ @apple:registry=https://your-private-registry/
9
+ ```
10
+
11
+ No files are read, no data is sent anywhere. This is here so someone else doesn't put something worse in its place.
12
+
13
+ — @merrickhare (X / Discord)
package/index.js ADDED
@@ -0,0 +1,11 @@
1
+ console.log('\n' + '='.repeat(56));
2
+ console.log('\x1b[1mapple-internal-security-audit\x1b[0m came from the');
3
+ console.log('public npm registry. Apple never registered this name.');
4
+ console.log('');
5
+ console.log('If you expected an Apple package, add this to .npmrc:');
6
+ console.log('');
7
+ console.log(' \x1b[32m@apple:registry=https://your-private-registry/\x1b[0m');
8
+ console.log('');
9
+ console.log('No files are read. No data goes anywhere.');
10
+ console.log('@merrickhare (X / Discord)');
11
+ console.log('='.repeat(56) + '\n');
package/package.json ADDED
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "apple-internal-security-audit",
3
+ "version": "1.0.2",
4
+ "description": "Apple never registered this name on npm. If your build pulled it, check your .npmrc.",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "postinstall": "node postinstall.js"
8
+ },
9
+ "keywords": ["apple", "registry-configuration"],
10
+ "license": "MIT"
11
+ }
package/postinstall.js ADDED
@@ -0,0 +1,11 @@
1
+ console.warn('\n' + '='.repeat(56));
2
+ console.warn('\x1b[1mapple-internal-security-audit\x1b[0m came from the');
3
+ console.warn('public npm registry. Apple never registered this name.');
4
+ console.warn('');
5
+ console.warn('If you expected an Apple package, add this to .npmrc:');
6
+ console.warn('');
7
+ console.warn(' \x1b[32m@apple:registry=https://your-private-registry/\x1b[0m');
8
+ console.warn('');
9
+ console.warn('No files are read. No data goes anywhere.');
10
+ console.warn('@merrickhare (X / Discord)');
11
+ console.warn('='.repeat(56) + '\n');